! 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 !
Monitor Resolution change no mouse/keyboard wakeup on sleep
Status:
RESOLVED: MOVED
Product:
Xfce4-settings
Component:
Display Settings

Comments

Description appropriatemisbehavior 2019-05-03 14:35:48 CEST
Created attachment 8478 
Log File

Hi,

I have been going around on this with support at System76, and we think the issue lies within Xfce, here is why.

System= System76 Meerkat
running Xubuntu 19.04 (though the issue also appeared on 18.10)
The Xfce is the latest version from the repositories, though xfsettingsd no longer works, see below.
The monitor is connected with HDMI and the mouse and keyboard are USB 2.
System updates occur every weekday, so it is up to date.

The problem came up when I found that the monitor changes resolution. Looking at Settings/Display the first thing I noticed was that it is recognizing the wrong monitor. I have an LG 21.5" monitor and the dialog sees LG 23" at 1920x1080. I need to change that resolution to 1680x1050 in order to see everything on the screen. When I reboot, the resolution does not change. When I let it go to sleep, I cannot wake it up with the mouse or keyboard, I have to turn the monitor off, then back on and when it comes up, it is back to the wrong resolution. I have set the Settings/Display dialog to configure new displays when connected, so the dialog shows up after turning the monitor on. xrandr --output DP-1 --mode 1680x1050 will also reset the monitor correctly.

After some efforts without success, System76 suggested I try a different desktop, so I installed Gnome-Desktop and GDM, which I made default when asked, and removed Xfce, which included removing Xubuntu. Of interest here is that sleep or suspend did not change the resolution and the mouse and keyboard both worked to re-awaken the monitor. Reboot did not change the resolution. I did notice that the original Display setting recognized by GDM was different than LG 23", unfortunately I did not capture what that said, and consequent looking at that dialog, it was back to LG 23", but still worked. I have since removed the Gnome Desktop and GDM and re-installed Xfce4 along with Xubuntu. The only difference I have noticed since that is that xfsettingsd returns an error message:


dbind-WARNING **: 08:53:25.129: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

All the other symptoms returned. The monitor changes resolution when turned off and back on, the mouse and keyboard does not re-awaken after sleep, and the resolution does not change by rebooting.

If more information is needed, please let me know.

Thanks for your time and attention.

Appropriate

Sorry if this is repeated, my Internet went down for about 6 hours yesterday, just as I was posting this.
Comment 1 Aaron Honeycutt 2019-05-06 16:14:35 CEST
I'd like to confirm this does happen as well and I've seen similar issues as well.
Comment 2 Simon Steinbeiss editbugs 2019-05-10 21:53:24 CEST
Please check the output of "xrandr" on the commandline and compare that the Xfce's display dialog.
Comment 3 appropriatemisbehavior 2019-05-10 22:57:18 CEST
Hi Simon:

Here is the xrandr output:

Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 8192 x 8192
DP-1 connected primary 1680x1050+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080     60.00 +  60.00    60.00    50.00    50.00    59.94    30.00    24.00    29.97    23.98  
   1920x1080i    60.00    60.00    50.00    50.00    59.94  
   1680x1050     59.95* 
   1400x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1440x900      59.90  
   1280x800      59.91  
   1152x864      75.00  
   1280x720      60.00    60.00    50.00    59.94  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       75.00    60.32  
   720x576       50.00    50.00  
   720x480       60.00    60.00    59.94    59.94  
   640x480       75.00    60.00    59.94  
   720x400       70.08  
DP-2 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)

All of the resolutions exist in the display dialog, except the interlaced items (example 1080i). Xrandr shows a refresh rate of 59.96* for resolution 1680x1050 (the one I am using) but the dialog shows 60.0 HZ for that resolution. I did not verify the other refresh rates. Do you need that?

Appropriate
Comment 4 Simon Steinbeiss editbugs 2019-05-11 00:42:27 CEST
FWIW the xfsettingsd warning message (dbind-WARNING) can be ignored, it doesn't mean xfsettingsd isn't running anymore.

In xrandr's output you'll notice to "special" characters.

"*"  : the currently applied resolution (you already noticed that)
"+" : the "preferred" resolution (each display can set that somehow)

Xfce in general tries to always set the preferred resolution first - maybe other Desktop Environments handle this differently, but this is also very close to what X11 itself would do (with RandR).
Not sure why your display sets that resolution...

This problem will go away with xfce4-settings >= 4.13.5 (available in 19.10 or in the Xubuntu developers PPA, if you wanna upgrade your version in 18.10: https://launchpad.net/~xubuntu-dev/+archive/ubuntu/experimental - just make sure to only upgrade that one package when adding the PPA!).
Read more about it here: https://simon.shimmerproject.org/2018/10/02/new-xfce4-settings-release/

Long story short: we won't be able to address this problem in Xfce 4.12.
Comment 5 appropriatemisbehavior 2019-05-11 00:56:54 CEST
Hi Simon,

Thanks for the follow through. I am already on 19.04, and I don't see this as a reason to revert back. I guess I will wait the 6 months (or is it 5 now) for 19.10.

One issue I see from your comment is that the wrong ''preferred'' resolution is being selected. Now is that because something misidentified my monitor or is it because somewhere the wrong defaults were set for this monitor?

Thank you for your time and effort,

Appropriate
Comment 6 Git Bot editbugs 2020-05-28 23:12:43 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-settings/-/issues/130.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15353

Reported by:
appropriatemisbehavior
Reported on: 2019-05-03
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
2 users

Version

Version:
4.13.4

Attachments

Log File (302.01 KB, application/x-compressed-tar)
2019-05-03 14:35 CEST , appropriatemisbehavior
no flags

Additional information