r/linuxquestions • • 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

5 comments sorted by

2

u/No_Base4946 2h ago

Yes, you just use Linux and an NVidia card. It works perfectly well.

1

u/retrigrim 2h ago

yeah ive also seen that amd runs better than nvidia but I have yet to experience any abnormal issues related to my gpu

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

The current Debian driver situation for AMD/Radeon is unpolished to put it mildly and it's not packaged properly for Debian. Installation method for AMD/Radeon will be left as an exercise to the reader. You will need the amdgpu-pro driver with OpenCL support.

Or here:

https://arslaan.studio/setting-up-a-linux-media-studio-workstation-audio-video-graphics-davinci-resolve-etc/

In my experience, nvidia's drivers for creative work are typically the best--much better than AMD's.

and

For me, AMD has been a confusing and inconsistent nightmare that would frequently break on updates--for years; but newer cards might be better supported.

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.