NVIDIA gpu black screen on boot

Hi!

grep amd /etc/X11/xorg.conf.d/*

Reports no results, folder only contains a 00-keyboard.conf file.

Regarding the kernel boot parameters this is what I found through Yast:
splash=silent resume=/dev/disk/by-uuid/f234c2cd-2808-467a-973f-6e12e5fa4a8e quiet

xf86-video-amdgpu still installed?

It seems yes:

pc0:/home/gabrielbyrnei # zypper se -i amdgpu
Loading repository data...
Reading installed packages...

S  | Name                   | Summary                                                   | Type
---+------------------------+-----------------------------------------------------------+--------
i  | kernel-firmware-amdgpu | Kernel firmware files for AMDGPU graphics driver          | package
i  | libdrm_amdgpu1         | Userspace interface for Kernel DRM services for AMD Rad-> | package
i  | libdrm_amdgpu1-32bit   | Userspace interface for Kernel DRM services for AMD Rad-> | package
i  | xf86-video-amdgpu      | AMDGPU video driver for the Xorg X server                 | package

I would uninstall

xf86-video-amdgpu

and install

xf86-video-nouveau

the other amdgpu packages are not doing any harm.
After that you should be able to use your new nvidia GPU with open source drivers, check that everything looks normal.
Then you may choose to install the G05 driver again and see how that goes.

1 Like

Hi!

Tried that and I an now left with the following results:

pc0:/home/gabrielbyrnei # zypper se -i amdgpu
Loading repository data...
Reading installed packages...

S  | Name                   | Summary                                                   | Type
---+------------------------+-----------------------------------------------------------+--------
i  | kernel-firmware-amdgpu | Kernel firmware files for AMDGPU graphics driver          | package
i  | libdrm_amdgpu1         | Userspace interface for Kernel DRM services for AMD Rad-> | package
i  | libdrm_amdgpu1-32bit   | Userspace interface for Kernel DRM services for AMD Rad-> | package
pc0:/home/gabrielbyrnei # zypper se -i nouveau
Loading repository data...
Reading installed packages...

S  | Name                  | Summary                                                    | Type
---+-----------------------+------------------------------------------------------------+--------
i  | libdrm_nouveau2       | Userspace interface for Kernel DRM services for NVIDIA c-> | package
i  | libdrm_nouveau2-32bit | Userspace interface for Kernel DRM services for NVIDIA c-> | package
i  | libvdpau_nouveau      | VDPAU state tracker for Nouveau                            | package
i+ | libvulkan_nouveau     | Mesa vulkan driver for NVK (Nouveau Vulkan)                | package
i+ | Mesa-dri-nouveau      | Mesa DRI plug-in for 3D acceleration via Nouveau           | package
i+ | xf86-video-nouveau    | Accelerated Open Source driver for nVidia cards            | package
gabrielbyrnei@pc0:~> inxi -Gxxz
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI
    driver: nouveau v: kernel arch: Fermi-2 pcie: speed: 5 GT/s lanes: 8 ports:
    active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 08:00.0 chip-ID: 10de:128b
    temp: 44.0 C
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: nouveau
    display-ID: 0
  Monitor-1: HDMI-A-1 model: Lenovo G27q-20 res: 1920x1080 hz: 60 dpi: 109
    diag: 685mm (27")
  API: EGL v: 1.5 platforms: device: 0 drv: nouveau device: 1 drv: swrast
    gbm: drv: nouveau surfaceless: drv: nouveau wayland: drv: nouveau x11:
    drv: nouveau
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.3.4 glx-v: 1.4
    direct-render: yes renderer: NV106 device-ID: 10de:128b display-ID: :0.0
  API: Vulkan Message: No Vulkan data available.
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl,radeontop wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

Replying to myself, tried closing the KDE sessiond and reloading a new one and now it shows the following:

gabrielbyrnei@pc0:~> inxi -Gxxz
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI
    driver: nouveau v: kernel arch: Fermi-2 pcie: speed: 5 GT/s lanes: 8 ports:
    active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 08:00.0 chip-ID: 10de:128b
    temp: 50.0 C
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: nouveau
    unloaded: modesetting,vesa alternate: fbdev,nv,nvidia dri: nouveau
    gpu: nouveau display-ID: 0
  Monitor-1: HDMI-A-1 model: Lenovo G27q-20 res: 1920x1080 hz: 60 dpi: 109
    diag: 685mm (27")
  API: EGL v: 1.5 platforms: device: 0 drv: nouveau device: 1 drv: swrast
    gbm: drv: nouveau surfaceless: drv: nouveau wayland: drv: nouveau x11:
    drv: nouveau
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.3.4 glx-v: 1.4
    direct-render: yes renderer: NV106 device-ID: 10de:128b display-ID: :1.0
  API: Vulkan Message: No Vulkan data available.
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl,radeontop wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

Problem solved?

Hi!

Sorry for the delay, work and life :slight_smile:

I mean, it does still seem broken that doing a zypper dup after a GPU change auto enables the non free repo through openSUSE-repos-Tumbleweed-NVIDIA, tries to install G05 drivers and then after rebooting lands you on a broken GUI into CLI.

A bit unrelated, but what is the advantage or preferred action with xf86-video-nouveau? Having it installed or not installed?
I uninstalled it and Iā€™m not using Modesetting, seems doesnā€™t seem any slower or faster than with having it installed.

gabrielbyrnei@pc0:~> inxi -Gxxz
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI
    driver: nouveau v: kernel arch: Fermi-2 pcie: speed: 5 GT/s lanes: 8 ports:
    active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 08:00.0 chip-ID: 10de:128b
    temp: 39.0 C
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: modesetting unloaded: vesa
    alternate: fbdev,nouveau,nv,nvidia dri: nouveau gpu: nouveau display-ID: 0
  Monitor-1: HDMI-A-1 model: Lenovo G27q-20 res: 1920x1080 hz: 60 dpi: 109
    diag: 685mm (27")
  API: EGL v: 1.5 platforms: device: 0 drv: nouveau device: 1 drv: swrast
    gbm: drv: nouveau surfaceless: drv: nouveau wayland: drv: nouveau x11:
    drv: nouveau
  API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.3.4 glx-v: 1.4
    direct-render: yes renderer: NV106 device-ID: 10de:128b display-ID: :1.0
  API: Vulkan Message: No Vulkan data available.
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl,radeontop wl: wayland-info
    x11: xdpyinfo, xprop, xrandr

@assas1n I suspect the older/legacy drivers need some patching to work with the newer kernel. See here: Tumbleweed on 6.13 kernel, Nvidia G04/G05 Patches Ready (and confirmed working) - openSUSE Users - openSUSE Mailing Lists>

Your card is apparently able to use the modesetting driver, so there is no need for xf86-video-nouveau.
Moreover you are using wayland, so you are likely not using the X interface at all unless you use some ancient apps not yet ready for wayland; that is likely the reason why you donā€™t see any difference.

I donā€™t want to be wrong, but you are using the vesa driver
This is mine Graphics: Device-1: NVIDIA GF119 [GeForce GT 610] vendor: eVga.com. driver: nouveau v: kernel arch: Fermi pcie: speed: 2.5 GT/s lanes: 16 ports: active: VGA-1 empty: DVI-I-1,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:104a temp: 42.0 C Device-2: Microsoft LifeCam VX-800 driver: snd-usb-audio,uvcvideo type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 8-2:2 chip-ID: 045e:0766 Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4 compositor: gnome-shell v: 47.3 driver: X: loaded: nouveau unloaded: modesetting,vesa failed: nv alternate: fbdev,nvidia dri: nouveau gpu: nouveau display-ID: 0 Monitor-1: VGA-1 model: Samsung S22D390 res: 1920x1080 hz: 60 dpi: 102 diag: 547mm (21.5") API: EGL v: 1.5 platforms: device: 0 drv: nouveau device: 1 drv: swrast gbm: drv: nouveau surfaceless: drv: nouveau wayland: drv: nouveau x11: drv: nouveau API: OpenGL v: 4.5 compat-v: 4.3 vendor: mesa v: 24.3.4 glx-v: 1.4 direct-render: yes renderer: NVD9 device-ID: 10de:104a display-ID: :0.0 API: Vulkan Message: No Vulkan data available. Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-doctor gpu: nvidia-settings wl: wayland-info x11: xdpyinfo, xprop, xrandr

Hi!

Compared your text with mine and the only difference I could find is you have nouveau loaded versus my modesetting no?

I did not read all commentsā€¦ BUT
I believe you need to blacklist the ā€œnouveauā€ driver.

# more /etc/modprobe.d/nvidia.conf 
blacklist nouveau

it should appear something like this:

# inxi -G
**Graphics:**
  **Device-1: NVIDIA **model...** driver: nvidia v: 550.144.03**
  Display: x11 server: X.Org v: 1.21.1.11 with: Xwayland v: 24.1.1 driver:
    X: loaded: **nvidia gpu: nvidia,nvidia-nvswitch** resolution: 1: 2560x1440
    2: 2560x1440
  API: OpenGL v: 4.6.0 **NVIDIA 550.144.03** renderer: **nvidia model xxx** /PCIe/SSE2

and check thisā€¦ you should have something like this (I have secure boot):

# dmesg -T | grep -i nvidia
[Fri Jan 17 16:57:26 2025] Command line: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.33-default root=UUID=4bd482cf-e921-47d4-ad76-d88d1bf34392 nvidia-drm.modeset=1 preempt=full quiet mitigations=auto security=apparmor
[Fri Jan 17 16:57:26 2025] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.4.0-150600.23.33-default root=UUID=4bd482cf-e921-47d4-ad76-d88d1bf34392 nvidia-drm.modeset=1 preempt=full quiet mitigations=auto security=apparmor
[Fri Jan 17 16:57:28 2025] integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.120 on 2024-10-04: 1567b61cccc3800e127104c71104ff3dabc3d0ae'
[Fri Jan 17 16:57:28 2025] integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.120 on 2024-10-07: 29a160b224c32ea94ef9cb055effaade65d1811a'
[Fri Jan 17 16:57:28 2025] integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.127.05 on 2024-11-11: 206bd8af6c70223512d7766b90a52af92f550c70'
[Fri Jan 17 16:57:28 2025] integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.135 on 2024-11-28: f5d11aaa2df71ee02b29fd8a4db6512631e3d58c'
[Fri Jan 17 16:57:28 2025] integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.142 on 2025-01-16: ee2faf942751667df9fea15a836108d75ae2b97e'
[Fri Jan 17 16:57:28 2025] integrity: Loaded X.509 cert 'Local build for nvidia-driver-G06 550.144.03 on 2025-01-17: 93f001fe9e4b73dc319b0c37080eb6db106b1912'
[Fri Jan 17 16:57:31 2025] nvidia: loading out-of-tree module taints kernel.
[Fri Jan 17 16:57:31 2025] nvidia: module license 'NVIDIA' taints kernel.
[Fri Jan 17 16:57:31 2025] nvidia: module license taints kernel.
[Fri Jan 17 16:57:31 2025] nvidia-nvlink: Nvlink Core is being initialized, major device number 239
[Fri Jan 17 16:57:31 2025] nvidia 0000:18:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[Fri Jan 17 16:57:31 2025] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  550.144.03  Mon Dec 30 17:44:08 UTC 2024
[Fri Jan 17 16:57:32 2025] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[Fri Jan 17 16:57:32 2025] nvidia-uvm: Loaded the UVM driver, major device number 237.
[Fri Jan 17 16:57:33 2025] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  550.144.03  Mon Dec 30 17:10:10 UTC 2024
[Fri Jan 17 16:57:33 2025] [drm] [nvidia-drm] [GPU ID 0x00001800] Loading driver
[Fri Jan 17 16:57:34 2025] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:18:00.0 on minor 0
[Fri Jan 17 16:57:34 2025] nvidia 0000:18:00.0: vgaarb: deactivate vga console
[Fri Jan 17 16:57:34 2025] fbcon: nvidia-drmdrmfb (fb0) is primary device
[Fri Jan 17 16:57:34 2025] nvidia 0000:18:00.0: [drm] fb0: nvidia-drmdrmfb frame buffer device
[Fri Jan 17 16:57:37 2025] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:17/0000:17:00.0/0000:18:00.1/sound/card1/input17
[Fri Jan 17 16:57:37 2025] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:17/0000:17:00.0/0000:18:00.1/sound/card1/input18
[Fri Jan 17 16:57:37 2025] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:17/0000:17:00.0/0000:18:00.1/sound/card1/input19
[Fri Jan 17 16:57:37 2025] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:17/0000:17:00.0/0000:18:00.1/sound/card1/input20
[Fri Jan 17 16:57:37 2025] audit: type=1400 audit(1737129457.610:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=2374 comm="apparmor_parser"
[Fri Jan 17 16:57:37 2025] audit: type=1400 audit(1737129457.610:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=2374 comm="apparmor_parser"

Hi!

Yes, that would be ideal but was the source of my original post.
When installing the G05 Nvidia driver through zypper inr, the system reboots into command line.

Hi, you can possibly edit the nvidia.conf file by using text editor named ā€˜joeā€™ or ā€˜nanoā€™ , using nano may be easier from the command line. Edit carefully and then save the file when done. Then powecycle machine. After powercycling machine, you may be able to reach graphical target.

if you are not familiar with using text editors in the console, you can just use this command line:

# echo "blacklist nouveau" >> /etc/modprobe.d/nvidia.conf

be aware than under /etc/modprobe.d/ I have 2 other nvidia related files, and they also have the same reference to blacklist the nouveau driver:

50-nvidia.conf
nvidia-installer-disable-nouveau.conf

Since ages it is not required to manualy tinker with any configuration files to blacklist nouveau. This is done automatically by the Nvidia driver. This can also easily be seen by having a look at the terminal output when the Nvidia driver is installed. It explicitely states that nouveau gets blacklistedā€¦
Inspect 50-nvidia.conf

Adding additional lock files at random places, only makes troubleshooting and installation/deinstallation worse and worseā€¦

mostly you are rightā€¦ but my experience tells me that things donā€™t always go so wellā€¦ as it seems to be the case with this user asking for help

Nope. The most important hint was already given.

When the machine ends at a black screen after installation of the Nvidia driver, it is NOT an issue with nouveau not beeing blacklisted. If there would be an issue with missing blacklists, the machine would still boot and the inxi output would show that nouveau is still loaded. This is not the case here.

Update.

Just did zypper inr and dup which added the nvidia tumbleweed nvidia repos and installed the suggested G05 packages.
Fortunately system now reboots fine into a graphical KDE, so something was updated in the Tumbleweed repos.

Problem is, system is super unresponsive and laggy, mouse moves with almost a second of delay.

gabrielbyrnei@pc0:~> inxi -Gxxz
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 710] vendor: Micro-Star MSI
    driver: nvidia v: 470.256.02 arch: Fermi-2 pcie: speed: 2.5 GT/s lanes: 8
    ports: active: none off: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 08:00.0
    chip-ID: 10de:128b
  Display: wayland server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: modesetting,vesa alternate: fbdev,nouveau,nv
    gpu: nvidia,nvidia-nvswitch display-ID: 0
  Monitor-1: HDMI-A-1 model: Lenovo G27q-20 res: 1920x1080 hz: 60 dpi: 109
    diag: 685mm (27")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia gbm: drv: kms_swrast
    surfaceless: drv: swrast wayland: drv: swrast x11: drv: swrast
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: mesa v: 24.3.4 glx-v: 1.4
    direct-render: yes renderer: llvmpipe (LLVM 19.1.7 256 bits)
    device-ID: ffffffff:ffffffff display-ID: :0.0
  API: Vulkan v: 1.4.304 surfaces: xcb,xlib,wayland device: 0
    type: discrete-gpu driver: N/A device-ID: 10de:128b
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: corectrl, nvidia-settings,
    nvidia-smi, radeontop wl: wayland-info x11: xdpyinfo, xprop, xrandr
pc0:/home/gabrielbyrnei # zypper se -i nvidia
Loading repository data...
Reading installed packages...

S  | Name                             | Summary                                         | Type
---+----------------------------------+-------------------------------------------------+--------
i  | kernel-firmware-nvidia           | Kernel firmware files for Nvidia Tegra and gr-> | package
i  | libnvidia-egl-wayland1           | The EGLStream-based Wayland external platform   | package
i  | nvidia-computeG05                | NVIDIA driver for computing with GPGPU          | package
i  | nvidia-computeG05-32bit          | 32bit NVIDIA driver for computing with GPGPU    | package
i  | nvidia-gfxG05-kmp-default        | NVIDIA graphics driver kernel module for GeFo-> | package
i  | nvidia-glG05                     | NVIDIA OpenGL libraries for OpenGL acceleration | package
i  | nvidia-glG05-32bit               | 32bit NVIDIA OpenGL libraries for OpenGL acce-> | package
i  | openSUSE-repos-Tumbleweed-NVIDIA | openSUSE NVIDIA repository definitions          | package
i  | x11-video-nvidiaG05              | NVIDIA graphics driver for GeForce 600 series-> | package
i  | x11-video-nvidiaG05-32bit        | 32bit NVIDIA graphics driver for GeForce 600 -> | package