[ltp] xorg dualhead-configuration on r50

Jan Girlich linux-thinkpad@linux-thinkpad.org
Mon, 13 Dec 2004 02:20:50 +0100 (CET)


Hi there,

I followed the Instructions found here:
http://www.chronox.de/x40_linux/linux_on_x40.html#dual_head_configuration=
_with_x_org

This is what my xorg.conf looks like:

Section "ServerLayout"
        Identifier     "Default Layout"
        Screen      0  "LCD" 0 0
        Screen      1  "VGA" RightOf "LCD"
        InputDevice    "Mouse1" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option      "Xinerama" "false"
EndSectionSection "Module"

Section "Module"
        Load    "bitmap"
        Load    "ddc"
        Load    "extmod"
        Load    "int10"
        Load    "record"
        Load    "vbe"
        Load  "dbe"     # Double buffer extension
        SubSection "extmod"
                Option      "omit xfree86-dga"   # don't initialise the
DGA extension
        EndSubSection
        Load  "type1"
        Load  "freetype"
        Load  "glx"
        Load  "dri"
EndSection
Section "Monitor"
        Identifier   "LCD"
        HorizSync    31.5 - 48.5
        VertRefresh  50.0 - 70.0
        Option      "DPMS"
EndSection

Section "Monitor"
        Identifier   "External Monitor"
        HorizSync    31.5 - 31.5
        HorizSync    35.2 - 35.2
        HorizSync    35.5 - 35.5

        VertRefresh  50.0 - 90.0
        Option      "DPMS"
EndSection

Section "Device"

#       Option          "VBERestore" "yes"
        Identifier  "Intel0"
        Driver      "i810"
        ChipSet     "852GM/855GM"
        Card        "i810 852GM/855GM"
        Option      "MonitorLayout" "CRT,LFP"
        BusID       "PCI:0:2:0"
EndSection

Section "Device"
        Identifier  "Intel1"
        Driver      "i810"
        ChipSet     "852GM/855GM"
        Card        "i810 852GM/855GM"
        Option      "VBERestore" "yes"
        Option      "MonitorLayout" "CRT,LFP"
        Option      "DevicePresence" "yes"
        BusID       "PCI:0:2:1"
        Screen      1

EndSection

Section "Screen"
        Identifier "LCD"
        Device     "Intel0"
        Monitor    "LCD"
        DefaultDepth     16
        SubSection "Display"
                Depth     1
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "Screen"
        Identifier "VGA"
        Device     "Intel1"
        Monitor    "External Monitor"
        DefaultDepth     16
        SubSection "Display"
                Depth     16
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Section "DRI"
        Mode         0666
EndSection

But I don't get Dualhead as I want it. All I get is my LCD duplicated.
So I took a look in my logs and found this. Note the line about Pipe B.

(II) I810(0): 2 display pipes available.
(II) I810(0): detected 8060 kB stolen memory.
(II) I810(0): I830CheckAvailableMemory: 199676 kB available
(II) I810(0): Checking Lid status enabled
(II) I810(0): Will attempt to tell the BIOS that there is 12288 kB VideoR=
AM
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Reloading /usr/X11R6/lib/modules/linux/libint10.a
(II) I810(0): initializing int10
(WW) I810(0): Bad V_BIOS checksum
(II) I810(0): Primary V_BIOS segment is: 0xc000
(II) I810(0): VESA BIOS detected
(II) I810(0): VESA VBE Version 3.0
(II) I810(0): VESA VBE Total Mem: 12288 kB
(II) I810(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics
Chip Accelerated VGA BIOS
(II) I810(0): VESA VBE OEM Software Rev: 1.0
(II) I810(0): VESA VBE OEM Vendor: Intel Corporation
(II) I810(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME
Graphics Controller(II) I810(0): Using new Pipe switch code
(=3D=3D) I810(0): Device Presence: disabled.
(WW) I810(0): Primary Pipe is B, switching off second monitor (0x800)
(=3D=3D) I810(0): Display Info: enabled.
(II) I810(0): Broken BIOSes cause the system to hang here.
              If you encounter this problem please add
                 Option "DisplayInfo" "FALSE"
              to the Device section of your XF86Config file.
(II) I810(0): Display Info: CRT: attached: TRUE, present: TRUE, size:
(1024,768)
(II) I810(0): Display Info: TV: attached: FALSE, present: TRUE, size:
(800,600)
(II) I810(0): Display Info: DFP (digital flat panel): attached: FALSE,
present: FALSE, size: (0,2315)
(II) I810(0): Display Info: LFP (local flat panel): attached: TRUE,
present: TRUE, size: (1024,768)
(II) I810(0): Display Info: CRT2 (second CRT): attached: FALSE, present:
FALSE, size: (0,2315)
(II) I810(0): Display Info: TV2 (second TV): attached: FALSE, present:
FALSE, size: (0,2315)
(II) I810(0): Size of device LFP (local flat panel) is 1024 x 768
(II) I810(0): No active displays on Pipe A.
(II) I810(0): Currently active displays on Pipe B:
(II) I810(0):   LFP (local flat panel)
(II) I810(0): Lowest common panel size for pipe B is 1024 x 768

(II) I810(0): VESA VBE OEM Product Rev: Hardware Version 0.0
(II) I810(0): BIOS now sees 12288 kB VideoRAM
(--) I810(0): Pre-allocated VideoRAM: 8060 kByte
(=3D=3D) I810(0): VideoRAM: 32768 kByte
(=3D=3D) I810(0): video overlay key set to 0x83e
(**) I810(0): page flipping disabled
(=3D=3D) I810(0): Using gamma correction (1.0, 1.0, 1.0)
(II) I810(0): BIOS Build: 3181


Does anyone know how to help me getting m dualhead to work as I xpect it?

Jan