Last night I upgraded my Thinkpad T470 from 39 to 41 and then was able to log in and upgrade from 41 to 43, but booting 43 is repeatedly getting stuck on the black screen with a single underscore, after [ OK ] Started gdm.service - GNOME Display Manager. I did find the other threads and help online suggesting it was nvidia drivers (I did have them on rpmfusion already), so I’ve tried adding nomodeset plymouth.enable=0 to boot, which isn’t getting me to the login screen, but sometimes helps me get to a TTY.
The TTYs are hard to use most of the time because they keep losing focus for some reason. I get usually around 2-5 seconds of cursor blinking each time I hit ctrl-alt-Fx, and sometimes it just freezes permanently and I can neither switch nor type anything (but ctrl-alt-del does force a reboot). Only occasionally I can get in.
sudo dnf upgrade --refreshto upgrade all packagessudo dnf remove '*nvidia*'to remove all nvidia packages in case of conflictsudo akmods --force --rebuild, initially failed as akmods wasn’t installedsudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cudato reinstall driverssudo dnf reinstall shim\* grub2\*had some error messages the first time but on the second time was fine. Still don’t see the new kernel on boot.
Presently, booting with nomodeset seems to get stuck after the GDM service is started, and sometimes with nomodeset plymouth.enable=0 I can login on a TTY.
I’ve only had the option to boot with kernel 6.5.12-100.fc37.x86_64 during all of this (booting the rescue image just freezes), but kernel-devel is upgraded to 6.17.12-300.fc43.x86_64. sudo akmods --force --rebuild gives me an error that development files for 6.5.12-100.fc37 are missing. Confirmed I have fc41 and fc43 via dnf list installed kernel though.
What should I do? Do I need to update grub to use the new kernel, run some other specific dnf commands, or use my live USB to repair the install (couldn’t find an option for that)?
If I need to run commands by booting into the live USB instead of rolling the dice on the TTYs, how do I mount and chroot into the LUKS-encrypted hard drive?
EDIT: I was finally able to remember to check journalctl when I had a working TTY. All my boots since updating to 43 include gdm or gnome-session-i dumping core about once a second (copied manually or by OCR):
Module /usr/libexec/gnome-session-init-worker from rpm gnome-session-49.2-2.fc43.x86_64
Stack trace:
g_log_structured_array
[...]
gdm[1903]: Gdm: GdmDisplay: Session never registered, failing
gdm[1903]: Child process -1977 was already dead.
along with PAM failures in user@60579.service, like Authentication service cannot retrieve authentication info, unable to dlopen(/usr/lib64/security/pam_lastlog.so), spawning /usr/lib/systemd/systemd: Operation not permitted, etc.
gnome-session-wayland failed to start
gdm dumps core at g_logv from g_log from get_fallback_session_name.
If these are crashing because the kernel is too old, then it goes back to needing to update grub to use the new kernel. Otherwise, not sure.