You are not logged in.

#1 2021-04-25 12:48:12

tdVzu1t
Member
Registered: 2021-04-25
Posts: 5

[SOLVED] No graphical interface after system upgrade

Hi,

I'm aware this is a very general problem but I'll try to be specific. I've searched hard for a solution on this (and many other) forums, unsuccessfully. I'm looking for help to debug as much as to solve the problem outright.

I have been running ArchLinux on my desktop (Ryzen 7 3800X, MS-7B86 mobo, NVidia 1050 Ti GPU) since september/october and it's been great.

Yesterday I did a pacman -Syu, having not done it for a few weeks, which included a kernel upgrade from 5.11.11 to 5.11.16 and an update to the latest nvidia driver 465.24.02). Before rebooting, I tried to install the eth-miner AUR package, which might have been a mistake. Upon reboot, my system got through most of the launch process, but hung (solid _ cursor) at the Graphical Interface target.

After some debugging, it seems the new nvidia driver was the problem, and was crashing almost immediately. I could reproduce the crash reliably by running nvidia-bug-report.sh and it looked identical to this: https://forums.developer.nvidia.com/t/4 … /155250/25

I therefore uninstalled nvidia, nvidia-utils, nvidia-settings, downloaded the nvidia 440.100 driver and installed that. This allows nvidia-bug-report.sh to complete.

However, I have had no luck getting a GUI login. I tried:
- reinstalling xorg, xorg-xinit, xterm
- switching to wayland
- reinstalling gnome
- reinstalling gdm, or changing to lightdm

A few other points that might mean something to the experts among you:
- lsmod | grep nvidia returns nothing, and sudo modprobe nvidia gives:
modprobe: ERROR: could not insert 'nvidia': Unknown symbol in module, or unknown parameter (see dmesg)
- journalctl -b gives me, as far as it relates to gnome:

Apr 25 14:23:09 Esther gnome-session-binary[8134]: WARNING: Falling back to non-systemd startup procedure due to error: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-session-tty@gnome.target not found.
Apr 25 14:23:09 Esther gnome-session[8134]: gnome-session-binary[8134]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
Apr 25 14:23:09 Esther gnome-session-binary[8134]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
Apr 25 14:23:09 Esther dbus-daemon[1118]: [session uid=1000 pid=1118] Activating service name='org.gnome.ScreenSaver' requested by ':1.9' (uid=1000 pid=8134 comm="/usr/lib/gnome-session-binary ")
Apr 25 14:23:09 Esther dbus-daemon[1118]: [session uid=1000 pid=1118] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.10' (uid=1000 pid=8229 comm="/usr/bin/gjs /usr/share/gnome-shell/org.gnome.Scre")
Apr 25 14:23:09 Esther systemd[1073]: Starting Virtual filesystem service...
Apr 25 14:23:09 Esther dbus-daemon[1118]: [session uid=1000 pid=1118] Successfully activated service 'org.gtk.vfs.Daemon'
Apr 25 14:23:09 Esther systemd[1073]: Started Virtual filesystem service.
Apr 25 14:23:09 Esther dbus-daemon[1118]: [session uid=1000 pid=1118] Successfully activated service 'org.gnome.ScreenSaver'
Apr 25 14:23:09 Esther gnome-session[8134]: gnome-session-binary[8134]: WARNING: Could not parse desktop file mattermost-desktop.desktop or it references a not found TryExec binary
Apr 25 14:23:09 Esther gnome-keyring-ssh.desktop[8264]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
Apr 25 14:23:09 Esther org.gnome.Shell.desktop[8270]: Window manager warning: Unsupported session type
Apr 25 14:23:09 Esther gnome-session[8134]: gnome-session-binary[8134]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Apr 25 14:23:09 Esther gnome-session-binary[8134]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Apr 25 14:23:09 Esther org.gnome.Shell.desktop[8273]: Window manager warning: Unsupported session type
Apr 25 14:23:09 Esther gnome-session[8134]: gnome-session-binary[8134]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Apr 25 14:23:09 Esther gnome-session-binary[8134]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Apr 25 14:23:09 Esther gnome-session[8134]: gnome-session-binary[8134]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Apr 25 14:23:09 Esther gnome-session-binary[8134]: Unrecoverable failure in required component org.gnome.Shell.desktop
Apr 25 14:23:09 Esther gnome-session-binary[8134]: WARNING: App 'org.gnome.Shell.desktop' respawning too quickly
Apr 25 14:23:09 Esther gnome-session[8276]: Unable to init server: Could not connect: Connection refused
Apr 25 14:23:09 Esther gnome-session-f[8276]: Cannot open display:
Apr 25 14:23:09 Esther org.gnome.SettingsDaemon.Wacom.desktop[8281]: Unable to init server: Could not connect: Connection refused
Apr 25 14:23:09 Esther org.gnome.SettingsDaemon.Wacom.desktop[8281]: Cannot open display:
Apr 25 14:23:09 Esther gnome-session[8134]: gnome-session-binary[8134]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Apr 25 14:23:09 Esther gnome-session-binary[8134]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1
Apr 25 14:23:09 Esther dbus-daemon[889]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.35' (uid=1000 pid=8279 comm="/usr/lib/gsd-rfkill ")
Apr 25 14:23:09 Esther org.gnome.SettingsDaemon.XSettings.desktop[8292]: Cannot open display:
Apr 25 14:23:09 Esther audit: BPF prog-id=27 op=LOAD
Apr 25 14:23:09 Esther audit: BPF prog-id=28 op=LOAD
Apr 25 14:23:09 Esther audit: BPF prog-id=29 op=LOAD
Apr 25 14:23:09 Esther gsd-sharing[8296]: Unable to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

