Unable to initialize GPU (Davinci Resolve)

this has some more light on the situation issue seems to be more on OpenCL and OpenGL

0x7bd570400680 | Main.GPUConfig       | INFO  | 2024-07-27 12:12:47,199 | Unsupported OpenCL GPUs:
0x7bd570400680 | Main.GPUConfig       | INFO  | 2024-07-27 12:12:47,201 |   - "Intel UHD Graphics" (gpu:ce6c4a0a.7b092bf5): Discrete GPU in use
0x7bd570400680 | GPU.MultiBoardMgr    | INFO  | 2024-07-27 12:12:47,201 | Let There Be OpenCL Light!
0x7bd570400680 | GPU.MultiBoardMgr    | ERROR | 2024-07-27 12:12:47,201 | Failed to initialize OpenGL interop, OpenGL context is running on integrated GPU when there are other GPUs available.
0x7bd570400680 | GPU.MultiBoardMgr    | ERROR | 2024-07-27 12:12:47,201 | Fatal error: "Unable to Initialize GPU", "Please ensure that the system power profile is set to use the discrete GPU for DaVinci Resolve and that the displays are not connected to the integrated GPU."
Urgent message: CRITICAL_PREF: Unable to Initialize GPU||Please ensure that the system power profile is set to use the discrete GPU for DaVinci Resolve and that the displays are not connected to the integrated GPU.
0x7bd570400680 | IP                   | ERROR | 2024-07-27 12:12:47,201 | Failed to initialize multi board manager
LS data handler thread starts: 70400680

nvidia module does not match for other installed packages
local/linux-cachyos-nvidia 6.10.1-3 nvidia module of 555.58.02 driver for the linux-cachyos kernel
also lib32 packages are not matching for openCL-Nvidia package that might be the root cause

No, the lib32 packages are matching. The pkgrel has nothing to do with the used libaries.

Ill look into this issue, when I have time.

2 Likes

After recent updates my Davinci Resolve is working, I really didn’t did anything else other than just updating my system. So, please check if your Davinci problem resolved or not. Anyway thanks for the replies.

Oh but it had another issue that is was missing the title-bar with maximize minimize and close button for that I created a .kwinrule file according to this page. And it worked.

1 Like

Thank you I will test that and see how it works tho I have workaround as distrobox… I just run it on Rocky Linux 8 container works like a charm

1 Like

Hey man, I am having same issue as you. I just installed cachyos.

Guys,
I have used Davinci Resolve Studio on CachyOS for almost a year with Nvidia 3060 Ti
This is the installation guide that I used:

paru -S libxcrypt-compat
paru -S davinci-resolve-studio
paru -S cuda

And

reboot

No other special packages are needed.

It seems like there is a problem, together with laptop hybrids

1 Like

Yeah, I could not get it to open at all, I had to uninstall cachy. It’s a shame it was blazing fast. Installing took a loooong time tho?

Hybrids have the issue where davinci doesn’t see dGPU because most of the GPU is offloading so there might be solution to run davinci using forced dGPU.

I had this issue on multiple OS and sometimes it works sometimes it doesn’t. Distrobox has been quite good after you actually got it working there it has multiple steps to get it running and still has issue where it says dGPU memory full and only way to resolve this is delete that box and get new one.

Most issues are coming since davinci focus only main users and those are Windows users and then Linux supported OS are both basically EOL

Best results I have got on davinci using Debian/Ubuntu or distrobox, but I just gave up since it is so random does it work or not

Edit: also compute or cuda is required too sometimes

Yeah, there is a some problem in most distro. And setting up through distrobox is a chore, I was able to do it through davincibox script but after some time gpu out of memory error appeared. I am using Pop os for now. It has option in it to run using graphics card, it’s working now, consistently. There is a bit of flicker in fusion page. But it’s been quite good for me. I use studio version and mostly work with braw and r3d files, so it’s pretty much flawless for me on pop. Can’t wait for full cosmic release.

Best option prob be the unofficial flatpak by bobthebuilder, but that means you need to build it each time updates comes etc, but I have read some promising results for that

Checked this and installed davinci no issues install side only it won’t allow to run davinci since no GPU even I run it using dGPU so issue is more on hybrid setups and somewhere that I haven’t yet figured out

