bngstng
(Nathan Vidal)
February 27, 2025, 6:05pm
1
Hello guys, I have a laptop with dual GPU, so integrated and discreet nvidia one. Just yesterday, I didn’t have any issues at all, I didn’t do anything that could break anything either. But I have just opened my laptop and my dGPU isn’t recognised anymore. I checked and the drivers are correctly installed. Could anyone please tell me what I could do? this is the output of nvidia-smi
:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Nvtop doesn’t see the GPU either. All the nvidia applications like nvidia-settings work, they open but don’t see my GPU. Any help will be much appreciated.
###Edit:
I tried some things out, and this issue is in the kernel version 6.13.
I switched back to 6.12.15 and now it works like before. Should I report this isssue, wait for the next update and just stay in 6.12 for now?
Also, when I boot in the 6.13 kernel, the boot messages show me some errors about nvidia, and fallbacks or something. And my GPU makes a lot of noise during boot of this newest kernel.
Anyways, how do I know when I should switch back to the newest kernel? And where should I report this issue so that the developpers are informed of this?
Try sudo dnf upgrade \*nvidia\* --refresh
and see if it pulls in the 570 nvidia drivers. Some repos may have been slow to get those updated in the mirrors and it seems the 6.13 kernel requires the nvidia 570.86 drivers that are now available from rpmfusion.
bngstng
(Nathan Vidal)
February 27, 2025, 8:45pm
3
Hello, I got this error:
[nathanv@bongstong ~]$ sudo dnf upgrade \*nvidia\* --refresh
Updating and loading repositories:
Fedora 41 - x86_64 - Updates 100% | 75.8 KiB/s | 22.7 KiB | 00m00s
google-chrome 100% | 19.8 KiB/s | 1.3 KiB | 00m00s
Fedora 41 - x86_64 100% | 253.1 KiB/s | 26.8 KiB | 00m00s
RPM Fusion for Fedora 41 - Free 100% | 72.8 KiB/s | 8.9 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - NVIDIA Driver 100% | 82.0 KiB/s | 9.3 KiB | 00m00s
Fedora 41 openh264 (From Cisco) - x86_64 100% | 11.8 KiB/s | 989.0 B | 00m00s
RPM Fusion for Fedora 41 - Free - Updates 100% | 77.7 KiB/s | 8.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Steam 100% | 82.3 KiB/s | 8.7 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree 100% | 83.6 KiB/s | 9.5 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 78.9 KiB/s | 9.1 KiB | 00m00s
Copr repo for PyCharm owned by phracek 100% | 10.9 KiB/s | 2.1 KiB | 00m00s
google-chrome 100% | 24.6 KiB/s | 3.2 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - NVIDIA Driver 100% | 77.8 KiB/s | 18.4 KiB | 00m00s
RPM Fusion for Fedora 41 - Free - Updates 100% | 196.8 KiB/s | 50.2 KiB | 00m00s
RPM Fusion for Fedora 41 - Nonfree - Updates 100% | 130.3 KiB/s | 33.7 KiB | 00m00s
Repositories loaded.
Problem 1: cannot install both xorg-x11-drv-nvidia-cuda-3:570.86.16-5.fc41.x86_64 from rpmfusion-nonfree-nvidia-driver and xorg-x11-drv-nvidia-cuda-3:565.77-3.fc41.x86_64 from @System
- installed package cuda-runtime-12-6-12.6.3-1.x86_64 requires nvidia-open-560 >= 560.35.05, but none of the providers can be installed
- cannot install the best update candidate for package xorg-x11-drv-nvidia-cuda-3:565.77-3.fc41.x86_64
- problem with installed package
Problem 2: installed package xorg-x11-drv-nvidia-cuda-3:565.77-3.fc41.x86_64 requires nvidia-modprobe(x86-64) = 3:565.77, but none of the providers can be installed
- installed package cuda-runtime-12-6-12.6.3-1.x86_64 requires nvidia-open-560 >= 560.35.05, but none of the providers can be installed
- cannot install both nvidia-modprobe-3:570.86.16-1.fc41.x86_64 from rpmfusion-nonfree-nvidia-driver and nvidia-modprobe-3:565.77-1.fc41.x86_64 from @System
- installed package cuda-12-6-12.6.3-1.x86_64 requires cuda-runtime-12-6 >= 12.6.3, but none of the providers can be installed
- cannot install the best update candidate for package nvidia-modprobe-3:565.77-1.fc41.x86_64
- problem with installed package
Problem 3: installed package cuda-runtime-12-6-12.6.3-1.x86_64 requires nvidia-open-560 >= 560.35.05, but none of the providers can be installed
- installed package xorg-x11-drv-nvidia-cuda-3:565.77-3.fc41.x86_64 requires nvidia-persistenced(x86-64) = 3:565.77, but none of the providers can be installed
- installed package cuda-12-6-12.6.3-1.x86_64 requires cuda-runtime-12-6 >= 12.6.3, but none of the providers can be installed
- cannot install both nvidia-persistenced-3:570.86.16-1.fc41.x86_64 from rpmfusion-nonfree-nvidia-driver and nvidia-persistenced-3:565.77-1.fc41.x86_64 from @System
- installed package cuda-12.6.3-1.x86_64 requires cuda-12-6 >= 12.6.3, but none of the providers can be installed
- cannot install the best update candidate for package nvidia-persistenced-3:565.77-1.fc41.x86_64
- problem with installed package
Package Arch Version Repository Size
Skipping packages with conflicts:
nvidia-modprobe x86_64 3:570.86.16-1.fc41 rpmfusion-nonfree-nvid 51.0 KiB
nvidia-persistenced x86_64 3:570.86.16-1.fc41 rpmfusion-nonfree-nvid 58.5 KiB
xorg-x11-drv-nvidia-cuda x86_64 3:570.86.16-5.fc41 rpmfusion-nonfree-nvid 6.2 MiB
Nothing to do.```
What is the output of dnf list --installed \*nvidia\* \*cuda\*
and dnf repolist
It appears you may have packages installed from some location other than fedora or rpmfusion since neither cuda nor cuda-runtime are included in those repos.
Conflicts abound when mixing incompatible repos.
If you cannot install from the rpmfusion repo then you may be SOL with nvidia while using the 6.13.4 kernel. It appears to only be supported with the 570 driver.
bngstng
(Nathan Vidal)
February 28, 2025, 12:20am
5
I am 90% positive that I installed nvidia drivers using RPM documentation. Here are the outputs that you asked me:
[nathanv@bongstong ~]$ dnf list --installed \*nvidia\* \*cuda\*
Installed packages
akmod-nvidia.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-nvidia-driver
cuda.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-cccl-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-command-line-tools-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-compiler-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-crt-12-4.x86_64 12.4.131-1 cuda-fedora39-x86_64
cuda-crt-12-6.x86_64 12.6.85-1 cuda-fedora39-x86_64
cuda-cudart-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-cudart-devel-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-cuobjdump-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-cupti-12-6.x86_64 12.6.80-1 cuda-fedora39-x86_64
cuda-cuxxfilt-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-demo-suite-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-documentation-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-driver-devel-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-gdb-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-libraries-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-libraries-devel-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-nsight-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-nsight-compute-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-nsight-systems-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-nvcc-12-4.x86_64 12.4.131-1 @commandline
cuda-nvcc-12-6.x86_64 12.6.85-1 cuda-fedora39-x86_64
cuda-nvdisasm-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-nvml-devel-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-nvprof-12-6.x86_64 12.6.80-1 cuda-fedora39-x86_64
cuda-nvprune-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-nvrtc-12-6.x86_64 12.6.85-1 cuda-fedora39-x86_64
cuda-nvrtc-devel-12-6.x86_64 12.6.85-1 cuda-fedora39-x86_64
cuda-nvtx-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-nvvm-12-4.x86_64 12.4.131-1 cuda-fedora39-x86_64
cuda-nvvm-12-6.x86_64 12.6.85-1 cuda-fedora39-x86_64
cuda-nvvp-12-6.x86_64 12.6.80-1 cuda-fedora39-x86_64
cuda-opencl-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-opencl-devel-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-profiler-api-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-repo-fedora39-12-6-local.x86_64 12.6.3_560.35.05-1 <unknown>
cuda-runtime-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-sanitizer-12-6.x86_64 12.6.77-1 cuda-fedora39-x86_64
cuda-toolkit.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-toolkit-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-toolkit-12-6-config-common.noarch 12.6.77-1 cuda-fedora39-x86_64
cuda-toolkit-12-config-common.noarch 12.6.77-1 cuda-fedora39-x86_64
cuda-toolkit-config-common.noarch 12.6.77-1 cuda-fedora39-x86_64
cuda-tools-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
cuda-visual-tools-12-6.x86_64 12.6.3-1 cuda-fedora39-x86_64
kmod-nvidia-6.12.13-200.fc41.x86_64.x86_64 3:565.77-1.fc41 @commandline
kmod-nvidia-6.12.15-200.fc41.x86_64.x86_64 3:565.77-1.fc41 @commandline
nvidia-gpu-firmware.noarch 20241210-1.fc41 updates
nvidia-libXNVCtrl.x86_64 3:560.35.05-1.fc39 <unknown>
nvidia-modprobe.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-nvidia-driver
nvidia-persistenced.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-nvidia-driver
and
[nathanv@bongstong ~]$ dnf repolist
repo id repo name
copr:copr.fedorainfracloud.org:phracek:PyCharm Copr repo for PyCharm owned by phracek
fedora Fedora 41 - x86_64
fedora-cisco-openh264 Fedora 41 openh264 (From Cisco) - x86_64
google-chrome google-chrome
rpmfusion-free RPM Fusion for Fedora 41 - Free
rpmfusion-free-updates RPM Fusion for Fedora 41 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 41 - Nonfree
rpmfusion-nonfree-nvidia-driver RPM Fusion for Fedora 41 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam RPM Fusion for Fedora 41 - Nonfree - Steam
rpmfusion-nonfree-updates RPM Fusion for Fedora 41 - Nonfree - Updates
updates Fedora 41 - x86_64 - Update
Everything in that list that begins with cuda
seems to have come from the cuda-fedora39-x86_64 repo. That repo is presently not enabled on your system and is known to cause conflicts with software from rpmfusion.
Unless you have a specific reason that you need all those cuda packages I would remove them with sudo dnf remove cuda-*
so all the conflicting packages are removed.
The nvidia drivers cannot be updated until the conflicts are removed.
Once the cuda packages are out of the picture then try the sudo dnf upgrade --refresh
again and it should complete successfully.
The newer 6.13 kernel seems to require that the nvidia driver be version 570
bngstng
(Nathan Vidal)
February 28, 2025, 9:39am
7
Thanks, now it works. Now I remember, the cuda repos were here because I once attempted to install nvcc. Thanks for your help.
1 Like