r/linuxquestions • u/futilityofman • 2h ago
Dedicated GPU Functionality for Davinci
I'm trying to move over to Linux but I work a bit in Davinci Resolve and I continue to read how Linux struggles with Nvidia GPUs. Has anyone locked in a solid workaround to get maximum performance from their GPU on Davinci or similar programs?
2
Upvotes
2
u/No_Base4946 2h ago
Yes, you just use Linux and an NVidia card. It works perfectly well.
2
u/Empty-Effective-7111 1h ago
Nvidia ya prácticamente tiene resuelto sus problemas con linux y funciona perfectamente
2
u/beatbox9 1h ago
Linux has never struggled with Nvidia GPU's for Davinci Resolve. I'm not sure where you read that...
In fact, the opposite has been true: AMD has struggled with Davinci Resolve.
I think you may be confusing two completely different driver sets. Desktop & games primarily use the GPU for things like vector graphics rendering and leverage drivers and APIs such as Vulkan / OpenGL. AMD has done well in Linux here for a while, since it uses open drivers that are included with the Linux kernel.
However, Davinci Resolve and similar applications primarily use the GPU for compute operations using drivers/APIs such as OpenCL. And AMD had been terrible here for years, though it's been improving recently. AMD's OpenCL driver is called rocm; while nvidia's is CUDA--and nvidia's drivers are far better and easier on Linux.
For example, see here:
https://www.danieltufvesson.com/makeresolvedeb
Or here:
https://arslaan.studio/setting-up-a-linux-media-studio-workstation-audio-video-graphics-davinci-resolve-etc/
and
or this thread (and related) from the rocm github:
https://github.com/ROCm/legacy-rocm-build/issues/1345
It's only been very recently that the situation has improved to some degree for AMD. For example, Ubuntu began supporting AMD rocm only earlier this year; and the supported GPUs is very limited.
If you want Davinci Resolve on Linux, nvidia will be your best bet.