I'd be so grateful for any pointers you might have. Thanks for your patience and, in advance, for your help!

Last edited by tdVzu1t (2021-04-25 20:27:02)

Offline

#2 2021-04-25 13:15:19

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,523

Re: [SOLVED] No graphical interface after system upgrade

https://bbs.archlinux.org/viewtopic.php?id=265563 there're multiple reports reg. 465.24 causing this.
You'll have to dowgrade to 460xx using eg. dkms (see the other thread)

'key you already tried 440xx - the problem is that you cannot just downgrade the driver and if you installed it using the runner from the nvidia homepage (don't do that) nouveau likely isn't blacklisted and there's no guarantee that the much older driver works w/ current kernels at all (because symbols might have been GPL'd away)

Last edited by seth (2021-04-25 13:19:34)

Online

#3 2021-04-25 19:17:45

tdVzu1t
Member
Registered: 2021-04-25
Posts: 5

Re: [SOLVED] No graphical interface after system upgrade

Thank you @seth! So I did a pacman -U:
- nvidia-dkms-460.67-1-x86_64.pkg.tar.zst
- nvidia-utils-460.67-1-x86_64.pkg.tar.zst
- linux-headers-5.11.13.arch1-1-x86_64.pkg.tar.zst
- linux-5.11.13.arch1-1-x86_64.pkg.tar.zst
- linux-lts-headers-5.10.30-1-x86_64.pkg.tar.zst (I'm not sure this was needed)

and, indeed, this fixes everything. I'm very grateful! I assume I can upgrade the kernel without upgrading the nvidia driver, until nvidia fix their bug. I'm glad (and unsettled!) to see that I'm not alone in experiencing this pretty serious bug in nvidia's latest offering...

Offline

#4 2021-04-25 19:39:48

loqs
Member
Registered: 2014-03-06
Posts: 19,014

Re: [SOLVED] No graphical interface after system upgrade

tdVzu1t wrote:

I assume I can upgrade the kernel without upgrading the nvidia driver, until nvidia fix their bug.

Yes as you are using nvidia-dkms and have the kernel headers installed.

Offline

#5 2021-04-25 19:56:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,523

Re: [SOLVED] No graphical interface after system upgrade

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

#6 2021-04-25 20:27:38

tdVzu1t
Member
Registered: 2021-04-25
Posts: 5

Re: [SOLVED] No graphical interface after system upgrade

Thank you @loqs. And thanks for taking the time to explain the protocol, @seth - done!

Offline

Board footer

Powered by FluxBB