After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 772805 - Unable to shut-off laptop screen on Wayland
Unable to shut-off laptop screen on Wayland
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: general
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2016-10-12 13:24 UTC by jeanpatrick.guerrero@gmail.com (Account disabled)
Modified: 2021-07-05 13:53 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jeanpatrick.guerrero@gmail.com (Account disabled) 2016-10-12 13:24:36 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
Comment 1 Rui Matos 2016-10-12 14:57:59 UTC
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?
Comment 2 jeanpatrick.guerrero@gmail.com (Account disabled) 2016-10-13 09:06:03 UTC
> 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.
Comment 3 Jan Alexander Steffens (heftig) 2016-10-13 09:30:52 UTC
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.
Comment 4 jeanpatrick.guerrero@gmail.com (Account disabled) 2016-10-13 09:45:01 UTC
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...
Comment 5 Jan Alexander Steffens (heftig) 2016-10-13 10:17:45 UTC
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.
Comment 6 Jan Alexander Steffens (heftig) 2016-10-20 07:40:12 UTC
Never mind on my comment; it was a hardware problem.
Comment 7 Rui Matos 2017-10-20 12:12:37 UTC
Sorry for not getting back to you earlier. Monitor configuration changed substantially in 3.26, any chance you can try with that version?
Comment 8 André Klapper 2017-12-19 14:09:11 UTC
heftig: Could you answer the last comment please?
Comment 9 Jan Alexander Steffens (heftig) 2017-12-19 16:31:38 UTC
I don't have any secondary screens to test with.
Comment 10 GNOME Infrastructure Team 2021-07-05 13:53:17 UTC
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.