GNOME Bugzilla – Bug 788242
External monitor not turned on when docked
Last modified: 2021-07-05 13:45:28 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.
Created attachment 360541 [details] org.gnome.Mutter.DisplayConfig.GetCurrentState with lid closed, displays off
Created attachment 360542 [details] org.gnome.Mutter.DisplayConfig.GetCurrentState with lid open, displays on
Created attachment 360543 [details] org.gnome.Mutter.DisplayConfig.GetCurrentState with lid closed, external on
Created attachment 360544 [details] org.gnome.Mutter.DisplayConfig.GetResources with lid closed, screens off
Created attachment 360545 [details] org.gnome.Mutter.DisplayConfig.GetResources with lid open, both screens on
Created attachment 360546 [details] org.gnome.Mutter.DisplayConfig.GetResources with lid closed, external screen on
I also just configured this once via gnome-control-center, and now it seems to work, so I guess the default is wrong somehow.
Could you test the patches in bug 788915?
Oh sorry, I forgot about it. I'll do some testing this weekend, I guess.
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.