Cannot start GDM after 20221205 release - multiple driver issues?

After running

zypper dup -l 

on 5 DEC and rebooting, I can no longer start a Gnome desktop.

I assumed that this was an NVIDIA issue (because it almost always is…) and tried to boot from a previous working snapshot.

Issue 1. NONE of my old snapshots will boot. They all freeze. I tried turning off secure boot in the BIOS but I get the same result. So, no easy fixes and no rollback.
Issue 2. After a few minutes, I get an xhci error that freezes everything if I have the laptop plugged into the (thunderbolt) docking station. My work around is to charge the laptop while off, unplug the docking station and use wifi.

After trying various things like uninstalling all NVIDIA drivers, suse-prime; reinstalling nvidia drivers (no errors declared when installed), installing different NVIDIA drivers, trying the new open NVIDIA drivers, … I started looking more diligently.

I reboot the laptop, boot the latest kernel, then attempt to login at the plymouth screen using Gnome. I get the “Oh no! Something has gone wrong” sad face terminal and I click the logout button.

I do

jouralctl -b -p err

and get this:


Dec 07 14:45:55 cresearch kernel: x86/cpu: SGX disabled by BIOS. 
Dec 07 14:45:59 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:1 Invalid key/value pair, ignoring. 
Dec 07 14:45:59 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:2 Invalid key/value pair, ignoring. 
Dec 07 14:45:59 cresearch usbauth[651]: Config file not found or empty. 
Dec 07 14:45:59 cresearch usbauth[682]: Config file not found or empty. 
Dec 07 14:45:59 cresearch usbauth[809]: Config file not found or empty. 
Dec 07 14:45:59 cresearch usbauth[812]: Config file not found or empty. 
Dec 07 14:45:59 cresearch usbauth[820]: Config file not found or empty. 
Dec 07 14:45:59 cresearch usbauth[822]: Config file not found or empty. 
Dec 07 14:45:59 cresearch usbauth[823]: Config file not found or empty. 
Dec 07 14:45:59 cresearch usbauth[838]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1106]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1108]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1110]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1109]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1114]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1115]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1121]: Config file not found or empty. 
Dec 07 14:46:00 cresearch usbauth[1120]: Config file not found or empty. 
Dec 07 14:46:01 cresearch smartd[1170]: Device: /dev/nvme0, number of Error Log entries increased from 324 to 325 
Dec 07 14:46:01 cresearch bluetoothd[1317]: src/plugin.c:plugin_init() Failed to init vcp plugin 
Dec 07 14:46:01 cresearch bluetoothd[1317]: src/plugin.c:plugin_init() Failed to init mcp plugin 
Dec 07 14:46:01 cresearch bluetoothd[1317]: src/plugin.c:plugin_init() Failed to init bap plugin 
Dec 07 14:46:01 cresearch kernel:  
Dec 07 14:46:02 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:1 Invalid key/value pair, ignoring. 
Dec 07 14:46:02 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:2 Invalid key/value pair, ignoring. 
Dec 07 14:46:02 cresearch nmbd[1466]: [2022/12/07 14:46:02.528396,  0] ../../source3/nmbd/nmbd.c:901(main) 
Dec 07 14:46:02 cresearch nmbd[1466]:   nmbd version 4.17.3-git.283.2157972742bSUSE-oS15.9-x86_64 started. 
Dec 07 14:46:02 cresearch nmbd[1466]:   Copyright Andrew Tridgell and the Samba Team 1992-2022 
Dec 07 14:46:02 cresearch nmbd[1466]: [2022/12/07 14:46:02.824524,  0] ../../lib/util/become_daemon.c:150(daemon_status) 
Dec 07 14:46:02 cresearch nmbd[1466]:   daemon_status: daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ... 
Dec 07 14:46:02 cresearch nmbd[1466]: [2022/12/07 14:46:02.824586,  0] ../../source3/nmbd/nmbd_subnetdb.c:252(create_subnets) 
Dec 07 14:46:02 cresearch nmbd[1466]:   NOTE: NetBIOS name resolution is not supported for Internet Protocol Version 6 (IPv6). 
Dec 07 14:46:03 cresearch smbd[2082]: [2022/12/07 14:46:03.822553,  0] ../../source3/smbd/server.c:1741(main) 
Dec 07 14:46:03 cresearch smbd[2082]:   smbd version 4.17.3-git.283.2157972742bSUSE-oS15.9-x86_64 started. 
Dec 07 14:46:03 cresearch smbd[2082]:   Copyright Andrew Tridgell and the Samba Team 1992-2022 
Dec 07 14:46:06 cresearch systemd[1]: Failed to start NoMachine Server daemon. 
Dec 07 14:46:06 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:1 Invalid key/value pair, ignoring. 
Dec 07 14:46:06 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:2 Invalid key/value pair, ignoring. 
Dec 07 14:46:07 cresearch pipewire[2308]: jack-device 0x55f639b055c8: can't open client: Connection refused 
Dec 07 14:46:07 cresearch systemd[1]: Failed to start Auto-tune power savings (oneshot). 
Dec 07 14:46:14 cresearch bluetoothd[1317]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down 
Dec 07 14:46:17 cresearch gdm-password][2783]: gkr-pam: unable to locate daemon control file 
Dec 07 14:46:19 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:1 Invalid key/value pair, ignoring. 
Dec 07 14:46:19 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:2 Invalid key/value pair, ignoring. 
Dec 07 14:46:23 cresearch kernel: [drm:nv_drm_gem_fence_attach_ioctl [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence attach: 0x0000000a 
---snip---
Dec 07 14:46:23 cresearch kernel: [drm:nv_drm_gem_fence_attach_ioctl [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to lookup gem object for fence attach: 0x00000004 
Dec 07 14:46:23 cresearch systemd[2798]: Failed to start GNOME Shell on X11. 
Dec 07 14:46:23 cresearch pipewire[3148]: jack-device 0x560bcb5f7048: can't open client: Connection refused 
Dec 07 14:46:24 cresearch systemd[2798]: Failed to start GNOME Shell on X11. 
Dec 07 14:46:26 cresearch systemd[2798]: Failed to start GNOME Shell on X11. 
Dec 07 14:46:26 cresearch systemd[2798]: Failed to start GNOME Shell on X11. 
Dec 07 14:46:26 cresearch systemd[2798]: Failed to start Application launched by gnome-session-binary. 
Dec 07 14:46:26 cresearch nmbd[1466]: [2022/12/07 14:46:26.460810,  0] ../../source3/nmbd/nmbd_become_lmb.c:398(become_local_master_stage2) 
Dec 07 14:46:26 cresearch nmbd[1466]:   ***** 
Dec 07 14:46:26 cresearch nmbd[1466]:  
Dec 07 14:46:26 cresearch nmbd[1466]:   Samba name server CRESEARCH is now a local master browser for workgroup PROVENCE on subnet 172.17.0.1 
Dec 07 14:46:26 cresearch nmbd[1466]:  
Dec 07 14:46:26 cresearch nmbd[1466]:   ***** 
Dec 07 14:46:26 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:1 Invalid key/value pair, ignoring. 
Dec 07 14:46:26 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:2 Invalid key/value pair, ignoring. 
Dec 07 14:46:29 cresearch gdm-x-session[2016]: GLib: Source ID 2 was not found when attempting to remove it 
Dec 07 14:46:29 cresearch gdm-launch-environment][1833]: GLib-GObject: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 
Dec 07 14:46:31 cresearch bluetoothd[1317]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down 
Dec 07 14:46:49 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:1 Invalid key/value pair, ignoring. 
Dec 07 14:46:49 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:2 Invalid key/value pair, ignoring. 
Dec 07 14:46:51 cresearch systemd-coredump[5244]: Process 3475 (gsd-usb-protect) of user 1000 dumped core. 
                                                   
                                                  Stack trace of thread 3475: 
                                                  #0  0x0000563abcee3298 n/a (gsd-usb-protection + 0x5298) 
                                                  #1  0x00007fde3cd86dc1 n/a (libgio-2.0.so.0 + 0xbcdc1) 
                                                  #2  0x00007fde3cd879e3 n/a (libgio-2.0.so.0 + 0xbd9e3) 
                                                  #3  0x00007fde3cdef688 n/a (libgio-2.0.so.0 + 0x125688) 
                                                  #4  0x00007fde3cd86dc1 n/a (libgio-2.0.so.0 + 0xbcdc1) 
                                                  #5  0x00007fde3cd879e3 n/a (libgio-2.0.so.0 + 0xbd9e3) 
                                                  #6  0x00007fde3cdeecc1 n/a (libgio-2.0.so.0 + 0x124cc1) 
                                                  #7  0x00007fde3cdeee52 n/a (libgio-2.0.so.0 + 0x124e52) 
                                                  #8  0x00007fde3cd86dc1 n/a (libgio-2.0.so.0 + 0xbcdc1) 
                                                  #9  0x00007fde3cd879e3 n/a (libgio-2.0.so.0 + 0xbd9e3) 
                                                  #10 0x00007fde3cde397a n/a (libgio-2.0.so.0 + 0x11997a) 
                                                  #11 0x00007fde3cd86dc1 n/a (libgio-2.0.so.0 + 0xbcdc1) 
                                                  #12 0x00007fde3cd86e09 n/a (libgio-2.0.so.0 + 0xbce09) 
                                                  #13 0x00007fde3cb814be n/a (libglib-2.0.so.0 + 0x544be) 
                                                  #14 0x00007fde3cb85a90 g_main_context_dispatch (libglib-2.0.so.0 + 0x58a90) 
                                                  #15 0x00007fde3cb85e48 n/a (libglib-2.0.so.0 + 0x58e48) 
                                                  #16 0x00007fde3cb8610f g_main_loop_run (libglib-2.0.so.0 + 0x5910f) 
                                                  #17 0x0000563abcee1954 n/a (gsd-usb-protection + 0x3954) 
                                                  #18 0x00007fde3c9595b0 __libc_start_call_main (libc.so.6 + 0x275b0) 
                                                  #19 0x00007fde3c959679 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x27679) 
                                                  #20 0x0000563abcee1a75 n/a (gsd-usb-protection + 0x3a75) 
                                                   
                                                  Stack trace of thread 3500: 
                                                  #0  0x00007fde3cb55895 g_pointer_bit_lock (libglib-2.0.so.0 + 0x28895) 
                                                  #1  0x00007fde3cb655c0 g_datalist_id_dup_data (libglib-2.0.so.0 + 0x385c0) 
                                                  #2  0x00007fde3cc8481e g_object_unref (libgobject-2.0.so.0 + 0x1b81e) 
                                                  #3  0x00007fde3cb81d49 n/a (libglib-2.0.so.0 + 0x54d49) 
                                                  #4  0x00007fde3cb8375b n/a (libglib-2.0.so.0 + 0x5675b) 
                                                  #5  0x00007fde3cb85b40 g_main_context_dispatch (libglib-2.0.so.0 + 0x58b40) 
                                                  #6  0x00007fde3cb85e48 n/a (libglib-2.0.so.0 + 0x58e48) 
                                                  #7  0x00007fde3cb8610f g_main_loop_run (libglib-2.0.so.0 + 0x5910f) 
                                                  #8  0x00007fde3cdf2da6 n/a (libgio-2.0.so.0 + 0x128da6) 
                                                  #9  0x00007fde3cbb0475 n/a (libglib-2.0.so.0 + 0x83475) 
                                                  #10 0x00007fde3c9c098d start_thread (libc.so.6 + 0x8e98d) 
                                                  #11 0x00007fde3ca47380 __clone3 (libc.so.6 + 0x115380) 
                                                   
                                                  Stack trace of thread 3554: 
                                                  #0  0x00007fde3ca38b7f __poll (libc.so.6 + 0x106b7f) 
                                                  #1  0x00007fde3cb85dbe n/a (libglib-2.0.so.0 + 0x58dbe) 
                                                  #2  0x00007fde3cb85edc g_main_context_iteration (libglib-2.0.so.0 + 0x58edc) 
                                                  #3  0x00007fde3cee484d n/a (libdconfsettings.so + 0x684d) 
                                                  #4  0x00007fde3cbb0475 n/a (libglib-2.0.so.0 + 0x83475) 
                                                  #5  0x00007fde3c9c098d start_thread (libc.so.6 + 0x8e98d) 
                                                  #6  0x00007fde3ca47380 __clone3 (libc.so.6 + 0x115380) 
                                                   
                                                  Stack trace of thread 3495: 
                                                  #0  0x00007fde3ca38b7f __poll (libc.so.6 + 0x106b7f) 
                                                  #1  0x00007fde3cb85dbe n/a (libglib-2.0.so.0 + 0x58dbe) 
                                                  #2  0x00007fde3cb85edc g_main_context_iteration (libglib-2.0.so.0 + 0x58edc) 
                                                  #3  0x00007fde3cb85f21 n/a (libglib-2.0.so.0 + 0x58f21) 
                                                  #4  0x00007fde3cbb0475 n/a (libglib-2.0.so.0 + 0x83475) 
                                                  #5  0x00007fde3c9c098d start_thread (libc.so.6 + 0x8e98d) 
                                                  #6  0x00007fde3ca47380 __clone3 (libc.so.6 + 0x115380) 
                                                  ELF object binary architecture: AMD x86-64 
Dec 07 14:46:51 cresearch gdm-x-session[2823]: GLib: Source ID 2 was not found when attempting to remove it 
Dec 07 14:46:51 cresearch systemd[2798]: Failed to start Portal service (GTK/GNOME implementation). 
Dec 07 14:46:53 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:1 Invalid key/value pair, ignoring. 
Dec 07 14:46:53 cresearch systemd-udevd[552]: /etc/udev/rules.d/50-remarkable.rules:2 Invalid key/value pair, ignoring. 
Dec 07 14:46:56 cresearch pipewire[5461]: jack-device 0x55951faa3c48: can't open client: Connection refused 
Dec 07 14:47:03 cresearch bluetoothd[1317]: src/profile.c:record_cb() Unable to get Hands-Free Voice gateway SDP record: Host is down 
Dec 07 14:47:44 cresearch login[5743]: gkr-pam: unable to locate daemon control file 
Dec 07 14:47:58 cresearch sudo[5855]: gkr-pam: unable to locate daemon control file

So, I see where the xhci error is coming from (either the bluetooth driver or pulseaudio or both). I’ve tried forcing reinstall of bluez, pipewire, and pulseaudio but those errors remain.

Also, I tried to correct the loopback ip error by using yast2 from the terminal and making sure that I have an entry for 127.0.0.1 localhost cresearch. The error persists at next boot.

Hi
With your setup, you don’t need bumblebee, bbswitch or suse-prime or any boot options except maybe nvidia_drm.modeset=1

You need to also ensure the are no xorg.conf files for nvidia down in /etc/X11 and /etc/X11/xorg.conf.d

You need to be using prime offload only, the intel gpu should be the primary device, then offload to the nvidia card for applications your wanting to use, eg blender.

See https://download.nvidia.com/XFree86/Linux-x86_64/525.60.11/README/primerenderoffload.html the you can install switcheroo-control, start and enable the switcheroo-control.service, when that’s started in GNOME you can right-click the menu icon and there is an option to ‘Launch using discrete graphics card’.

Also the open driver still has power management issues…

Doh! I forgot to add that I am able to login and get a graphical environment in i3, IceWM, LXDE, Openbox, and TWM (I don’t have KDE, but I’ll install it if it’s helpful).

In those graphical environments, I am able to hear audio from the computer speakers and through bluetooth headphones. The errors in the journal are still there, though.

Hi
Create a test user and login to GNOME as that test user, do you have gnome-shell extensions enabled?

Also is this with prime present?

Like I indicated, the newer intel/nvidia gpu setups are designed for prime offload, not the other Legacy tools.

Oooh! You figured it out. My test user gets a nice new gnome desktop.

I did uninstall prime and suse-prime and bbswitch. So, things do seem to be working without those.

I tried to disable gnome extensions with

gsettings set org.gnome.shell disable-user-extensions true

but still get the error screen when I try to log in as my regular user.

Any other ideas where to look?

Hi
A configuration change somewhere, do you recall any recent changes in your home user configuration? When did you install LXDE and the likes?

Perhaps update to the latest snapshot 20221206 and reboot.

I’ve had the other desktops installed for years. I sometimes try them out of curiosity but never bother uninstalling them.

I eventually resolved the problem by moving the ‘gnome-shell’ directory under ‘~/.local/share/’ directory to ‘suspect-gnome-shell’. Everything seems to be working well now.

When I’ve caught back up on the work I procrastinated while troubleshooting, I’ll try reinstalling each shell extension in hopes of identifying the culprit. If I find one, I’ll share back here in addition to any bug report.

Thanks again.