I run nixos on a framework 13 with the 7840U, running gnome 46 on wayland.
Most of the time the laptop is connected to a usb4 dock and the lid is closed, I only use the external screen.
I also suspend the laptop daily overnight.
What I noticed, is that very often, when I take the laptop off the dock, the internal display does not work, it’s totally black. The system is running fine though, I can connect through SSH, and when plugging it back into the dock, the external display works perfectly. But to get the internal one back on, I need to reboot.
This also happens when the laptop was suspended when I unplugged it.
I’m running nixos with the latest stable kernel and the latest linux-firmware. I have had this issue on both 6.9 and 6.10, possibly also on earlier versions.
I couldn’t find anything useful in the logs, but I can upload the full journal for a boot where I encountered this issue if someone would want to take a look.
I do see the lid open/close events though, so those are coming through, but nothing related to the display or GPU or such.