AsahiLinux / linux

Linux kernel source tree
Other
2.17k stars 84 forks source link

GDM/Gnome Shell fails to start when when booting MacBook Pro M1 with external display #250

Open danberindei opened 6 months ago

danberindei commented 6 months ago

Kernel 6.6.3-405.asahi.fc39.aarch64+16k

[    5.500617] denulu-m1 gnome-shell[1216]: Failed to open gpu '/dev/dri/card1': No suitable mode setting backend found
[    5.501389] denulu-m1 org.gnome.Shell.desktop[1216]: Failed to setup: No GPUs found

@jannau suggested it's probably caused by gdm starting faster than the display is probed/initialized.

Boot log: boot.log

The display works fine when I connect it after booting, but Gnome shows it as 'Unknown display', vs. 'Dell Inc. 24"' when connected to a Lenovo laptop.

Disconnect + connect log: disconnect-reconnect.log

danberindei commented 6 months ago

I just had the Lenovo fail to detect the same external display when resuming from sleep. No video output, and in the display settings it was replaced with an 'Unknown Display' that supposedly only supports 640x480. So maybe this isn't an Asahi-specific bug...