[ltp] Changing CRT frequency

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Mon, 27 Feb 2006 09:01:08 +0200


Hi,

On 2/27/06, Alex Deucher <alexdeucher@gmail.com> wrote:
> > > > > (e.g., 1024x768-1024x768-60 1024x768-1024x768-85, etc.)
> Sorry about that, I was speaking off the top of my head.  I just meant
> to yse custom modelines in your metamodes.  Use modeline names without
> the reserved characters  (they are just strings, you can call a mode
> 'crazymode' if you like) or if you want clone modes with different
> resolutions, etc. use '+' instead of '-' in your metamodes.

Ah, got it. Actually "+" is also reserved, but with "_" it works
nicely -- almost.
I defined MetaModes like this:

Section "Monitor"
=09...
=09Modeline "CRT_1400x1050_85" 179.26  1400 1504 1656 1912  1050 1051
1054 1103 -hsync +vsync  # 1400x1050 179.3 MHz, 93.8 kHz, 85.0 Hz
=09Modeline "CRT_1400x1050_75" 155.80  1400 1464 1784 1912  1050 1052
1064 1090 +hsync +vsync  # 1400x1050 155.8 MHz, 81.5 kHz, 74.8 Hz
=09...
EndSection

Section "Device"
=09...
=09Option=09    "MetaModes" "1400x1050-CRT_1400x1050_85=20
1400x1050-CRT_1400x1050_75 "
=09...
EndSection

This works, and the Xorg log shows that two metamodes are created, but
RANDR only shows one mode (the first one). Perhaps that's because the
radeon driver reports both modes to have resolution 1400x1050 and
refresh rate 0Hz. So I still can't switch between the modes on the
fly.

  Shem