Nvidia drivers appear to be installed but they aren't being used

So I’m trying to switch from Windows, but the only thing that wasn’t working well was the games. I had my Nvidia drivers working fine but I spent ages fiddling and installing fro other sources and made a real mess. I’ve since done my best to remove everything Nvidia related just to start again but now I’m in a situation where the drivers appear to be working but they aren’t being used.

GDM doesn’t offer up Wayland when it did before. I ran Skyrim and it auto-detected my hardware and set it to Ultra, then ran like a slideshow even on the menu.

I’ve been through my logs and I can’t see anything that looks like it would be causing the problem and I’m not sure what to Google next. There’s an error about the module not being loaded but it gives me nothing more and dmesg didn’t show anything in it, at least from what I can see. I have secure boot disabled so the taint messages are just noise. I’d appreciate if anyone cleverer than me could take a quick glance. Thanks.

Here’s my lsmod:

me@me-linux:~$ lsmod | grep -i nvidia
nvidia_drm            126976  1
nvidia_modeset       1605632  1 nvidia_drm
nvidia_uvm           6651904  0
nvidia              60370944  2 nvidia_uvm,nvidia_modeset
i2c_nvidia_gpu         12288  0
video                  77824  1 nvidia_modeset

Here’s journalctl:

me@me-linux:~$ sudo journalctl -b | grep -i nvidia
Apr 18 10:40:04 me-linux kernel: nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
Apr 18 10:40:04 me-linux kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input22
Apr 18 10:40:04 me-linux kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input23
Apr 18 10:40:04 me-linux kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input24
Apr 18 10:40:04 me-linux kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input25
Apr 18 10:40:05 me-linux kernel: nvidia: loading out-of-tree module taints kernel.
Apr 18 10:40:05 me-linux kernel: nvidia: module license 'NVIDIA' taints kernel.
Apr 18 10:40:05 me-linux kernel: nvidia: module verification failed: signature and/or required key missing - tainting kernel
Apr 18 10:40:05 me-linux kernel: nvidia: module license taints kernel.
Apr 18 10:40:05 me-linux kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Apr 18 10:40:05 me-linux kernel: nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
Apr 18 10:40:05 me-linux systemd[1]: Started nvidia-powerd.service - nvidia-powerd service.
Apr 18 10:40:05 me-linux audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 18 10:40:05 me-linux /usr/bin/nvidia-powerd[1221]: nvidia-powerd version:1.0(build 1)
Apr 18 10:40:05 me-linux kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  550.67  Tue Mar 12 23:54:15 UTC 2024
Apr 18 10:40:05 me-linux kernel: nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
Apr 18 10:40:05 me-linux kernel: nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
Apr 18 10:40:05 me-linux kernel: nvidia-uvm: Loaded the UVM driver, major device number 511.
Apr 18 10:40:05 me-linux kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  550.67  Tue Mar 12 23:29:25 UTC 2024
Apr 18 10:40:05 me-linux kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Apr 18 10:40:06 me-linux /usr/bin/nvidia-powerd[1221]: Found unsupported configuration. Exiting...
Apr 18 10:40:06 me-linux systemd[1]: nvidia-powerd.service: Deactivated successfully.
Apr 18 10:40:06 me-linux audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=nvidia-powerd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Apr 18 10:40:06 me-linux kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
Apr 18 10:40:06 me-linux kernel: nvidia 0000:01:00.0: vgaarb: deactivate vga console
Apr 18 10:40:06 me-linux kernel: fbcon: nvidia-drmdrmfb (fb0) is primary device
Apr 18 10:40:06 me-linux kernel: nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
Apr 18 10:40:06 me-linux systemd[1]: nvidia-fallback.service - Fallback to nouveau as nvidia did not load was skipped because of an unmet condition check (ConditionPathExists=!/sys/module/nvidia).
Apr 18 10:40:10 me-linux gnome-shell[1682]: Added device '/dev/dri/card1' (nvidia-drm) using atomic mode setting.
Apr 18 10:40:10 me-linux /usr/libexec/gdm-x-session[1732]: (II) Applying OutputClass "nvidia" to /dev/dri/card1
Apr 18 10:40:10 me-linux /usr/libexec/gdm-x-session[1732]:         loading driver: nvidia
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (==) Matched nvidia as autoconfigured driver 0
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (II) LoadModule: "nvidia"
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (II) Module nvidia: vendor="NVIDIA Corporation"
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (II) NVIDIA dlloader X Driver  550.67  Tue Mar 12 23:32:46 UTC 2024
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (II) NVIDIA X compatibility module for ABI 24.0 built from xorg-server-1.19.99.902
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (II) NOUVEAU driver for NVIDIA chipset families :
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (EE) NVIDIA:     system's kernel log for additional error messages and
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (EE) NVIDIA:     consult the NVIDIA README for details.
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (EE) NVIDIA:     system's kernel log for additional error messages and
Apr 18 10:40:11 me-linux /usr/libexec/gdm-x-session[1732]: (EE) NVIDIA:     consult the NVIDIA README for details.
Apr 18 10:40:12 me-linux /usr/libexec/gdm-x-session[1732]: (II) Applying OutputClass "nvidia" options to /dev/dri/card1
Apr 18 10:40:12 me-linux /usr/libexec/gdm-x-session[1732]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event4)
Apr 18 10:40:12 me-linux /usr/libexec/gdm-x-session[1732]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event5)
Apr 18 10:40:12 me-linux /usr/libexec/gdm-x-session[1732]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event11)
Apr 18 10:40:12 me-linux /usr/libexec/gdm-x-session[1732]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event12)
Apr 18 10:40:42 me-linux /usr/libexec/gdm-x-session[2479]: (II) Applying OutputClass "nvidia" to /dev/dri/card1
Apr 18 10:40:42 me-linux /usr/libexec/gdm-x-session[2479]:         loading driver: nvidia
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (==) Matched nvidia as autoconfigured driver 0
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) LoadModule: "nvidia"
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) Module nvidia: vendor="NVIDIA Corporation"
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) NVIDIA dlloader X Driver  550.67  Tue Mar 12 23:32:46 UTC 2024
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) NVIDIA X compatibility module for ABI 24.0 built from xorg-server-1.19.99.902
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) NOUVEAU driver for NVIDIA chipset families :
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (EE) NVIDIA:     system's kernel log for additional error messages and
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (EE) NVIDIA:     consult the NVIDIA README for details.
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (EE) NVIDIA:     system's kernel log for additional error messages and
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (EE) NVIDIA:     consult the NVIDIA README for details.
Apr 18 10:40:43 me-linux /usr/libexec/gdm-x-session[2479]: (II) Applying OutputClass "nvidia" options to /dev/dri/card1
Apr 18 10:40:44 me-linux /usr/libexec/gdm-x-session[2479]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event4)
Apr 18 10:40:44 me-linux /usr/libexec/gdm-x-session[2479]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event5)
Apr 18 10:40:44 me-linux /usr/libexec/gdm-x-session[2479]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event11)
Apr 18 10:40:44 me-linux /usr/libexec/gdm-x-session[2479]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event12)
Apr 18 10:40:45 me-linux systemd[2399]: Started app-gnome-nvidia\x2dsettings\x2duser-3087.scope - Application launched by gnome-session-binary.
Apr 18 10:40:45 me-linux nvidia-settings-user.desktop[3087]: ERROR: The current user does not have permission for operation
Apr 18 10:42:48 me-linux io.github.arunsivaramanneo.GPUViewer.desktop[6714]: Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory

