FS#35727 - [xorg-xrandr] Unable to select refresh rates with decimal place, Making some modes unselectable

Attached to Project: Arch Linux
Opened by Michael.S.G. (ozfalcon) - Sunday, 09 June 2013, 00:16 GMT
Last edited by Jan de Groot (JGC) - Monday, 10 June 2013, 22:31 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: Unable to select refresh rates with decimal place, Making some modes unselectable at all.
I do not want to use labels to select modes. I want to simply select refresh only ie xrandr -r xy.zz

The rate in xrandr appears to be a short. http://www.x.org/archive/X11R7.5/doc/man/man3/Xrandr.3.html
And docs says it picks nearest match.
This is not acceptable for the following situation:

With 3 refresh rates setup, The middle is NEVER able to be selected because it's a short int:
Nearest match to 60 IS 60
Nearest match to 61 IS 61

60
60.5
61

Additional info:
* xrandr 1.4 I believe

Note: Using xrand 1.2 mode fails to work or I don't understand it's usage.
eg.
xrandr --q12 -r 60.5


This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 10 June 2013, 22:31 GMT
Reason for closing:  Upstream
Comment by Jelle van der Waa (jelly) - Sunday, 09 June 2013, 11:10 GMT
Which video driver?
Comment by Michael.S.G. (ozfalcon) - Sunday, 09 June 2013, 15:04 GMT
Two different systems, But same (Imaged) Arch.
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RC410 [Radeon Xpress 200/1100]
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 02)

>Which video driver?
Intel and Radeon.
Comment by Jan de Groot (JGC) - Monday, 10 June 2013, 22:07 GMT
This is just how the RANDR interface was built. Rate is passed as short, so you can't pass anything which is not an integer. This is not the place to file a bug for this, as upstream decides the protocol.

Loading...