Graphical environment is unavailable after installing NVIDIA drivers [tumbleweed][kde][x11]

Hi Geekos,
couple topics come up here and on the subreddit regarding graphics card drivers, but to avoid taking over someone else’s thread, I’m creating a new one.
So far, I haven’t used a GPU in my laptops with openSUSE, but recently I bought a refurbished Fujitsu workstation with an old NVIDIA NVS 310 card and I’m having trouble with the graphical environment after installing the drivers - the sddm screen doesn’t load. According to the information I found, the drivers that match my card are from the G04 series. After a clean installation the NVIDIA repository is automatically added and after another ‘zypper dup’ the drivers are automatically indicated for installation. The installation process itself seems suspicious to me and I posted the log from this process on Pastebin [1].
After a reboot, I only have access to logging in as if it were a server in runlevel multi-user mode. The ‘dmesg’ and ‘journalctl’ commands don’t show anything suspicious to me.
I have Secure Boot enabled, but after installation and the first reboot, no EFI window (mokutil) appears, and I have no way to do it. What else can I check on this matter? Thanks in advance for any suggestions.

https://paste.opensuse.org/pastes/8a676a30545e

The G04 drivers are not built for the Kernel 6.6.x series yet…it needs some time until it is done.

So the only reasonable option is installing it “the hard way” or not installing any at all?

You may not be even able to install the G04 the hard way yourself as the 390 series is EOL and doesn’t build on actual kernels without heavy patching. Unless you know how to patch this driver yourself, you need to wait some time (as already recommended) until the responsible devs at openSUSE have done the patching and uploaded the G04 drivers…

Until then you can use nouveau.

1 Like

Be happy that FOSS enables NVidia use regardless of NVidia’s definition of end of support:

# xdriinfo
Screen 0: nouveau
# pinxi -GSaz --vs --zl --hostname
pinxi 3.3.31-16 (2023-11-22)
System:
  Host: p5bse Kernel: 6.6.2-1-default arch: x86_64 bits: 64 compiler: gcc
    v: 13.2.1 clocksource: tsc available: hpet,acpi_pm
    parameters: root=LABEL= ipv6.disable=1 net.ifnames=0 noresume
    consoleblank=0 mitigations=off
  Desktop: KDE Plasma v: 5.27.9 tk: Qt v: 5.15.11 wm: kwin_x11 vt: 7
    dm: SDDM Distro: openSUSE Tumbleweed 20231122
Graphics:
  Device-1: NVIDIA GF119 [NVS 310] vendor: Hewlett-Packard driver: nouveau
    v: kernel non-free: series: 390.xx+ status: legacy (EOL~2022-11-22) last:
    release: 390.157 kernel: 6.0 xorg: 1.21 arch: Fermi code: GF1xx
    process: 40/28nm built: 2010-2016 pcie: gen: 1 speed: 2.5 GT/s lanes: 16
    ports: active: DP-1,DP-2 empty: none bus-ID: 01:00.0 chip-ID: 10de:107d
    class-ID: 0300 temp: 49.0 C
  Display: x11 server: X.Org v: 21.1.9 compositor: kwin_x11 driver: X:
    loaded: modesetting dri: nouveau gpu: nouveau display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x2490 s-dpi: 120 s-size: 541x527mm (21.30x20.75")
    s-diag: 755mm (29.73")
  Monitor-1: DP-1 pos: primary,bottom model: Acer K272HUL serial: 
    built: 2018 res: 2560x1440 hz: 60 dpi: 109 gamma: 1.2
    size: 598x336mm (23.54x13.23") diag: 686mm (27") ratio: 16:9 modes:
    max: 2560x1440 min: 720x400
  Monitor-2: DP-2 pos: top model: Dell P2213 serial:  built: 2012
    res: 1680x1050 hz: 60 dpi: 90 gamma: 1.2 size: 473x296mm (18.62x11.65")
    diag: 558mm (22") ratio: 16:10 modes: max: 1680x1050 min: 720x400
  API: EGL v: 1.5 hw: drv: nvidia nouveau platforms: device: 0 drv: nouveau
    device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau x11:
    drv: nouveau inactive: wayland
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 23.2.1 glx-v: 1.4
    direct-render: yes renderer: NVD9 device-ID: 10de:107d memory: 474.6 MiB
    unified: no
  API: Vulkan Message: No Vulkan data available.
#

How to receive a notification when this happens?

There is no notification. You may only check from time to time (e.g. via YaST Software) if the kernel version number changes from

nvidia-gfxG04-kmp-default-390.157_k6.5.9_1-37.6-x86_64

to something like

nvidia-gfxG04-kmp-default-390.157_k6.6.1_1-37.6-x86_64

But the question is, why do you deliberately need the proprietary driver for such old hardware? You can’t use it for any task nowadays which requires decent hardware. The free nouveau driver fully supports such ancient hardware and there is no advantage of using the proprietary EOL driver for it…
The noveau driver is maintained whereas the proprietary 390 series is EOL since 1 year and does no longer get any fixex or security updates…