You are not logged in.

#1 2021-01-11 23:44:41

vmelo
Member
Registered: 2021-01-11
Posts: 1

GDM fails to load after recent update

Hey everyone,

I started having an issue with GDM after recently updating my system. When I boot up, I'm greeted with a black screen instead of the gdm login screen with some very minor graphics corruption at the top of the screen.

If I Ctrl-Alt-F2 into a terminal, then go back and Ctrl-Alt-F1, GDM loads normally, I can login without issue.

I've tried deleting my ~/.config directory which fixes the problem for the first boot. But this behavior repeats itself after the next reboot without me making any changes to my environment.

Is anyone else experiencing this issue?

My Hardware Specs are:
Ryzen 1700
Vega 64
64 GB DDR4 @ 2933MHz

Offline

#2 2021-01-12 16:22:30

rezza
Member
From: Edinburgh, uk
Registered: 2004-07-08
Posts: 237

Re: GDM fails to load after recent update

I have the exact same issue on both my Arch machines - One is a laptop with a Ryzen 4500u processor with built-in graphics, the other a desktop with an i5 and Nvidia GTX970 graphics. One wayland, one Xorg.

At first I thought I'd been hit by the "insufficient entropy" problem mentioned in the GDM wiki page but it's definitely a separate thing.

Offline

#3 2021-01-12 17:21:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: GDM fails to load after recent update

Usually an issue with KMS not being ready before the graphics server tries to start, enable early KMS for your kernel driver, i.e. amdgpu for the amd systems, and nvidia and nvidia_drm for the prop nvidia driver.

Offline

#4 2021-01-12 18:27:48

rezza
Member
From: Edinburgh, uk
Registered: 2004-07-08
Posts: 237

Re: GDM fails to load after recent update

Yeah I already tried early KMS, and it seems to not have solved the issue sadly.

Offline

#5 2021-01-12 20:23:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: GDM fails to load after recent update

If you did not forget to rerun mkinitcpio after making the relevant adjustment, post a complete

sudo journalctl -b

on reproduction of the issue.

Offline

#6 2021-01-12 21:37:37

rezza
Member
From: Edinburgh, uk
Registered: 2004-07-08
Posts: 237

Re: GDM fails to load after recent update

V1del wrote:

forget to rerun mkinitcpio

Bingo, thanks. Been a while since I've had to do any real maintenance with arch!

Offline

#7 2021-01-13 09:49:45

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: GDM fails to load after recent update

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

#8 2021-04-05 16:57:51

Computer Email
Member
Registered: 2021-03-04
Posts: 29

Re: GDM fails to load after recent update

Do I have to run mkinitcpio every time there is a nvidia driver update? Adding nvidia & nvidia_drm in modules also solved the issue for me. Is this an issue with gdm?

Last edited by Computer Email (2021-04-06 03:03:19)

Offline

#9 2021-04-05 17:10:44

seth
Member
Registered: 2012-09-03
Posts: 49,977

Re: GDM fails to load after recent update

You can make pacman do that for you, https://wiki.archlinux.org/index.php/NVIDIA#Pacman_hook
Afawu it's a race condition and likely introduced by a systemd update.

Online

#10 2021-04-05 17:12:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,424

Re: GDM fails to load after recent update

That's what the pacman hook on the nvidia page is for: https://wiki.archlinux.org/index.php/NVIDIA#Pacman_hook and you only need to do that if there's an nvidia update without an accompanying kernel update which will be seldom. This is as far as I know an issue with systemd and the kernel, as there appears to be no proper interface (... or it's not used at least) with which the kernel can communicate to systemd when it's safe to continue starting the graphical target unit.

Offline

#11 2021-04-05 17:15:28

Computer Email
Member
Registered: 2021-03-04
Posts: 29

Re: GDM fails to load after recent update

Thank you very much to both of you.

Last edited by Computer Email (2021-04-05 17:15:38)

Offline

Board footer

Powered by FluxBB