Hi. I’ve upgraded Fedora from 39 to 40 on my Lenovo Legion laptop and I’m experiencing odd issues with the Nvidia driver from Howto/NVIDIA - RPM Fusion (installed with CUDA).
Despite the installed driver, I suspect the Nvidia GPU isn’t used at all, because in Nvidia settings utilization is always at 0%, nvidia-msi output doesn’t look right (N/A & no processes), and glxinfo reports integrated GPU is used instead.
There’s also an issue with the screen brightness, the setting is ignored, and the display brightness is set to maximum. Sometimes the brightness goes back to normal, but for a short period. While the laptop is charging this issue is no longer present.
Reinstalling the driver doesn’t help, and some solutions didn’t help either.
Here are some outputs for the context:
➜ ~ glxinfo | grep "OpenGL renderer"
OpenGL renderer string: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.6, DRM 3.57, 6.9.6-200.fc40.x86_64)
➜ ~ nvidia-smi
Fri Jun 28 18:30:19 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.90.07 Driver Version: 550.90.07 CUDA Version: 12.4 |
|-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA GeForce RTX 3060 ... Off | 00000000:01:00.0 Off | N/A |
| N/A 40C P0 752W / 60W | 9MiB / 6144MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 2837 G /usr/libexec/Xorg 4MiB |
+-----------------------------------------------------------------------------------------+
➜ ~ mokutil --sb-state
SecureBoot disabled
➜ ~ sudo dnf repolist
repo id repo name
code Visual Studio Code
docker-ce-stable Docker CE Stable - x86_64
fedora Fedora 40 - x86_64
fedora-cisco-openh264 Fedora 40 openh264 (From Cisco) - x86_64
google-chrome google-chrome
pgdg-common PostgreSQL common RPMs for Fedora 40 - x86_64
pgdg12 PostgreSQL 12 for Fedora 40 - x86_64
pgdg13 PostgreSQL 13 for Fedora 40 - x86_64
pgdg14 PostgreSQL 14 for Fedora 40 - x86_64
pgdg15 PostgreSQL 15 for Fedora 40 - x86_64
pgdg16 PostgreSQL 16 for Fedora 40 - x86_64
rpmfusion-free RPM Fusion for Fedora 40 - Free
rpmfusion-free-updates RPM Fusion for Fedora 40 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 40 - Nonfree
rpmfusion-nonfree-updates RPM Fusion for Fedora 40 - Nonfree - Updates
updates Fedora 40 - x86_64 - Updates
➜ ~ sudo dnf list installed | grep nvidia
akmod-nvidia.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
kmod-nvidia-6.9.6-200.fc40.x86_64.x86_64 3:550.90.07-1.fc40 @@commandline
nvidia-modprobe.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
nvidia-persistenced.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
nvidia-settings.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-power.x86_64 3:550.90.07-1.fc40 @rpmfusion-nonfree-updates
➜ ~ /sbin/lspci | grep -e VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4)
➜ ~ /sbin/lspci | grep -e 3D
# Nothing
➜ ~ modinfo -F version nvidia
550.90.07
I would appreciate any help in addressing this issue.