! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-settings does not handle monitor disconnection properly
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Xfsettingsd

Comments

Description Tom Yan 2015-09-03 20:24:10 CEST
With xfce4-settings installed, current mode of monitor is not preserved on disconnection, so when the monitor is connected again, it will simply be in "off" state.

It does not kill X or xfce though, so `xrandr --output OUTPUT --auto`, for example, makes the monitor lights up again and nothing is lost.

Without xfce4-settings installed, this problem does not occur.

Unlike VGA and DVI, for HDMI and DP connection, powering off the monitor (but not DPMS off) is equivalent to disconnection, so this would be quite a problem for those prefer to do that when the monitor is not needed or when they are away.

Attached is a debug log produced by the command here: http://docs.xfce.org/xfce/xfce4-settings/xfsettingsd

Also compare the two sets of xrandr outputs; They are produced by running `xrandr` after disconnection and reconnection of the monitor with(out) xfce4-settings installed.
Comment 1 Tom Yan 2015-09-03 20:24:35 CEST
Created attachment 6443 
XFSETTINGSD_DEBUG=1 xfsettingsd --replace --no-daemon
Comment 2 Tom Yan 2015-09-03 20:27:17 CEST
Created attachment 6444 
xrandr outputs without xfce4-settings installed
Comment 3 Tom Yan 2015-09-03 20:28:50 CEST
Created attachment 6445 
xrandr outputs with xfce4-settings installed
Comment 4 Tom Yan 2015-09-03 20:33:57 CEST
Created attachment 6446 
xrandr outputs without xfce4-settings installed
Comment 5 Jack Snodgrass 2015-09-20 12:28:52 CEST
*** Bug 12219 has been marked as a duplicate of this bug. ***
Comment 6 Robert "Bob" Whitinger 2015-11-26 18:01:02 CET
I also duplicate this problem in a single monitor configuration with an hdmi interface using the xfce spin of Fedora 23.  I notice that the problem also occurs in Fedora 22, however Fedora 21 operates normally.  That puts some time boundaries around when this regression slipped in.

Unfortunately my Seiki 39" monitor insists on powering down after a few hours of non use, so the problem is especially annoying.  Thanks Tom Yan for the workaround hint about xrandr --output HDMI-0 --auto.  I've set up a screen session in the context of the xfce environment, then ssh into that screen session and run the xrandr command.  That workaround restores signal to the monitor and nothing is lost.  It's a bit ugly, but at least we have a workaround.
Comment 7 Jack Snodgrass 2015-11-26 18:27:36 CET
I just use an xfce launcher that does: 

xfsettingsd --replace

and when my monitor configuration gets screwed up when my tv monitor gets powered on, I just click the launcher that runs: 
xfsettingsd --replace

and my original monitor settings are restored. 

jack
Comment 8 Michael Neuffer 2016-05-01 11:19:47 CEST
This bug seems replated:
https://bugzilla.xfce.org/show_bug.cgi?id=12430
Comment 9 Skunnyk editbugs 2017-06-23 22:27:48 CEST
Does #11107 (available in xfce4-settings 4.12.1) fix your issue ?
Comment 10 Yan Pas 2017-06-25 00:03:33 CEST
I haven't tested but almost sure that it fixes, may be closed
Comment 11 Skunnyk editbugs 2017-06-25 22:41:51 CEST
Closing, thank you.

Bug #12184

Reported by:
Tom Yan
Reported on: 2015-09-03
Last modified on: 2017-06-25
Duplicates (1):
  • 12219 display settings are changed when an HDMI attached monitor is turned back on

People

Assignee:
Nick Schermer
CC List:
8 users

Version

Version:
4.12.0

Attachments

Additional information