gnome-shell fails to start due to assertion in meta_monitor_normal_generate_modes
Affected version
- Ubuntu 23.04
- mutter/lunar-updates,now 44.3-0ubuntu1 amd64
- XOrg
- nvidia-driver-535 535.86.05-0ubuntu0.23.04.1
- Dell Inspiron 7590 laptop with hybrid graphics (NVIDIA GTX 1650 Max-Q + i7-9750H/UHD Graphics 630).
- I usually disable the laptop screen and use a 4k HDMI monitor instead, but this problem also occurs without it
Bug summary
gnome-shell crashes at startup due to the follwing assertion:
gnome-shell[3426]: libmutter:ERROR:../src/backends/meta-monitor.c:791:meta_monitor_normal_generate_modes: assertion failed: (crtc_mode != output_info->preferred_mode)
gnome-shell[3426]: Bail out! libmutter:ERROR:../src/backends/meta-monitor.c:791:meta_monitor_normal_generate_modes: assertion failed: (crtc_mode != output_info->preferred_mode)
From a brief look at the code, !3061 (merged) and #2858 (closed) might be relevant, because the assertion is only reachable when replace
is false.
Steps to reproduce
a)
- Boot system with
kernel-6.2.0-26-generic
- White screen that says "Oh no! Something has gone wrong." before gdm3. Annoyingly
ctrl+alt+f4
only displays an underscore but no login prompt.
b)
- Boot system with
kernel-6.2.0-25-generic
- Similar white screen after logging in with X session. Wayland works fine.
What happened
I think Mutter prevented my system from booting after an update.
What did you expect to happen
Mutter should not crash in meta_monitor_normal_generate_modes.
Relevant logs, screenshots, screencasts etc.
journalctl_kernel-6.2.0-26-generic_before_gdm3.txt
Edited by Robert Obkircher