aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnssi Hannula <anssi@mandriva.org>2009-08-15 20:56:13 +0000
committerAnssi Hannula <anssi@mandriva.org>2009-08-15 20:56:13 +0000
commitf01b1179e9551815f1aef7d3afc439aa8c3af9c0 (patch)
treed880d48de28c02f767fe89ba9f4914e22512a7d3
parent8644ab905a6a0800852d2f4dc3f5b39185c397c3 (diff)
downloadmonitor-edid-f01b1179e9551815f1aef7d3afc439aa8c3af9c0.tar
monitor-edid-f01b1179e9551815f1aef7d3afc439aa8c3af9c0.tar.gz
monitor-edid-f01b1179e9551815f1aef7d3afc439aa8c3af9c0.tar.bz2
monitor-edid-f01b1179e9551815f1aef7d3afc439aa8c3af9c0.tar.xz
monitor-edid-f01b1179e9551815f1aef7d3afc439aa8c3af9c0.zip
monitor-probe-using-X: use resolution from LVDS initial mode when X
reports that it is exact, making it work with nouveau driver
-rw-r--r--NEWS3
-rwxr-xr-xmonitor-probe-using-X5
2 files changed, 8 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 00f41e3..b26903c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
- monitor-edid, monitor-get-edid:
o support getting EDID from kernel DRM when kernel mode-setting is
enabled (Anssi Hannula)
+- monitor-probe-using-X:
+ o use resolution from LVDS initial mode when X reports that it is exact,
+ making it work with nouveau driver (Anssi Hannula)
Version 2.1 - 7 July 2008
diff --git a/monitor-probe-using-X b/monitor-probe-using-X
index 1b6299c..d762d4a 100755
--- a/monitor-probe-using-X
+++ b/monitor-probe-using-X
@@ -182,6 +182,11 @@ sub parse_X_log {
# (II) intel(0): Modeline "1280x800"x0.0 68.88 1280 1296 1344 1410 800 804 807 815 (48.9 kHz)
|| $log =~ m!BIOS panel mode is bigger than probed programmed mode, continuing with BIOS mode.*?BIOS mode:.*?Modeline "(\d+)x(\d+)"!s
+ # use xorg-server exact initial mode (hw/xfree86/modes/xf86Crtc.c) when output name is LVDS* (laptop TFT)
+ # (II) NOUVEAU(0): Using exact sizes for initial modes
+ # (II) NOUVEAU(0): Output LVDS-0 using initial mode 1440x900
+ || $log =~ m!Using exact sizes for initial modes.*?Output LVDS[0-9-]* using initial mode (\d+)x(\d+)!s
+
or return;
my ($X, $Y) = ($1, $2);