[intel, xrandr] enforcing resolution on startup, PreferredMode anomaly
Dag Bakke
dag at bakke.com
Wed Sep 12 12:57:34 PDT 2007
Executive summary:
all is well, but Xorg.0.log claims that option "PreferredMode" isn't
used, even though it appears to be.
For the benefit of others in a similar type of floating vehicle:
I have a slightly broken BIOS (AOpen i915GMx-F, claims LVDS is
connected) and a TV lying about its capabilities, which together require
the following xorg.conf:
Section "Device"
Identifier "Card0"
Driver "intel"
Option "monitor-LVDS" "LVDS"
Option "monitor-TMDS-1" "DVI"
EndSection
Section "Monitor"
Identifier "LVDS"
Option "disable" "true"
EndSection
Section "Monitor"
Identifier "DVI"
Modeline "1366x768R" 72.25 1366 1416 1448 1528 768 771 781
790 +hsync -vsync
Option "PreferredMode" "1366x768R"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "DVI"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1366x768R"
EndSubSection
EndSection
With this xorg.conf, the (lightly edited) log claims:
(II) intel(0): Output VGA using monitor section DVI
(**) intel(0): Option "PreferredMode" "1366x768R"
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): Output LVDS using monitor section LVDS
(**) intel(0): Option "Disable" "true"
(II) intel(0): Output LVDS disabled by config file
(II) intel(0): Output TMDS-1 connected
(II) intel(0): Output TMDS-1 using initial mode 1366x768R
(WW) intel(0): Option "PreferredMode" is not used
xrandr says:
1366x768R 59.9*+
so all is well. Apart from the WW above.
Axing the
Option "PreferredMode" "1366x768R"
line from the xorg.conf, I get:
(II) intel(0): Output VGA using monitor section DVI
(II) intel(0): I2C bus "CRTDDC_A" initialized.
(II) intel(0): Output LVDS using monitor section LVDS
(**) intel(0): Option "Disable" "true"
(II) intel(0): Output LVDS disabled by config file
(II) intel(0): Output TMDS-1 connected
(II) intel(0): Output TMDS-1 using initial mode 1280x720
and xrandr says:
1280x720 60.0*+
which doesn't match the physical resolution of my LCD TV.
Thanks,
Dag B.
More information about the xorg
mailing list