Thanks for that first link - I saw a 3 year old article specifically about darktable but didn’t get around to searching the site for more recent articles.
Whatever card I get has to work well today. I don’t mind staying on Ubuntu 18, using old drivers etc as long as darktable is fast and stable. Perhaps i’m over worrying about it but I know how flaky these things can be and I lack the optimism that I’ll report problems to amd/nvidia/msi/darktable devs and people will stop what they’re doing and fix them, so I can’t imagine buying a card which is not currently working well.
This is on a 2Gb GeForce GTX 770. The issue I had was that if I opened darktable and started editing, stopped for 20 seconds or so, then started again, the driver reported an error and darktable fell back to cpu. I still get errors occasionally on the older (340xx-series) driver but much less frequently - perhaps every day or two, and then it usually takes two or three restarts of darktable before the error stops.
Edit: Full disclosure - I don’t use my NVidia card for graphics, just for OpenCL. I use my onboard intel card for graphics because I just had too many issues with the NVidia one. However, the fact that it works fine on an older driver suggests that my issues probably aren’t related to this.
the proprietary drivers als also in the repo, just not the newest.
you can have the newest driver from nvidia directly but you might not be able to install it and it might not work well, the (prprietary) drivers form the repo are recommended.
yesterday I installed a .run from Nvidia, installation was a bit complicated because I had to kill X and opencl was terribly slow with that driver
edit: If you are buildig a completely new PC with new components, you might not even be able to boot Ubuntu 18 on it.
Dell T3500 + Quadro FX 1800 that can’t do OpenCL + Xeon W3550 + 24GB ram. And performance wise it’s ok-ish, but that’s OLD system. and best bet for OpenCL I have currently is nvidia card in likes of 1060 or 1070.
And no - i’m not happy with performance but its “acceptable” only counting the fact that exporting large (~400 images) collections takes like half a day
With OpenCL future I’m not sure, but I honestly think full-amd is the way to go.
Well maybe even in this year we will see Intel DG1 (discreet graphics) and we may have third player here. At least intel graphic driver is fully in kernel. Not sure if OpenCL will be better than it is now.
Going back to AMD, I’m running on 5.x kernel line and ROCm’s OpenCL does not work. I’ve installed Pro driver and get back OpenCL back (I have Radeon RX 470).
If you want an NVidia RTX-series card, you need to seriously consider not running an LTS release. On my new laptop, NVidia power management was completely and totally broken/useless even with the backports drivers until upgrading to 19.10.
18.04 with backports - 40-50W at idle
19.10 - 10-15W or less
It seems like for darktable, nvidia is your best bet. Given the number of crash reports I’ve been seeing for months from people running AMD GPUs, AMD’s opencl drivers on Linux seem to be highly unstable - to the point where I’m surprised that darktable hasn’t blacklisted them yet.
NVidia’s drivers seem to be both stable AND have a fairly stable ABI (meaning that running cached kernels rarely causes problems).
Intel NEO is fairly stable (IF you run their official releases which provide documentation on which platforms did and did not pass the Khronos certification tests, in general only Atom users are at risk of having something listed as “not passing”, because most of the other platforms that are listed as not passing are almost always not available to the general public yet.) However there is a known issue of the ABI changing frequently enough that if you cache compiled kernels and don’t invalidate after a driver upgrade, Bad Things can happen. Unfortunately some distros report the driver version as 1.0.0 regardless of what it actually is.
Yeah ROCm won’t work with RX 470 (as it won’t with 980 and my cpu due to PCIe 3.0 not being present/not having PCIe atomics), more details here: https://rocm.github.io/hardware.html
Can confirm, my gen8 i7 laptop is pulling opencl on neo (and has integrated radeon card that can go opengl but can’t opencl)
If yoy have lspci v3.5.3 or above you can check if you have PCIe 3.0 atomics via:
dmesg | grep kfd which will tell you if your platform rejects atomics or not
sudo lspci -vvv will tell you if atomics capabilities exists in your hw
lspci -tv will tell you how your connections are routed in case atomics capabilities exist but your mobo may not direct atomics to cpu because those are optional and not mandatory for PCIe 3.0
Ultimatelly a full PCIe 3.0 route has to be present between your GPU and CPU.
Thanks to everyone who helped here. It looks like a gtx-1660 is the one to go for. Amazon do the “Gigabyte GeForce GTX 1660 SUPER GAMING OC 6G” variety which has newer ram at a faster speed than some of the earlier 1660’s. Current spec is here: https://uk.pcpartpicker.com/list/7HLXYH.
Hah; I just picked up the very similar MSI GeForce GTX 1660 SUPER GAMING X, and on initial test it works perfectly with Darktable and opencl (on Fedora 31).
I like Opensuse Tumbleweed KDE (plasma), but so far only Arch (aur opencl-amd) and Ununtu (Rocm / amdgpu-pro) that have Opencl (AMD), I will do the test with the Rocm Repository , thanks for the tip