Rollback not working

So I’m a new user to opensuse, been dabbling the last month or so. Snapper rollback has saved me a few times. Finally got Nvidia drivers sorted a couple days ago. Since then, did one update that resulted in a black screen on next boot. Direct login never loads the screen.

I’ve successfully booted into earlier read-only snapshots with no issue. Regardless of which I’ve done this on, snapper rollback, set new default, next boot still results in this solid black screen. Haven’t been able to solve this. Tempted to just go back to deb based distros I’m more familiar with, but like some of the features and want to learn more. Having a non-functional system that even a supremely top notch “rescue” system can’t fix is a deal breaker though.

Welcome to the forum!!

You didn’t mention which DE (desktop environment) you’re using (?). KDE Plasma or GNOME, etc …

@bhd1223 Hi, new kernel in the 20230921 snapshot, however, is dkms installed as this should re-build the nvidia driver assuming you installed via rpm…

I use the hard way here so no issues on GNOME/X11…

inxi -SGz

System:
  Kernel: 6.5.4-1-default arch: x86_64 bits: 64 Desktop: GNOME v: 45.0
    Distro: openSUSE Tumbleweed 20230921
Graphics:
  Device-1: NVIDIA GP104GL [Tesla P4] driver: nvidia v: 535.113.01
  Device-2: NVIDIA TU117GLM [Quadro T400 Mobile] driver: nvidia
    v: 535.113.01
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0 driver: X:
    loaded: nvidia gpu: nvidia,nvidia-nvswitch resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz 3: 1920x1080~60Hz 4: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.113.01 renderer: NVIDIA T400/PCIe/SSE2
1 Like

Apologies I forgot to mention DE. I’m on XFCE, I tend to stick with old faithful. Tends to always work well for me, regardless of distro.

I could only get nvidia drivers working “the hard way.” Had it booting well and fine after that. This issue occurred the following day, after no major updates. On a functional read-only snapshot boot now. Result of inxi -SGz below:

~> inxi -SGz
System:
  Kernel: 6.5.3-1-default arch: x86_64 bits: 64 Desktop: Xfce v: 4.18.1
    Distro: openSUSE Tumbleweed 20230917
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
  Device-2: NVIDIA GP104M [GeForce GTX 1070 Mobile] driver: nvidia
    v: 535.104.05
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: modesetting,nvidia
    dri: iris gpu: i915 resolution: 1920x1080~120Hz
  API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce GTX
    1070/PCIe/SSE2

I will be attempting rollback to this working snapshot, as all the others, but expect same result. :frowning:

On an unrelated note, I’ve always been struggling trying to get a local xhost going for an app through docker. Even with all the potential fixes out there, nothing works, even when it should be by all accounts.

xhost:  unable to open display ""

Any chance I’d be better off on a different DE here? Are others more functional/less issues that XFCE?

Also, I did figure out I’m on apparently an optimus setup, so did create the file required based on the “NVIDIA the Hard Way” guidance.

~> ls -la /etc/X11/xorg.conf.d
total 12
drwxr-xr-x 1 root root 120 Sep 20 10:35 .
drwxr-xr-x 1 root root  72 Sep 14 11:43 ..
-rw-r--r-- 1 root root 404 Aug 29 18:29 00-keyboard.conf
-rw-r--r-- 1 root root 331 Sep 18 22:36 10-nvidia-drm-outputclass.conf
-rw-r--r-- 1 root root 704 Sep 20 10:35 90-nvidia.conf

~> cat /etc/X11/xorg.conf.d/10-nvidia-drm-outputclass.conf 

Section "OutputClass"
	Identifier "intel"
	MatchDriver "i915"
	Driver "modesetting"
EndSection
Section "OutputClass"
	Identifier "nvidia"
	MatchDriver "nvidia-drm"
	Driver "nvidia"
	Option "AllowEmptyInitialConfiguration"
	Option "PrimaryGPU" "yes"
	ModulePath "/usr/lib/nvidia/xorg"
	ModulePath "/usr/lib/xorg/modules"
EndSection

@bhd1223 the other option if on a hybrid setup is to just use Prime Render Offload, which is what I use here.

Hmmm, let me see if I can find a working snapshot based on the 20230921 update. The one I just rollbacked on was 20230917.

Do I have to go through the whole “Hard Way” process again with the new update? Something else seems wrong since even rolling back to that functional snapshot, still a complete blank screen. Maybe a secure boot issue that I have to go through the signing process again?

I have nothing important on this install yet, so can easily just wipe it and start fresh with a different DE if they will play better.

@bhd1223 can if you want, but there are likley things installed to support a hybrid system, like suse-prime, bbswitch etc which do need removing, then should be able to use rpms…

Are you running X11 or Wayland?

I did try the DKMS way first. Also tried the BumbleBee stuff. Ended up just doing the direct nvidia script, as it was the only one to “work” and show the driver installed. I’m pretty sure I removed most of the not working methods, but it’s possible I missed something. Would that create a conflict and cause issues?

I have used the prime command a couple times since I got it working, such as prime-select nvidia, prime-select next-boot nvidia, and the like.

@bhd1223 yes, the run file is all I use, then have a read here: Chapter 35. PRIME Render Offload which is what I use, but I do have a xorg.conf file for the primary nvidia gpu…

On GNOME I use the switchrooctl dbus service to switch…

inxi -Gz

Graphics:
  Device-1: NVIDIA GP104GL [Tesla P4] driver: nvidia v: 535.113.01
  Device-2: NVIDIA TU117GLM [Quadro T400 Mobile] driver: nvidia
    v: 535.113.01
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0 driver: X:
    loaded: nvidia gpu: nvidia,nvidia-nvswitch resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz 3: 1920x1080~60Hz 4: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.113.01 renderer: NVIDIA T400/PCIe/SSE2 <===

switcherooctl inxi -Gz

Graphics:
  Device-1: NVIDIA GP104GL [Tesla P4] driver: nvidia v: 535.113.01
  Device-2: NVIDIA TU117GLM [Quadro T400 Mobile] driver: nvidia
    v: 535.113.01
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.2.0 driver: X:
    loaded: nvidia gpu: nvidia,nvidia-nvswitch resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz 3: 1920x1080~60Hz 4: N/A
  API: OpenGL v: 4.6.0 NVIDIA 535.113.01 renderer: Tesla P4/PCIe/SSE2 <===

Well, found a year old reddit post.

https://www.reddit.com/r/openSUSE/comments/vx3dq0/black_screen_after_update/

Looks like I needed to add nosimplefb=1 to my grub config and now all is well. Look forward to leaving nvidia behind in the future the more I see myself full-timing linux. Thanks for all the help!