Hi, french guy new to Linux here.
I installed the proprietary Nvidia driver with secure boot on my laptop. It doesn’t seem properly installed.
Symptoms :
- When in game (Steam, latest proton ge) : fps are around 30-60 (never higher) on Wayland, and 70 max on xorg.
- Also I’ve artifacting on xorg and now Steam doesn’t open, opening it close the session.
- When I deactivate integrated GPU via BIOS, the games run perfectly fine on Wayland (+165fps) , but not the gnome desktop (~40fps).
My layman analysis : it seems there is some bad management of the graphic processes between the intel GPU and NVIDIA GPU.
I’ve found some threads of guys who have the same desktop as me, but the proposed solutions did not resolve my FPS and artifact problem. I may have installed some unnecessary packages.
Thanks to anyone taking the time to help me !
Here are some terminal outputs if that helps :
sudo dmesg | grep -i nvidia\\\|nvrm
[sudo] Mot de passe de albert :
[ 0.000000] Command line: BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.12.8-200.fc41.x86_64 root=UUID=d9966e16-822b-4a02-9f9f-57ccc94be27b ro rootflags=subvol=root rhgb quiet nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 0.045490] Kernel command line: BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.12.8-200.fc41.x86_64 root=UUID=d9966e16-822b-4a02-9f9f-57ccc94be27b ro rootflags=subvol=root rhgb quiet nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[ 2.411220] nvidia: loading out-of-tree module taints kernel.
[ 2.411225] nvidia: module license 'NVIDIA' taints kernel.
[ 2.411228] nvidia: module license taints kernel.
[ 2.545201] nvidia-nvlink: Nvlink Core is being initialized, major device number 511
[ 2.546156] nvidia 0000:01:00.0: enabling device (0000 -> 0003)
[ 2.546242] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[ 2.590970] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 565.77 Wed Nov 27 23:33:08 UTC 2024
[ 2.634686] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 2.700145] nvidia-uvm: Loaded the UVM driver, major device number 509.
[ 2.728826] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 565.77 Wed Nov 27 22:53:48 UTC 2024
[ 2.732406] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 4.937315] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[ 4.950706] nvidia-modeset: WARNING: GPU:0: Unable to read EDID for display device DP-4
[ 4.997986] [drm] Initialized nvidia-drm 0.0.0 for 0000:01:00.0 on minor 0
[ 5.084766] nvidia 0000:01:00.0: [drm] fb1: nvidia-drmdrmfb frame buffer device
[ 6.136051] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input22
[ 6.136106] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input23
[ 6.136166] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input24
[ 6.136206] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input25
Nvidia smi with no game running :
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 3070 ... Off | 00000000:01:00.0 On | N/A |
| N/A 42C P8 10W / 115W | 62MiB / 8192MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 11300 G /usr/bin/gnome-shell 43MiB |
+-----------------------------------------------------------------------------------------+
nvidia-smi with portal 2 running at 30 fps (wayland, xwayland ?) :
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 3070 ... Off | 00000000:01:00.0 On | N/A |
| N/A 58C P0 56W / 115W | 2080MiB / 8192MiB | 100% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 11300 G /usr/bin/gnome-shell 43MiB |
| 0 N/A N/A 51512 G ...local/share/Steam/ubuntu12_32/steam 3MiB |
| 0 N/A N/A 51821 G ./steamwebhelper 95MiB |
| 0 N/A N/A 51848 G ....local/share/Steam/logs/cef_log.txt 553MiB |
| 0 N/A N/A 53152 C+G ...eamapps\common\Portal 2\portal2.exe 1312MiB |
+-----------------------------------------------------------------------------------------+
Also, with Wayland :
glxinfo | egrep "OpenGL vendor|OpenGL renderer"
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Iris(R) Xe Graphics (ADL GT2)
cat /proc/cmdline
BOOT_IMAGE=(hd0,gpt5)/vmlinuz-6.12.8-200.fc41.x86_64 root=UUID=d9966e16-822b-4a02-9f9f-57ccc94be27b ro rootflags=subvol=root rhgb quiet nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
dnf list installed *nvidia*
Mise à jour et chargement des dépôts :
Dépôts chargés.
Paquets installés
akmod-nvidia.x86_64 3:565.77-1.fc41 rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.12.7-200.fc41.x86_64.x86_64 3:565.77-1.fc41 @commandline
kmod-nvidia-6.12.8-200.fc41.x86_64.x86_64 3:565.77-1.fc41 @commandline
nvidia-gpu-firmware.noarch 20241210-1.fc41 <unknown>
nvidia-modprobe.x86_64 3:565.77-1.fc41 <unknown>
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
xorg-x11-drv-nvidia-xorg-libs.x86_64 3:565.77-3.fc41 rpmfusion-nonfree-updates
And the result of journalctl -b | grep -i nvidia after launching the game