Opencl Driver issues (Davinci Resolve, NVidia)

(Sorry if I didn’t choose the right tag, I’m new to the forums)

Basically, I don’t think opencl is installed (even though I have nvidia drivers installed, according to the app store) because Davinci Resolve 18 beta is giving me an “Unsupported GPU Proccessing Mode” error.

Under the GPU configuration menu, it should say something relating to opencl, but the boxes are empty Imgur: The magic of the Internet

Last thing, when I run “clinfo”, it says that the number of platforms is zero.

I am using a gtx 1080, and I just transitioned from endeavouros to fedora

Hello @croldfish ,
Welcome to :fedora: discussion.
I don’t currently have a setup using NVidia cards so I am not as up to date, but I know OOTB that Fedora Linux will prefer the open source versions and some rendering or other intensive graphics related tasks may require the use of the proprietary drivers. Check out this post at ask.fp.o https://ask.fedoraproject.org/t/installing-nvidia-drivers-on-fedora-34/14071, it is for F34 but relates to your ask I think.

I’m adding the repositores rn and I am getting multiple problems with dnf

Last metadata expiration check: 0:06:15 ago on Tue 05 Jul 2022 12:50:53 PM EDT.
Dependencies resolved.

 Problem 1: package xorg-x11-drv-nvidia-power-3:515.57-1.fc36.x86_64 requires xorg-x11-drv-nvidia(x86-64) = 3:515.57, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-power-3:510.68.02-2.fc36.x86_64
  - package xorg-x11-drv-nvidia-3:515.57-1.fc36.x86_64 is filtered out by modular filtering
 Problem 2: package akmod-nvidia-3:515.57-1.fc36.x86_64 requires nvidia-kmod-common >= 3:515.57, but none of the providers can be installed
  - cannot install the best update candidate for package akmod-nvidia-3:510.68.02-2.fc36.x86_64
  - package xorg-x11-drv-nvidia-3:515.57-1.fc36.x86_64 is filtered out by modular filtering
 Problem 3: package kmod-nvidia-3:515.57-1.fc36.x86_64 requires akmod-nvidia = 3:515.57-1.fc36, but none of the providers can be installed
  - package akmod-nvidia-3:515.57-1.fc36.x86_64 requires nvidia-kmod-common >= 3:515.57, but none of the providers can be installed
  - cannot install the best update candidate for package kmod-nvidia-3:510.68.02-2.fc36.x86_64
  - package xorg-x11-drv-nvidia-3:515.57-1.fc36.x86_64 is filtered out by modular filtering
 Problem 4: package xorg-x11-drv-nvidia-power-3:510.68.02-2.fc36.x86_64 requires xorg-x11-drv-nvidia(x86-64) = 3:510.68.02, but none of the providers can be installed
  - problem with installed package xorg-x11-drv-nvidia-power-3:510.68.02-2.fc36.x86_64
  - package nvidia-driver-3:515.43.04-1.fc35.x86_64 conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:510.68.02-2.fc36.x86_64
  - package nvidia-driver-3:515.43.04-1.fc35.x86_64 obsoletes xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:510.68.02-2.fc36.x86_64
  - package xorg-x11-drv-nvidia-power-3:515.57-1.fc36.x86_64 requires xorg-x11-drv-nvidia(x86-64) = 3:515.57, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-3:510.68.02-2.fc36.x86_64
  - package xorg-x11-drv-nvidia-3:510.68.02-1.fc36.x86_64 is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-3:515.57-1.fc36.x86_64 is filtered out by modular filtering
=====================================================================================================================================================================================================================
 Package                                                 Architecture                         Version                                            Repository                                                     Size
=====================================================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 nvidia-driver                                           x86_64                               3:515.43.04-1.fc35                                 cuda-fedora35-11-7-local                                       22 M
Skipping packages with broken dependencies:
 akmod-nvidia                                            x86_64                               3:515.57-1.fc36                                    rpmfusion-nonfree-updates                                      27 k
 kmod-nvidia                                             x86_64                               3:515.57-1.fc36                                    rpmfusion-nonfree-nvidia-driver                                11 k
 xorg-x11-drv-nvidia-power                               x86_64                               3:515.57-1.fc36                                    rpmfusion-nonfree-updates                                     195 k

Transaction Summary
=====================================================================================================================================================================================================================
Skip  4 Packages

Nothing to do.
Complete!

and thank you very much for giving me the right article for installing the drivers

This really should be in the ask fedora forum at https://ask.fedoraproject.org

You have several conflicting repos and packages there that cause the errors.

  1. do dnf repolist to get the exact repo names.
  2. disable the cuda-fedora35… repo and the rpmfusion-nonfree-nvidia-driver repo with dnf config-manager --disable cuda-Fedora35-11-7-local rpmfusion-nonfree-nvidia-driver which will leave the repo installed but inactive.
    The rpmfusion-nonfree repo contains all the needed packages for both nvidia and cuda.
  3. Install the nvidia drivers from the only remaining repo (no conflicts) with dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda

You may need to use sudo with each of those commands.
When done simply reboot and the nvidia drivers should be installed.
Verify that they are loaded with `lsmod | grep -iE ‘nvidia|nouveau’. If that lists the nvidia modules then done. If it lists nouveau then it needs more work and please open a topic at ask fedora as noted above to continue. You can link to this one for users to see what has already been done.

1 Like