You are not logged in.

#1 2020-12-26 16:47:00

gwendal
Member
Registered: 2020-12-26
Posts: 7

[solved] gdm won't start at boot but works fine if started manually

Hello,
I've just installed arch, I come from Ubuntu.
I start gdm with 'systemctl enable gdm' then reboot, When the computer boots I get a black screen.
but if I run 'systemctl restart gdm' from other tty, it works.

Here the Xorg.0.log when it's not working. https://pastebin.com/rLEpS7xW

I've tried with and without xf86-video-intel installed, same for xf86-video-nouveau.

Thanks, have a nice day.
Gwendal

Last edited by gwendal (2020-12-29 13:23:02)

Offline

#2 2020-12-26 17:27:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,361

Re: [solved] gdm won't start at boot but works fine if started manually

Try enabling early KMS for i915 and nouveau https://wiki.archlinux.org/index.php/Ke … de_setting

Offline

#3 2020-12-26 19:40:42

machsix
Member
Registered: 2020-12-08
Posts: 3

Re: [solved] gdm won't start at boot but works fine if started manually

I have the same issue with AMD GPU + lightDM. This issue is similar to https://bbs.archlinux.org/viewtopic.php?id=261852.

I added "amdgpu" to MODULES of

/etc/mkinitcpio.conf

, the regenerate initramfs. It fixed the issue. However, as the wiki suggests

Intel, Nouveau, ATI and AMDGPU drivers already enable KMS automatically for all chipsets, so you need not install it manually.

. I'm not sure why it happens.

Last edited by machsix (2020-12-26 19:52:33)

Offline

#4 2020-12-26 19:54:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,361

Re: [solved] gdm won't start at boot but works fine if started manually

They enable KMS automatically, it can still happen that the system starts up too fast and tries to invoke xorg before the graphics card driver is initialized. By adding them to mkinitcpio they should get initialized before the actual system is starting and thus be ready when the graphical session intends to run.

Offline

#5 2020-12-29 13:22:08

gwendal
Member
Registered: 2020-12-26
Posts: 7

Re: [solved] gdm won't start at boot but works fine if started manually

Huge thank you, it's working now !

Offline

Board footer

Powered by FluxBB