Here’s dmesg:

me@me-linux:~$ sudo dmesg | grep -i nvidia
[    5.617093] nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
[    5.783962] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input22
[    5.784034] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input23
[    5.784108] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input24
[    5.784164] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0/input25
[    6.308462] nvidia: loading out-of-tree module taints kernel.
[    6.308468] nvidia: module license 'NVIDIA' taints kernel.
[    6.308471] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[    6.308472] nvidia: module license taints kernel.
[    6.591059] nvidia-nvlink: Nvlink Core is being initialized, major device number 235
[    6.591958] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[    6.638358] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  550.67  Tue Mar 12 23:54:15 UTC 2024
[    6.685919] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[    6.736800] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
[    6.763123] nvidia-uvm: Loaded the UVM driver, major device number 511.
[    6.799989] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  550.67  Tue Mar 12 23:29:25 UTC 2024
[    6.808090] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[    7.588933] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[    7.613512] nvidia 0000:01:00.0: vgaarb: deactivate vga console
[    7.707834] fbcon: nvidia-drmdrmfb (fb0) is primary device
[    7.707838] nvidia 0000:01:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device

1 Like

Removed audio, server

The lsmod output does show the drivers are installed and are in use.
What tells you they are not used?

This line says the 550.67 driver is loaded.

Everything else from both journalctl and dmesg are showing loading of the modules with no errors that I see.

