GNOME Bugzilla – Bug 772805
Unable to shut-off laptop screen on Wayland
Last modified: 2021-07-05 13:53:17 UTC
On a Wayland session, when I shut off my laptop screen (using the Fn + F6 keys), the screen turns back on short after shutting it off. It works fine on a Xorg session. GNOME 3.22.1+2+g5a08886-1 (@ Arch Linux) Intel HD 4400 with modesetting driver
What is this key supposed to do? Can you post here the libinput-debug-events output for that key? Do you see any relevant log output (use journalctl) when this happens?
> What is this key supposed to do? Turn off the backlight. > Can you post here the libinput-debug-events output for that key? event9 KEYBOARD_KEY +4.66s KEY_SWITCHVIDEOMODE (227) pressed event9 KEYBOARD_KEY +4.66s KEY_SWITCHVIDEOMODE (227) released Nothing about it in journalctl.
I'm pretty sure SWITCHVIDEOMODE is supposed to switch between display modes like internal-only, external-only and mirroring. Seems reasonable to keep the internal display enabled if it's the only display connected.
I think there is a confusion between keys. Switching of video mode is supposed to be Fn + F5 on my keyboard (and this is what it does). However Fn + F6 is doing the same thing whereas this is clearly the key supposed to turn off the backlight. GNOME 3.20 on Wayland was working fine on that, so something broke here...
FWIW I'm seeing something similar in Xorg: Pressing the sequence to lock the screen locks the screen, turns off the display, but since 3.22 it then turns the screen right on again half a second later. After a while it turns off again and stays off.
Never mind on my comment; it was a hardware problem.
Sorry for not getting back to you earlier. Monitor configuration changed substantially in 3.26, any chance you can try with that version?
heftig: Could you answer the last comment please?
I don't have any secondary screens to test with.
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/mutter/-/issues/ Thank you for your understanding and your help.