No subject


Fri Aug 15 14:23:28 PDT 2008


I had already been playing with a second monitor connected for which I needed
the "Virtual" option. Using info from the Debian wiki I added the correct
display size setting for LVDS, after which my xorg.conf had:

Section "Device"
        Identifier      "Intel GM965 Video Controller"
        Option          "Monitor-LVDS"  "Internal Panel"
        Option          "Monitor-VGA"   "External VGA Monitor"
EndSection

Section "Monitor"
        Identifier      "Internal Panel"
        DisplaySize     261 163         # 10.2x6.3"
EndSection

Section "Monitor"
        Identifier      "External VGA Monitor"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Internal Panel"

        Subsection "Display"
                Virtual         3000 2000
        EndSubSection
EndSection

After restarting the X server this resulted in:
(II) intel(0): Output VGA disconnected
(II) intel(0): Output LVDS connected
(II) intel(0): Output TV disconnected
(II) intel(0): Output LVDS using initial mode 1280x800
(II) intel(0): Monitoring connected displays enabled
(II) intel(0): detected 512 kB GTT.
(II) intel(0): detected 7676 kB stolen memory.
(==) intel(0): video overlay key set to 0x101fe
(==) intel(0): Will not try to enable page flipping
(==) intel(0): Triple buffering disabled
(==) intel(0): Intel XvMC decoder disabled
(==) intel(0): Using gamma correction (1.0, 1.0, 1.0)
(**) intel(0): Display dimensions: (261, 163) mm
(**) intel(0): DPI set to (291, 311)

Given that only the LVDS is connected the DPI should be (125, 126) based on the
LVDS mode and the display dimensions. The actual DPI is way too high and can be
shown to be calculated from the (dummy) Virtual mode (for example: 3000 / (261
/ 10 / 2.54) = 291).

Even if multiple displays are connected the Virtual setting is not a useful
value as it only defines the _maximum_ area that can be used by combining
monitors and not the _actual_ area.

Note that if I also add the external VGA monitor in the Screen section, the DPI
will default to (96, 96) again. But if I list them in reverse order (external
VGA first and LVDS second), I get the above values again.
Seems like the display dimensions of the last monitor are used, regardless of
what is actually connected.

Cheers,
FJP


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Nouveau mailing list