You apparently trimmed earlier messages from both journalctl and dmesg that show the kernel command lines related to nvidia. It should have looked something like this.

[    0.000000] Command line: BOOT_IMAGE=(hd5,gpt2)/vmlinuz-6.8.5-201.fc39.x86_64 root=/dev/mapper/fedora_root-root ro amd_iommu=on iommu=pt rd.lvm.lv=fedora_root/root kvm.ignore_msrs=1 nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau
[    0.000000] Kernel command line: BOOT_IMAGE=(hd5,gpt2)/vmlinuz-6.8.5-201.fc39.x86_64 root=/dev/mapper/fedora_root-root ro amd_iommu=on iommu=pt rd.lvm.lv=fedora_root/root kvm.ignore_msrs=1 nvidia-drm.modeset=1 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau

If that is not displayed then the option nvidia-drm.modeset=1 may be missing from the kernel command line and may have negative impact on the nvidia drivers.
If you choose you can add that by editing /etc/default/grub and add that into the line that begins with GRUB_CMDLINE_LINUX=, following which the command sudo grub2-mkconfig -o /boot/grub2/grub.cfg should add it into the kernel command line for the next and subsequent boots.

Thanks for the reply. My original logs got chopped down by a mod, I just figured that it was done for brevity. I tried adding that nvidia-drm line but it hasn’t made any difference.

What’s telling me the drivers aren’t being used, first of all, is the performance of the desktop. I have a 4k monitor and it’s slow and choppy where it was smooth before. Secondly I can’t choose Wayland in GDM when the drivers are installed, but if I uninstall them Wayland is an option again. I also have an app call GPU-Viewer which I assume is telling me that I’m using software rendering. The only device I have is “llvmpipe (LLVM 15.0.7, 256 bits)” and under “Vulkan Details…” it says my device type is PHYSICAL_DEVICE_TYPE_CPU, driver ID is DRIVER_ID_MESA_LLVMPIPE, etc. Nothing about Nvidia. Lastly was the performance when I tested Skyrim; it auto-detected Ultra High settings but then gave me about 1 FPS in the menu.

Does the following bit from journalctl not indicate that there’s a problem with the kernel module?