DaVinci Resolve 19 has been released can’t wait to get updated and see how it goes and if it fixes the hybrid GPU issues

@ptr1337 got full logs for DaVinci if you are instered to look those let me know

it has to be soething small since DaVinci sees i have igpu and dpu and dgpu is even selected still just not usin and gives the error

1 Like

Hi,

Davinci is sadly a closed source software, its hard to debug there.
Lets wait until Davinci Resolve 19 hits the AUR, and then we gonna recheck.

1 Like

just updated to 19 it has missing depency/smlink issues

/opt/resolve/bin/resolve /opt/resolve/bin/resolve: symbol lookup error: /usr/lib/libgdk_pixbuf-2.0.so.0: undefined symbol: g_task_set_static_name might be more usually these were resolved on fedora/openSUSE to use thise

cd /opt/resolve/libs
sudo mkdir disabled-libraries
sudo mv libglib* disabled-libraries
sudo mv libgio* disabled-libraries
sudo mv libgmodule* disabled-libraries

for this way never got depency issues since it is using system ones

Yeah, the AUR maintained seems to have to break it once again.

1 Like

I am still waiting for the working version in AUR too.
There is some problem during compilation.

seems something to do with powerd or OpenCL i cant choose cuda option even installed

❯ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (TGL GT1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.1-arch1.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.1-arch1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.1-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

~
❯ glxinfo | grep OpenGL
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) UHD Graphics (TGL GT1)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.1-arch1.2
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.1-arch1.2
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.1-arch1.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
OpenGL ES profile extensions:

~
❯ clinfo | grep OpenCL
  Platform Name                                   Intel(R) OpenCL Graphics
  Platform Version                                OpenCL 3.0
  Platform Name                                   Intel(R) OpenCL
  Platform Version                                OpenCL 3.0 LINUX
  Platform Version                                OpenCL 3.0 CUDA 12.6.65
  Platform Name                                   Intel(R) OpenCL Graphics
  Device Version                                  OpenCL 3.0 NEO
  Device OpenCL C Version                         OpenCL C 1.2
  Device OpenCL C all versions                    OpenCL C                                                         0x400000 (1.0.0)
                                                  OpenCL C                                                         0x401000 (1.1.0)
                                                  OpenCL C                                                         0x402000 (1.2.0)
                                                  OpenCL C                                                         0xc00000 (3.0.0)
  Device OpenCL C features                        __opencl_c_int64                                                 0xc00000 (3.0.0)
    Run OpenCL kernels                            Yes
  Platform Name                                   Intel(R) OpenCL
  Device Version                                  OpenCL 3.0 (Build 0)
  Device OpenCL C Version                         OpenCL C 3.0
  Device OpenCL C all versions                    OpenCL C                                                         0xc00000 (3.0.0)
                                                  OpenCL C                                                         0x800000 (2.0.0)
                                                  OpenCL C                                                         0x402000 (1.2.0)
                                                  OpenCL C                                                         0x401000 (1.1.0)
                                                  OpenCL C                                                         0x400000 (1.0.0)
  Device OpenCL C features                        __opencl_c_3d_image_writes                                       0xc00000 (3.0.0)
    Run OpenCL kernels                            Yes
  Device Version                                  OpenCL 3.0 CUDA
  Device OpenCL C Version                         OpenCL C 1.2
  Device OpenCL C all versions                    OpenCL C                                                         0x400000 (1.0.0)
                                                  OpenCL C                                                         0x401000 (1.1.0)
                                                  OpenCL C                                                         0x402000 (1.2.0)
                                                  OpenCL C                                                         0xc00000 (3.0.0)
  Device OpenCL C features                        __opencl_c_fp64                                                  0xc00000 (3.0.0)
    Run OpenCL kernels                            Yes
    Platform Name                                 Intel(R) OpenCL Graphics
    Platform Name                                 Intel(R) OpenCL Graphics
    Platform Name                                 Intel(R) OpenCL Graphics

~

If you use prime, does it show then the nv driver?

Havent tested i checked hiw fedora does it and on DaVinci resolve there is no intel at a