You are not logged in.

#1 2023-01-07 01:45:04

iFlxy
Member
Registered: 2023-01-07
Posts: 20

Stuck at blinking cursor after Nvidia driver update

Hi

After updating Nvidia drivers on my PC (I’m pretty sure I used yay by accident) I’m unable to do anything after I boot up my system, only thing that appears on the screen after “loading initial ramdisk” is a blinking cursor. I tried chrooting into the system and uninstalling Nvidia drivers, and it solved the issue, but also created a new one, I don’t have drivers now. I found a post describing my issue, I tried reinstalling nvidia, nvidia-utils and nvidia-settings but it didn’t fix my issue.

journalctl -b

Please let me know if I should provide more information, because It’s probably not enough, but I don’t know what information to provide.

Thanks in advance.

Offline

#2 2023-01-07 09:43:20

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

Re: Stuck at blinking cursor after Nvidia driver update

Please don't copy and paste out of the pager, the journal is capped.

Jan 07 01:49:31 iflxypc gnome-shell[530]: Added device '/dev/dri/card0' (nvidia-drm) using atomic mode setting.
Jan 07 01:49:31 iflxypc gnome-shell[530]: Failed to initialize accelerated iGPU/dGPU framebuffer sharing: Not hardware accelerated
Jan 07 01:49:31 iflxypc gnome-shell[530]: Created gbm renderer for '/dev/dri/card0'
Jan 07 01:49:31 iflxypc gnome-shell[530]: Boot VGA GPU /dev/dri/card0 selected as primary

You reached the graphical target, GDM started and

Jan 07 01:51:21 iflxypc systemd-logind[434]: New session 3 of user ameliakucala.

you logged in (to a gnome/wayland session)

This doesn't fit your header

journalctl -b (output after booting into the system (after chrooting and executing sudo pacman -R nvidia nvidia-utils nvidia-settings))

because the nvidia modules are there and loaded.
But then you're hitting

Jan 07 01:51:26 iflxypc gnome-shell[1601]: libEGL warning: egl: failed to create dri2 screen
Jan 07 01:51:26 iflxypc gnome-shell[1601]: libEGL warning: egl: failed to create dri2 screen
Jan 07 01:51:26 iflxypc gnome-shell[1601]: Failed to initialize glamor, falling back to sw

I suspect what's going on is that you've the nvida kernel module in the initramfs (likewise nouveau is still blocked)
Re-install the nvida packages (notably nvidia and nvidia-utils) and try to boot the multi-user.target (2nd link below) and post the journal for a failing GDM/gnome boot, eg.

sudo journalctl -b -5 | curl -F 'file=@-' 0x0.st

for 5 boots ago (alter the number to match a boot where you were facing the decribed problem)

Offline

#3 2023-01-07 12:36:17

iFlxy
Member
Registered: 2023-01-07
Posts: 20

Re: Stuck at blinking cursor after Nvidia driver update

Hi, thanks for your help

Here's the output of sudo journalctl -b -1 | curl -F 'file=@-' 0x0.st after installing nvidia drivers again.

Offline

#4 2023-01-07 14:21:36

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

Re: Stuck at blinking cursor after Nvidia driver update

Jan 07 13:10:36 iflxypc kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  525.60.11  Wed Nov 23 22:49:17 UTC 2022
Jan 07 13:10:39 iflxypc /usr/lib/gdm-x-session[574]: (II) NVIDIA dlloader X Driver  525.78.01  Mon Dec 26 05:44:39 UTC 2022
seth wrote:

I suspect what's going on is that you've the nvida kernel module in the initramfs (likewise nouveau is still blocked)

https://wiki.archlinux.org/title/NVIDIA#pacman_hook

Offline

Board footer

Powered by FluxBB