Problem with nvidia drivers and cuda

Hi,

I have a computer with Fedora 35 and I have enabled the repositories

RPM Fusion for Fedora 35 - Free                  
RPM Fusion for Fedora 35 - Free - Updates        
RPM Fusion for Fedora 35 - Nonfree                  
RPM Fusion for Fedora 35 - Nonfree - Updates
cuda-fedora35-x86_64

and the packages

dnf install akmod-nvidia
dnf install cuda

But now, when I try to update the system, I get the following errors:

~# dnf update
Last metadata expiration check: 0:03:47 ago on Wed 18 May 2022 08:30:30 PM CEST.
Dependencies resolved.

 Problem: package cuda-11-7-11.7.0-1.x86_64 requires cuda-runtime-11-7 >= 11.7.0, but none of the providers can be installed
  - package cuda-11.7.0-1.x86_64 requires cuda-11-7 >= 11.7.0, but none of the providers can be installed
  - package cuda-runtime-11-7-11.7.0-1.x86_64 requires cuda-drivers >= 515.43.04, but none of the providers can be installed
  - cannot install the best update candidate for package cuda-11.6.2-1.x86_64
  - package cuda-drivers-515.43.04-1.x86_64 is filtered out by modular filtering
================================================================================
 Package               Arch       Version        Repository                Size
================================================================================
Skipping packages with broken dependencies:
 cuda-11-7             x86_64     11.7.0-1       cuda-fedora35-x86_64     2.8 k
 cuda                  x86_64     11.7.0-1       cuda-fedora35-x86_64     2.7 k
 cuda-runtime-11-7     x86_64     11.7.0-1       cuda-fedora35-x86_64     2.7 k

Transaction Summary
================================================================================
Skip  3 Packages

Nothing to do.
Complete!
~#

Does anybody know how I can solve this issue?

Thank you very much,
Rafel Amer

1 Like

Go to NVIDIA DEVELOPER site, register with an account, go to CUDA 11 on Linux x64, Fedora 35, setup repository and enjoy. The site is fascinating with many things to explore and toolkit for this and that …

Hi @rafelamer , welcome to the community!

Please take a minute to go through the introductory posts in the #start-here category if you’ve not had the chance to do so yet.

What modules do you have enabled?

There’s this page on RPM Fusion about how to use CUDA with the RPM Fusion drivers:

https://rpmfusion.org/Howto/CUDA

Is this what you followed? (It has notes on disabling certain modules and so on)

1 Like

Latest and greatest is Grace Hopper https://developer.nvidia.com/blog/nvidia-hopper-architecture-in-depth/

Hi FranciscoD,

yes, I have followed it and I ran the commands

~# dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/fedora35/x86_64/cuda-fedora35.repo
~# dnf disable cuda-drivers
~# dnf install cuda

Best regards,
Rafel Amer