aboutsummaryrefslogtreecommitdiffstats
path: root/monitor-probe-using-X
diff options
context:
space:
mode:
Diffstat (limited to 'monitor-probe-using-X')
-rwxr-xr-xmonitor-probe-using-X5
1 files changed, 5 insertions, 0 deletions
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);