No graphic session after 15.6 upgrade

After an upgrade to Leap 15.6 I am getting a black screen with only a mouse cursor.

I have noticed (after the upgrade) in SDB:NVIDIA drivers - openSUSE Wiki that older NVidia video cards encounter issues with the kernel.

**Warning:** Legacy drivers G03 and G04 won't work with the actual kernel 6.6.x series. Use free nouveau drivers instead!

Checking the video card I see that the nouveau drivers are installed.

System:
  Kernel: 6.4.0-150600.23.22-default arch: x86_64 bits: 64 compiler: gcc v: 7.5.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.22-default
    root=UUID=f69a1ffa-417b-482a-b340-faf83e5ea537 splash=silent
    resume=/dev/disk/by-uuid/8888fc6c-7b3c-4903-b2ed-d55baa0cc32f quiet mitigations=auto
  Console: tty 1 DM: SDDM Distro: openSUSE Leap 15.6
Graphics:
  Device-1: NVIDIA GF104 [GeForce GTX 460] driver: N/A alternate: nouveau non-free:
    series: 390.xx+ status: legacy-active (EOL~late 2022) arch: Fermi code: GF1xx process: 40/28nm
    built: 2010-16 pcie: gen: 1 speed: 2.5 GT/s lanes: 16 bus-ID: 04:00.0 chip-ID: 10de:0e22
    class-ID: 0300
  Display: server: X.org v: 1.21.1.11 with: Xwayland v: 24.1.1 driver: X: loaded: nouveau
    unloaded: fbdev,modesetting,vesa failed: nvidia alternate: nv gpu: N/A tty: 160x64
  API: OpenGL Message: GL data unavailable in console. Try -G --display
`

The nouveau driver seems to be loaded. 

So I expect to have a graphical session available on my system.

I would appreciate some suggestion as to how to proceed.

@u20380 it wants to use it, but not available…

Device-1: NVIDIA GF104 [GeForce GTX 460] driver: N/A

Did you uninstall the nvidia rpms?

Is nouveau still blacklisted in initrd lsinitrd | grep -E "nouveau|nvidia"

The legacy drivers v390 (G04) are not available in the Nvidia repos for Leap 15.6. That is why they got removed whilst Leap distribution upgrade.

As Malcolm pointed out, the nouveau drivers needs to be enabled.

When I do lsmod | grep nouveau, I get nothing in return. Apparently the nouveau driver is not loaded at boottime.

When I do sudo modprobe nouveau verbose_state_checks=1, the graphic session comes up. Great!

Could you help me understand how to make the nouveau driver permanent?
(adding a file nouveau.conf file to /etc/modprobe.d/ did not do the trick)

@u20380 Hi can you run the command I asked for please lsinitrd | grep -E "nouveau|nvidia"

Just found nouveau blacklisted in nvidia-default.conf…

I took that one out and voila…a graphic session on reboot

@u20380 you also need to rebuild initrd with dracut -f --regenerate-all to remove properly.

Will do.

Thanks for your help, I have a big smile on my face again.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.