Hello guys, I'm having a problem with DaVinci Resolve on Linux, and this is definitely an BUG with DaVinci.
What does the BUG consist of?
Basically, when I open DaVinci Resolve, it says it's unable to initialize the GPU, and then it lets me go ahead and configure the GPUs. DaVinci can detect my RTX 4070, but it can't detect CUDA or OPENCL on it, and it appears blank.
When does this BUG occur?
The error only occurs when we use the iGPU from the processor as the main device, that is to say, for rendering the graphics of the computer desktop, so the processor handles the graphics, and the monitor is connected directly to the displayport of the motherboard (when it's connected directly to the NVIDIA GPU, and it takes care of all the management, then this error doesn't occur).
Why do I think it's not a CUDA error?
Other applications like Stable Diffusion, Comfy, LMStudio, among others that use artificial intelligence, are all able to work with my RTX 4070 GPU without any problem. Games can also be run perfectly.
You might be wondering why I'm using the iGPU instead of my NVIDIA graphics card as primary, right?
The answer is because NVIDIA gives me a lot of trouble with Linux, and I'm using KDE Plasma 5 on Wayland in Manjaro.
In what versions of DaVinci does the problem manifest?
I've tried the following versions and had the same error in all of them. I also have to mention that I asked this question in a Linux Telegram group and several users seem to be reporting the same failure.
DaVinci Resolve 18
DaVinci Resolve Studio 18
DaVinci Resolve 19 Beta
DaVinci Resolve Studio 19 Beta
my specs
██████████████████ ████████
██████████████████ ████████ -------------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Kernel: 6.6.26-1-MANJARO
████████ ████████ Uptime: 2 hours, 18 mins
████████ ████████ ████████ Packages: 2016 (pacman)
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 1920x1200
████████ ████████ ████████ DE: Plasma 5.27.11
████████ ████████ ████████ WM: kwin
████████ ████████ ████████ Theme: [Plasma], Breeze [GTK2/3]
████████ ████████ ████████ Icons: [Plasma], breeze-dark [GTK2/3]
████████ ████████ ████████ Terminal: tilix
████████ ████████ ████████ CPU: Intel i5-14500 (20) @ 5.000GHz
GPU: Intel AlderLake-S GT1
GPU: NVIDIA GeForce RTX 4070
Memory: 15399MiB / 47476MiB
NVIDIA-SMI 550.67 Driver Version: 550.67 CUDA Version: 12.4
I've tried use commands like this and other
CUDA_VISIBLE_DEVICES=0 /opt/resolve/bin/resolve
But nothing works :/
What does the BUG consist of?
Basically, when I open DaVinci Resolve, it says it's unable to initialize the GPU, and then it lets me go ahead and configure the GPUs. DaVinci can detect my RTX 4070, but it can't detect CUDA or OPENCL on it, and it appears blank.
When does this BUG occur?
The error only occurs when we use the iGPU from the processor as the main device, that is to say, for rendering the graphics of the computer desktop, so the processor handles the graphics, and the monitor is connected directly to the displayport of the motherboard (when it's connected directly to the NVIDIA GPU, and it takes care of all the management, then this error doesn't occur).
Why do I think it's not a CUDA error?
Other applications like Stable Diffusion, Comfy, LMStudio, among others that use artificial intelligence, are all able to work with my RTX 4070 GPU without any problem. Games can also be run perfectly.
You might be wondering why I'm using the iGPU instead of my NVIDIA graphics card as primary, right?
The answer is because NVIDIA gives me a lot of trouble with Linux, and I'm using KDE Plasma 5 on Wayland in Manjaro.
In what versions of DaVinci does the problem manifest?
I've tried the following versions and had the same error in all of them. I also have to mention that I asked this question in a Linux Telegram group and several users seem to be reporting the same failure.
DaVinci Resolve 18
DaVinci Resolve Studio 18
DaVinci Resolve 19 Beta
DaVinci Resolve Studio 19 Beta
my specs
██████████████████ ████████
██████████████████ ████████ -------------------------
██████████████████ ████████ OS: Manjaro Linux x86_64
██████████████████ ████████ Kernel: 6.6.26-1-MANJARO
████████ ████████ Uptime: 2 hours, 18 mins
████████ ████████ ████████ Packages: 2016 (pacman)
████████ ████████ ████████ Shell: zsh 5.9
████████ ████████ ████████ Resolution: 1920x1200
████████ ████████ ████████ DE: Plasma 5.27.11
████████ ████████ ████████ WM: kwin
████████ ████████ ████████ Theme: [Plasma], Breeze [GTK2/3]
████████ ████████ ████████ Icons: [Plasma], breeze-dark [GTK2/3]
████████ ████████ ████████ Terminal: tilix
████████ ████████ ████████ CPU: Intel i5-14500 (20) @ 5.000GHz
GPU: Intel AlderLake-S GT1
GPU: NVIDIA GeForce RTX 4070
Memory: 15399MiB / 47476MiB
NVIDIA-SMI 550.67 Driver Version: 550.67 CUDA Version: 12.4
I've tried use commands like this and other
CUDA_VISIBLE_DEVICES=0 /opt/resolve/bin/resolve
But nothing works :/