Hi everyone,
I'm experiencing a strange display issue on my Ubuntu laptop that recently started happening on two different machines (including one at my office).
The Symptom:
Out of nowhere, the built-in laptop monitor completely goes dark.
Immediately after the monitor dies, the OS acts as if the system should go to sleep and suspends the machine.
If I wake it back up and plug in an external monitor, the external monitor works perfectly fine as the primary display, but the OS behaves as if the built-in monitor doesn't exist at all.
The issue is intermittent. A few minutes ago, it suddenly went back to normal and the built-in display worked again, only to die completely a few minutes later.
-It occurs randomly after booting the OS, but never on the BIOS screen.
The display setting shows only one monitor (the external monitor) when the built-in monitor is not working.
Note: The BIOS still successfully recognizes the built-in monitor even when Ubuntu cannot see it.
Because this is happening on two separate physical machines, I suspect a recent software, kernel, or power management update might be causing a conflict or triggering a false "lid closed" event.
System Details:
OS: Ubuntu 24.04
Kernel: 6.17.0-35-generic
Session Type: wayland
Has anyone else run into this recently? What logs should I look into next to isolate whether this is a systemd-logind lid-switch bug or a graphics driver issue?