[mythtv-users] Setting specific xrandr mode based on the file's refresh rate
Jean-Yves Avenard
jyavenard at gmail.com
Tue Feb 17 04:16:57 UTC 2009
Hi
2009/2/17 Jean-Yves Avenard <jyavenard at gmail.com>:
> 2009/2/17 Boleslaw Ciesielski <bolek-mythtv at curl.com>:
>> See the source for xrandr utility (xrandr.c). I think it has everything you
>> need. In fact
>
> I have to admit I didn't check too much on how to do so..
Spoke too quickly.
>
>>
>> xrandr --verbose
Here is what it returns:
1920x1080 (0x10d) 103.7MHz *current
h: width 1920 start 0 end 0 total 1920 skew 0 clock 54.0KHz
v: height 1080 start 0 end 0 total 1080 clock 50.0Hz
1920x1080 (0x10e) 105.8MHz
h: width 1920 start 0 end 0 total 1920 skew 0 clock 55.1KHz
v: height 1080 start 0 end 0 total 1080 clock 51.0Hz
1920x1080 (0x10f) 107.8MHz
h: width 1920 start 0 end 0 total 1920 skew 0 clock 56.2KHz
v: height 1080 start 0 end 0 total 1080 clock 52.0Hz
See that the refresh rate don't match the reality: it goes from 50 to
112 etc.. all incrementing by 1.
This is due to nvidia generating unique refresh rate...
Jean-Yves
More information about the mythtv-users
mailing list