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 788242 - External monitor not turned on when docked
External monitor not turned on when docked
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: general
3.26.x
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-27 14:08 UTC by Julian Andres Klode
Modified: 2021-07-05 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log file (203.22 KB, text/x-log)
2017-09-27 14:08 UTC, Julian Andres Klode
Details
org.gnome.Mutter.DisplayConfig.GetCurrentState with lid closed, displays off (3.74 KB, text/plain)
2017-09-27 14:38 UTC, Julian Andres Klode
Details
org.gnome.Mutter.DisplayConfig.GetCurrentState with lid open, displays on (3.84 KB, text/plain)
2017-09-27 14:38 UTC, Julian Andres Klode
Details
org.gnome.Mutter.DisplayConfig.GetCurrentState with lid closed, external on (3.74 KB, text/plain)
2017-09-27 14:38 UTC, Julian Andres Klode
Details
org.gnome.Mutter.DisplayConfig.GetResources with lid closed, screens off (4.48 KB, text/plain)
2017-09-27 14:39 UTC, Julian Andres Klode
Details
org.gnome.Mutter.DisplayConfig.GetResources with lid open, both screens on (4.49 KB, text/plain)
2017-09-27 14:39 UTC, Julian Andres Klode
Details
org.gnome.Mutter.DisplayConfig.GetResources with lid closed, external screen on (4.49 KB, text/plain)
2017-09-27 14:40 UTC, Julian Andres Klode
Details

Description Julian Andres Klode 2017-09-27 14:08:27 UTC
Created attachment 360535 [details]
Log file

I have a ThinkPad X230 with a docking station, and a monitor is connected via 5:4. The system is configured not to suspend when the lid is closed.

Steps:

1. Have your laptop opened, close it.
2. Put in docking station

Expected result: External monitor turns on

Actual result:
- Monitor is not on
- Opening the lid turns on both internal screen and external monitor
- Closing it again turns both off again
- Selecting External monitor only before closing the lid makes it work

This also happens if the laptop was docked, is undocked and the lid is opened. Redocking it then will then reproduce the issue.

When running in X, I could verify with xrandr that the output was indeed available, and placing xrandr --auto --output LVDS-1 --off in my docking script switches the config there.

I attached a journald log of a X11 session of dock, open, close, open, external only close for reference.
Comment 1 Julian Andres Klode 2017-09-27 14:38:05 UTC
Created attachment 360541 [details]
org.gnome.Mutter.DisplayConfig.GetCurrentState with lid closed, displays off
Comment 2 Julian Andres Klode 2017-09-27 14:38:33 UTC
Created attachment 360542 [details]
org.gnome.Mutter.DisplayConfig.GetCurrentState with lid open, displays on
Comment 3 Julian Andres Klode 2017-09-27 14:38:54 UTC
Created attachment 360543 [details]
org.gnome.Mutter.DisplayConfig.GetCurrentState with lid closed, external on
Comment 4 Julian Andres Klode 2017-09-27 14:39:26 UTC
Created attachment 360544 [details]
org.gnome.Mutter.DisplayConfig.GetResources with lid closed, screens off
Comment 5 Julian Andres Klode 2017-09-27 14:39:52 UTC
Created attachment 360545 [details]
org.gnome.Mutter.DisplayConfig.GetResources with lid open, both screens on
Comment 6 Julian Andres Klode 2017-09-27 14:40:11 UTC
Created attachment 360546 [details]
org.gnome.Mutter.DisplayConfig.GetResources with lid closed, external screen on
Comment 7 Julian Andres Klode 2017-09-27 14:41:41 UTC
I also just configured this once via gnome-control-center, and now it seems to work, so I guess the default is wrong somehow.
Comment 8 Jonas Ådahl 2017-11-03 08:42:50 UTC
Could you test the patches in bug 788915?
Comment 9 Julian Andres Klode 2017-11-23 22:14:45 UTC
Oh sorry, I forgot about it. I'll do some testing this weekend, I guess.
Comment 10 GNOME Infrastructure Team 2021-07-05 13:45:28 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.