Apr 18 22:50:54 me-linux /usr/libexec/gdm-x-session[3487]: Kernel command line: BOOT_IMAGE=(hd1,gpt2)/vmlinuz-6.8.5-201.fc39.x86_64 root=UUID=c04f826c-f91b-457f-9258-7500a02b9600 ro rootflags=subvol=root rd.driver.blacklist=nouveau modprobe.blacklist=nouveau rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1
Apr 18 22:50:54 me-linux /usr/libexec/gdm-x-session[3487]: (II) Applying OutputClass “nvidia” to /dev/dri/card0
Apr 18 22:50:54 me-linux /usr/libexec/gdm-x-session[3487]: loading driver: nvidia
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (==) Matched nvidia as autoconfigured driver 0
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) LoadModule: “nvidia”
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) Module nvidia: vendor=“NVIDIA Corporation”
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) NVIDIA dlloader X Driver 550.67 Tue Mar 12 23:32:46 UTC 2024
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) NVIDIA X compatibility module for ABI 24.0 built from xorg-server-1.19.99.902
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) NOUVEAU driver for NVIDIA chipset families :
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (EE) NVIDIA: system’s kernel log for additional error messages and
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (EE) NVIDIA: consult the NVIDIA README for details.
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (EE) NVIDIA: system’s kernel log for additional error messages and
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (EE) NVIDIA: consult the NVIDIA README for details.
Apr 18 22:50:55 me-linux /usr/libexec/gdm-x-session[3487]: (II) Applying OutputClass “nvidia” options to /dev/dri/card0

That snippet from journalctl is a little ambiguous. Based on the earlier lsmod output it would appear the drivers are loaded.

Lets try another way. (and please post the text as preformatted text like this.)
```
paste your text here
```
When you do this it retains exactly the same formatting as you see on-screen.

First post the output of inxi -Fzxx and dnf list installed \*nvidia\*. We will use that as a starting point.

Have a look at the uBlue NVIDIA setup

That is made for atomic images (and I recommend to use them) and can be applied to traditional Fedora too

Thanks Jeff, here’s what I’ve got.

inxi:

System:
  Kernel: 6.8.5-201.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39
  Console: pty pts/1 wm: gnome-shell DM: GDM Distro: Fedora Linux 39
    (Workstation Edition)
Machine:
  Type: Desktop System: Micro-Star product: MS-7E27 v: 1.0 serial: N/A
  Mobo: Micro-Star model: PRO B650M-P (MS-7E27) v: 1.0 serial: <filter>
    UEFI: American Megatrends LLC. v: 1.20 date: 08/10/2023
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master
    serial: <filter> charge: 55% (should be ignored) status: discharging
