! 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 !
Wrong refresh rate shown in xfce4-display-settings
Status:
RESOLVED: INVALID
Product:
Xfce4-settings
Component:
Display Settings

Comments

Description haarp 2019-04-25 13:36:31 CEST
On my Linux OS, using modesetting on the Intel graphics of a Thinkpad W530 laptop, xfce4-settings shows a wrong refresh rate for the internal panel.

'xrandr' offers these refresh rates for 1920x1080:

60.00, 59.97, 59.96, 59.93, 50.00

'xfce4-display-settings' offers these refresh rates for 1920x1080:

60.0, 119.9, 60.0, 59.9, 50.0

Where did 119.9 come from? If I select it, it actually uses 59.97. Somehow, the displayed value got doubled, but only for this one specific entry. Weird.
Comment 1 Simon Steinbeiss editbugs 2020-05-28 00:17:29 CEST
Odd I've never seen that. Without being able to reproduce this'll be hard to fix...
Comment 2 haarp 2020-05-28 12:09:52 CEST
I can still reproduce on a different Thinkpad with xfce4-setings-4.15.0. Something in the rounding algo seems to be broken. Here's a map of refresh rates and their representations in display-settings.

59.93 -> 59.9
59.94 -> 199.9
59.95 -> 60.0
59.96 -> 199.9
59.97 -> 199.9
59.98 -> 60.0
59.99 -> 120.0
60.00 -> 120.0
60.01 -> 120.0
60.04 -> 120.1
60.05 -> 120.1
60.32 -> 60.3

Weird, huh?
Comment 3 Theo Linkspfeifer editbugs 2020-05-28 12:26:22 CEST
GNOME report for the same bug:
https://gitlab.gnome.org/GNOME/mutter/-/issues/275
Comment 4 Simon Steinbeiss editbugs 2020-05-28 19:53:09 CEST
This is a bug in xrandr not xfce4-settings.

Hopefully this gets fixed soon upstream.

Bug #15327

Reported by:
haarp
Reported on: 2019-04-25
Last modified on: 2020-05-28

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
4.13.5

Attachments

Additional information