summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-11-13 16:20:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-11-13 16:20:41 +0000
commiteb159346e6012651089d7d3633e5c27be1c3881a (patch)
tree67a6b6e63ef71bcb7ec3102e0ebc2460e159bec6
parentee31a3c73ca2a6d92c04a869b44e3f66da0907f8 (diff)
downloaddrakx-kbd-mouse-x11-eb159346e6012651089d7d3633e5c27be1c3881a.tar
drakx-kbd-mouse-x11-eb159346e6012651089d7d3633e5c27be1c3881a.tar.gz
drakx-kbd-mouse-x11-eb159346e6012651089d7d3633e5c27be1c3881a.tar.bz2
drakx-kbd-mouse-x11-eb159346e6012651089d7d3633e5c27be1c3881a.tar.xz
drakx-kbd-mouse-x11-eb159346e6012651089d7d3633e5c27be1c3881a.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) (backported from trunk)
-rw-r--r--NEWS4
-rw-r--r--lib/Xconfig/monitor.pm6
2 files changed, 7 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 10a789d..6934ef4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,7 @@
+- 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"
+
Version 0.64 - 1 October 2008
- XFdrake:
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 },
};
}