CPU:
  Info: 6-core model: AMD Ryzen 5 7600 bits: 64 type: MT MCP arch: Zen 4
    rev: 2 cache: L1: 384 KiB L2: 6 MiB L3: 32 MiB
  Speed (MHz): avg: 1195 high: 3788 min/max: 400/5170 cores: 1: 400 2: 400
    3: 3788 4: 400 5: 400 6: 400 7: 3508 8: 400 9: 3449 10: 400 11: 400 12: 400
    bogomips: 91204
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU106 [GeForce RTX 2060 SUPER] driver: nvidia v: 550.67
    arch: Turing pcie: speed: 2.5 GT/s lanes: 16 ports: active: none off: DP-1
    empty: DP-2,DP-3,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:1f06
  Display: server: X.Org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: gnome-shell driver: X: loaded: modesetting,nouveau
    unloaded: fbdev,vesa failed: nvidia alternate: nv dri: swrast
    gpu: nvidia,nvidia-nvswitch display-ID: :1 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-dpi: 96
  Monitor-1: DP-1 note: disabled model: Asus PB287Q res: 3840x2160 dpi: 157
    diag: 708mm (27.9")
  API: OpenGL v: 4.5 vendor: mesa v: 23.3.6 glx-v: 1.4 es-v: 3.2
    direct-render: yes renderer: llvmpipe (LLVM 17.0.6 256 bits)
    device-ID: ffffffff:ffffffff
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: NVIDIA TU106 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:10f9
  Device-2: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16
    bus-ID: 10:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.8.5-201.fc39.x86_64 status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.0.4 status: n/a (root, process) with:
    1: pipewire-pulse status: active 2: wireplumber status: active
    3: pipewire-alsa type: plugin
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169
    v: kernel pcie: speed: 5 GT/s lanes: 1 port: e000 bus-ID: 0c:00.0
    chip-ID: 10ec:8125
  IF: enp12s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 2.27 TiB used: 608.5 GiB (26.1%)
  ID-1: /dev/nvme0n1 vendor: Corsair model: MP600 CORE XT size: 1.82 TiB
    speed: 63.2 Gb/s lanes: 4 serial: <filter> temp: 39.9 C
  ID-2: /dev/sda vendor: Samsung model: SSD 850 EVO 500GB size: 465.76 GiB
    speed: 6.0 Gb/s serial: <filter> temp: 28 C
Partition:
  ID-1: / size: 931.32 GiB used: 608.19 GiB (65.3%) fs: btrfs
    dev: /dev/nvme0n1p3
  ID-2: /boot size: 973.4 MiB used: 295.8 MiB (30.4%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-3: /boot/efi size: 598.8 MiB used: 19 MiB (3.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-4: /home size: 931.32 GiB used: 608.19 GiB (65.3%) fs: btrfs
    dev: /dev/nvme0n1p3
Swap:
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 49.8 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 32 GiB available: 31.09 GiB used: 3.82 GiB (12.3%)
  Processes: 359 Power: uptime: 20h 48m wakeups: 0 Init: systemd v: 254
    target: graphical (5) default: graphical
  Packages: pm: flatpak pkgs: 43 Compilers: gcc: 13.2.1 Shell: Sudo
    v: 1.9.15p5 running-in: gnome-terminal inxi: 3.3.33

dnf list:

Installed Packages
akmod-nvidia.x86_64                                                                                                                                                                                                                        3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.8.5-201.fc39.x86_64.x86_64                                                                                                                                                                                                   3:550.67-1.fc39                                                                                                                                                                                                    @@commandline                   
nvidia-modprobe.x86_64                                                                                                                                                                                                                     3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                                                                                                                                                                                                                     3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64                                                                                                                                                                                                                 3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                                                                                                                                                                       3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                                                                                                                                                                         3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686                                                                                                                                                                                                              3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64                                                                                                                                                                                                            3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64                                                                                                                                                                                                           3:550.67-1.fc39                                                                                                                                                                                                    @rpmfusion-nonfree-nvidia-driver

Thanks boredsquirrel. I’ll take a look at that and consider it but right now I feel like I’ve caused this problem myself and running something like that I might just dig myself in even deeper.

You seem to be missing one very important package there.
Please run sudo dnf install nvidia-gpu-firmware or sudo dnf reinstall linux-firmware to reinstall the firmware for the nvidia GPU so it can be properly managed and works as intended.

Reboot after that package has been installed and things should work better.

1 Like

Thanks. I’ve done the nvidia-gpu-firmware one but it doesn’t seem to have made a difference. The firmware didn’t come from the RPM Fusion repo, it came from the Fedora updates one.

Correct, it is part of the standard fedora OS and is installed by default. At some point something you did caused it to be removed

Please now repeat the dnf list installed \*nvidia\* and the lsmod | grep nvidia commands and show us the result.

Also show and describe what you are using to determine it is not being used.
The previous inxi output shows you only have one GPU, that the nvidia driver is used, and that you have one 4k monitor attached to DP-1 on that GPU.

Could you try the nvidia 550.76 (instead of 550.67) driver of rpmfusion?

More details here

dnf list:

akmod-nvidia.x86_64                      3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
kmod-nvidia-6.8.5-201.fc39.x86_64.x86_64 3:550.67-1.fc39 @@commandline          
kmod-nvidia-6.8.6-200.fc39.x86_64.x86_64 3:550.67-1.fc39 @@commandline          
nvidia-gpu-firmware.noarch               20240410-1.fc39 @updates               
nvidia-modprobe.x86_64                   3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
nvidia-settings.x86_64                   3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia.x86_64               3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64     3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64       3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686            3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64          3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64         3:550.67-1.fc39 @rpmfusion-nonfree-nvidia-driver

lsmod:

nvidia_drm            126976  1
nvidia_modeset       1605632  1 nvidia_drm
nvidia_uvm           6651904  0
nvidia              60370944  2 nvidia_uvm,nvidia_modeset
i2c_nvidia_gpu         12288  0
video                  77824  1 nvidia_modeset

Thanks again for the help.

I will take a look thanks.

According to that the drivers are properly installed and are being loaded and functional.

The 550.76 driver is not yet available from rpmfusion so I would strongly suggest that you not venture down that rabbit hole. Many who install the driver directly from nvidia seem to have issues on fedora (immediately or later). The packages from rpmfusion are tweaked and tested to work properly on fedora.

1 Like

Okay, I’ll hold off for the time being, but I don’t know where to look next to fix this. I’m starting to think about just wiping the system now.

The title says the drivers are not being used, but the output of lsmod clearly shows they are used.

What exactly is the issue?
It seems not to be driver related but rather either an app or a difference between expectations and actual conditions. If we had a clear description of what you are trying and what you are expecting vs what you see we may be able to identify a solution.

Well first of all I don’t get Wayland as an option, only X11, in GDM. However, if I uninstall the drivers then I get the option to use Wayland again.

Secondly I have a 4k monitor and the desktop performance in Gnome isn’t what it was when the card was working as expected. It’s dropping frames and just not as smooth on the animations. I also have an application called GPU-Viewer and when I look at the graphics card in use it shows the device type as “PHYSICAL_DEVICE_TYPE_CPU”.

Lastly, I try to run Skyrim as a test, it used to run 4k no problem. Now when it runs it auto-detects my hardware and sets everything to max settings, then runs so slowly it can’t even handle the menu screen. It’s like it detects the physical presence of my GPU and assumes it’ll be using that, but when it runs it gets the CPU software rendering instead. I’m not really fussed about the gaming aspect but I’d like to be using Wayland and get my fractional scaling back.

Is this because you refuse to use X11 and only want to use Wayland?

This then is not a driver issue, but rather something else that you are using and possibly as simple as a config.

Sometimes that can be determined by simply creating a new user and testing the app when signed in as that new user. If it works properly then it appears to be a config under the previous user name that causes the problem.

Note that steam cannot be expected to run properly under Wayland (it is 32 bit and not updated to support wayland). Most other apps do perform well under wayland. Skyrim appears to be a windows game with support on steam, and would be limited to running on X11 only and then only with the nvidia drivers which provide the hardware acceleration support.

Right, I’ve found the smoking gun but I still don’t know what the problem is. I was fishing around in the forums and somebody mentioned udev so I thought I’d take a look at my rules. I found a random rule I didn’t recognise and it seemed to be messing with my GPU permissions. I looked it up and it turned out to be from NoMachine, which I’d recently uninstalled. Other people had been having issues after uninstalling it as well. I reinstalled NoMachine from the rpm I’d not deleted, restarted, and suddenly everything’s working again.

So nomachine_8.11.3_4_x86_64.rpm had caused all my problems, and I guess it messes something up when it’s uninstalled. I need to track down the problem now but I’m glad I at least have a solution even if it’s a workaround.

Update
For the record it’s something to do with this bug:
https://kb.nomachine.com/TR04V11131

That says that if you’ve enabled GPU rendering in the NoMachine server, and then uninstalled NM, you have to delete the udev rule to fix things. I’ve deleted that rule and disabled GPU rendering before uninstalling but neither of them let me use my GPU without NoMachine installed. I guess I’ll have to wait for them to fix it or give me a solution.

Thanks for all your help.

1 Like

Since nomachine is not a fedora app and there are multiple reports of issues with it on fedora I would discourage anyone from using it.

However, since you commented on a udev rule that may be related, it might help others if you were to tell us exactly what you found, and where, so it could be investigated further.

The linked work-around did not solve the issue for you?
Combining the removal of that file with disabling gpu rendering may have been the issue since gpu rendering is critical to hardware acceleration of graphics.