Nvidia driver not working, defaults to nouveau

Amongst the reported issues…
nvidia-persistenced failed to initialize. Check syslog for more details.

Run
sudo journalctl -u nvidia-persistenced.service

Is this the issue?
Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 455 has read and write permissions for those files.

The only file relating to nvidia in that directory is nvidiactl.

https://paste.opensuse.org/pastes/2dd08d613193

Yes, speculating the SELinux might be involved here? As a test, boot up in multi-user.target mode (runlevel 3), and do
sudo setenforce 0
then change to runlevel 5. Does that work?

When I try to switch to multi-user.target, I get a screen stating NVRM: GPU 0000:01:00.0 is already bound to nouveau and can’t type any commands.

Did you boot to non-graphical mode via grub boot?

https://en.opensuse.org/SDB:Making_Temporary_Changes_to_a_GRUB_2_Menu

Re SELinux, what does sestatus report? (This was speculation on m ypart.)

I’m using systemd-boot.

Ok. Can you reboot to a non-graphical mode (so no graphics drivers loaded)?

Ok, I booted into runlevel 3, ran sudo setenforce 0, then changed over to runlevel 5. I checked the kernel log and it has the same errors regarding failing to query Nvidia devices.

taf@Pooter ~> sestatus
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      33

Let’s see what others can suggest here. (I haven’t come across the issue you’re encountering previously.)

@deano_ferrari @malcolmlewis Thanks for the help so far!

These drivers came out about two weeks ago. Maybe I should try an older driver and see if that’s the issue? I don’t know how to force download an older version though.

@TheSoldier Well it works here, not the rpms but the run file… I’m waiting for some ram to arrive tomorrow and setup a test system with just a Quadro T400 card…

Update: I changed to the closed source drivers and no longer have issues with nouveau!

Was getting terrible performance on Steam games than realized I had to run sudo flatpak update to update the drivers for the Flatpak. Now everything runs as expected.

Thanks for everyone’s help.

2 Likes

@TheSoldier The fix is sdbootutil mkinitrd to use the open driver…

zypper se -i nvidia

S  | Name                                      | Summary                                                                     | Type
---+-------------------------------------------+-----------------------------------------------------------------------------+--------
i  | kernel-firmware-nvidia                    | Kernel firmware files for Nvidia Tegra and graphics drivers                 | package
i+ | libnvidia-egl-wayland1                    | The EGLStream-based Wayland external platform                               | package
i  | nvidia-open-driver-G06-signed-kmp-default | NVIDIA open kernel module driver for GeForce 16 series (GTX 16xx) and newer | package

System:
  Kernel: 6.13.5-1-default arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: initrd=\opensuse-tumbleweed\6.13.5-1-default\initrd-8f08d36ab85a5c25a6312b814f7b52f0d737bba5
    root=UUID=4ae5ce93-2b7e-442b-8b6e-2f8baad29a27 splash=silent quiet
    security=selinux selinux=1 enforcing=1 mitigations=auto
    rd.driver.blacklist=nouveau rootflags=subvol=@/.snapshots/1/snapshot
    systemd.machine_id=9d74a22b1a804a94a3e861eacc67f281
  Desktop: GNOME v: 47.5 tk: GTK v: 3.24.48 wm: gnome-shell
    tools: gsd-screensaver-proxy avail: xscreensaver dm: GDM v: 47.0
    Distro: openSUSE Tumbleweed 20250308
Graphics:
  Device-1: NVIDIA TU117GLM [Quadro T400 Mobile] driver: nvidia v: 570.124.04
    alternate: nouveau,nvidia_drm non-free: 550/565.xx+ status: current (as of
    2025-01; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 link-max: gen: 3
    speed: 8 GT/s bus-ID: 01:00.0 chip-ID: 10de:1fb2 class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.6
    compositor: gnome-shell driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev,nouveau,nv,nvidia gpu: nvidia display-ID: 0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-size: <missing: xdpyinfo>
  Monitor-1: Unknown-1 mapped: None-1 res: mode: 1920x1080 hz: 60
    scale: 100% (1) dpi: 96 size: 508x285mm (20x11.22") modes: 1920x1080
  API: EGL v: 1.5 platforms: device: 0 drv: swrast surfaceless: drv: swrast
    wayland: drv: swrast x11: drv: swrast inactive: gbm
  API: OpenGL v: 4.5 vendor: mesa v: 25.0.1 glx-v: 1.4 direct-render: yes
    renderer: llvmpipe (LLVM 19.1.7 256 bits) device-ID: ffffffff:ffffffff
    memory: 15.21 GiB unified: yes display-ID: :0.0
  Info: Tools: api: clinfo, eglinfo, glxinfo x11: xprop,xrandr

Perhaps this can help.

Read this to install nvidia driver.

https://foldingforum.org/viewtopic.php?t=42516