diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-11-13 16:19:57 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-11-13 16:19:57 +0000 |
commit | cfd406c8fe8419bbc0e703953fd9d8251c7df74d (patch) | |
tree | 7f5fdf223966609d8e8808854e977f5edabd0345 /lib/Xconfig/monitor.pm | |
parent | aaa78f725aa22dddc2d2af8dd424550932fd866a (diff) | |
download | drakx-kbd-mouse-x11-cfd406c8fe8419bbc0e703953fd9d8251c7df74d.tar drakx-kbd-mouse-x11-cfd406c8fe8419bbc0e703953fd9d8251c7df74d.tar.gz drakx-kbd-mouse-x11-cfd406c8fe8419bbc0e703953fd9d8251c7df74d.tar.bz2 drakx-kbd-mouse-x11-cfd406c8fe8419bbc0e703953fd9d8251c7df74d.tar.xz drakx-kbd-mouse-x11-cfd406c8fe8419bbc0e703953fd9d8251c7df74d.zip |
- XFdrake:
o generic flat planel must allow "800x480 @ 60.00 Hz (GTF) hsync: 29.82 kHz"
so "HorizSync 31.5-90" is too strict, generating "HorizSync 29.5-90"
(especially useful when the resolution is given by dmitable)
Diffstat (limited to 'lib/Xconfig/monitor.pm')
-rw-r--r-- | lib/Xconfig/monitor.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/Xconfig/monitor.pm b/lib/Xconfig/monitor.pm index 36222af..6c50b11 100644 --- a/lib/Xconfig/monitor.pm +++ b/lib/Xconfig/monitor.pm @@ -208,8 +208,8 @@ sub adjust_HorizSync_from_edid { my ($hmin, $hmax) = $monitor->{HorizSync} =~ /(\d+)-(\d+)/ or return; if ($hmin > 45) { - log::l("replacing HorizSync $hmin-$hmax with 31.5-$hmax (allow 800x600)"); - $monitor->{HorizSync} = "31.5-$hmax"; + log::l("replacing HorizSync $hmin-$hmax with 29.5-$hmax (allow 800x600)"); + $monitor->{HorizSync} = "29.5-$hmax"; } } #- the VertRefresh range is too weird @@ -314,7 +314,7 @@ sub generic_flat_panel_ { { VendorName => 'Generic', ModelName => "Flat Panel ${X}x${Y}", - HorizSync => '31.5-' . ($X > 1920 ? '100' : '90'), VertRefresh => '60', + HorizSync => '29.5-' . ($X > 1920 ? '100' : '90'), VertRefresh => '60', preferred_resolution => { X => $X, Y => $Y }, }; } |