I spotted this on Facebook. I am not a Linux user. I want my editing kit to work 24/7 so I use a Mac. I have no desire to hear my Captain cry “we’ve run afloat” as I trod up on the shores of what I’m sharing here.
I have not tried this; don’t blame me if your graphics card starts belching smoke.
“ On the French Photolab group DxO PhotoLab Utilisateurs FR, the user Eric Meygret posted a script to install PL 9 under Wine and Ubuntu. See linked. It is working pretty well, including the GPU access (Nvidia tested) and all the AI related functions. From my experience:
I have to set the BIOS of my laptop to deactivate my discreet video configuration or PL will only see my Intel GPU.
There is still an error message at start-up about the ICC profile. It is probably possible to fix it by compiling a version of Wine with liblcms (littleCMS) . On my laptop when enabling OpenCL PhotoLab switch to the Intel GPU disabling my Nividia GPU.
I changed three things in the script.
Adding
***
𝘧𝘰𝘳 𝘥𝘭𝘭 𝘪𝘯 𝘤𝘰𝘯𝘤𝘳𝘵140 𝘮𝘴𝘷𝘤𝘱140 𝘮𝘴𝘷𝘤𝘱140_1 𝘮𝘴𝘷𝘤𝘱140_2 𝘷𝘤𝘢𝘮𝘱140 𝘷𝘤𝘤𝘰𝘳𝘭𝘪𝘣140 𝘷𝘤𝘰𝘮𝘱140 𝘷𝘤𝘳𝘶𝘯𝘵𝘪𝘮𝘦140 𝘷𝘤𝘳𝘶𝘯𝘵𝘪𝘮𝘦140_1; 𝘥𝘰
𝘸𝘳𝘦𝘨 ‘𝘏𝘒𝘊𝘜\𝘚𝘰𝘧𝘵𝘸𝘢𝘳𝘦\𝘞𝘪𝘯𝘦\𝘋𝘭𝘭𝘖𝘷𝘦𝘳𝘳𝘪𝘥𝘦𝘴’ /𝘷 “$𝘥𝘭𝘭” /𝘵 𝘙𝘌𝘎_𝘚𝘡 /𝘥 𝘯𝘢𝘵𝘪𝘷𝘦,𝘣𝘶𝘪𝘭𝘵𝘪𝘯
𝘥𝘰𝘯𝘦
***
in local.dll just before
[[ -f “$PREFIX/drive_c/windows/system32/msvcp140.dll” ]] || die "Visual C++ 2022 non installé"
This to inform Wine to use the installed msvcp140.dll and not its own, that do not implement some necessary calls.
Adding
***
𝘭𝘯 -𝘴𝘧𝘯 “$𝘏𝘖𝘔𝘌” "$𝘗𝘙𝘌𝘍𝘐𝘟/𝘥𝘰𝘴𝘥𝘦𝘷𝘪𝘤𝘦𝘴/𝘻:"
***
in the step 𝘴𝘵𝘦𝘱_𝘱𝘳𝘦𝘧𝘪𝘹() just before 𝘸𝘸𝘢𝘪𝘵.
This fix the issue of PL forgetting the Last edit path when restarting.
And
***
𝘰𝘶𝘵 = 𝘦𝘯𝘴𝘶𝘳𝘦(𝘰𝘶𝘵, “𝘋𝘹𝘖.𝘗𝘩𝘰𝘵𝘰𝘓𝘢𝘣.S̶e̶t̶t̶i̶n̶g̶s̶.𝘗𝘳𝘰𝘱𝘦𝘳𝘵𝘪𝘦𝘴.𝘚𝘦𝘵𝘵𝘪𝘯𝘨𝘴”, “𝘗𝘳𝘦𝘧𝘴𝘓𝘢𝘯𝘨𝘶𝘢𝘨𝘦”, 𝘭𝘢𝘯𝘨, 𝘰𝘷𝘦𝘳𝘳𝘪𝘥𝘦=𝘍𝘢𝘭𝘴𝘦)"
***
par
***
𝘰𝘶𝘵 = 𝘦𝘯𝘴𝘶𝘳𝘦(𝘰𝘶𝘵, “𝘋𝘹𝘖.𝘗𝘩𝘰𝘵𝘰𝘓𝘢𝘣.𝘗𝘳𝘰𝘱𝘦𝘳𝘵𝘪𝘦𝘴.𝘚𝘦𝘵𝘵𝘪𝘯𝘨𝘴”, “𝘗𝘳𝘦𝘧𝘴𝘓𝘢𝘯𝘨𝘶𝘢𝘨𝘦”, 𝘭𝘢𝘯𝘨, 𝘰𝘷𝘦𝘳𝘳𝘪𝘥𝘦=𝘍𝘢𝘭𝘴𝘦)"
***
This to fix language setting.
On my system it takes about 21 seconds to start and display a photo. For some reason it twice faster than on my Windows 11, same machine. Exporting with DeepPrime is normal with ARW but very slow with ORF.
At your own risk. You need a valid licence but no need of a full Windows dedicated VM. Note that the script was written for a French installation, you may have to change “Téléchargement” to “Downloads” in the script.
And of course, Photolab is not supposed to work under Linux so, DON’T COMPLAIN TO DxO, or to Eric or to me, if something is not working properly.
Thanks to Eric Meygret”