[Intel-gfx] Multiple monitors

Alexandr Klimenko ank at dev.frontex.com
Wed Jun 1 16:15:26 CEST 2011


Hi all,
I am trying to setup xorg.conf for 2 monitors
1. Integrated monitor (HDMI1)
2. External monitor (HDMI3)
so i need the External monitor to work.
here what i did so far:

$ xrandr
     Screen 0: minimum 320 x 200, current 4000 x 2000, maximum 8192 x 8192
     VGA1 disconnected (normal left inverted right x axis y axis)
     HDMI1 connected 640x480+0+0 (normal left inverted right x axis y 
axis) 376mm x 301mm
        1600x900       60.0 +   60.0
        1680x1050      60.0
        1400x1050      60.0
        1280x1024      75.0
        1440x810       60.0
        1400x787       60.0
        1280x720       60.0
        1024x768       75.1     70.1     60.0
        800x600        75.0     60.3
        640x480        72.8     75.0     60.0*
     DP1 disconnected (normal left inverted right x axis y axis)
     HDMI2 disconnected (normal left inverted right x axis y axis)
     HDMI3 connected 1366x768+2000+0 (normal left inverted right x axis 
y axis) 709mm x 399mm
        1366x768       60.0*+
        1280x720       60.0
        720x480        59.9
        640x480        60.0
     DP2 disconnected (normal left inverted right x axis y axis)
     DP3 disconnected (normal left inverted right x axis y axis)

$ lspci -v

     00:00.0 Host bridge: Intel Corporation Core Processor DRAM 
Controller (rev 18)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, fast devsel, latency 0
             Capabilities: [e0] Vendor Specific Information

     00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express 
x16 Root Port (rev 18) (prog-if 00 [Normal decode])
             Flags: bus master, fast devsel, latency 0
             Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
             Capabilities: [88] Subsystem: Micro-Star International Co., 
Ltd. Unknown device aa31
             Capabilities: [80] Power Management version 3
             Capabilities: [90] Message Signalled Interrupts: Mask- 
64bit- Queue=0/0 Enable+
             Capabilities: [a0] Express Root Port (Slot+) IRQ 0
             Capabilities: [100] Virtual Channel

     00:02.0 VGA compatible controller: Intel Corporation Core Processor 
Integrated Graphics Controller (rev 18) (prog-if 00 [VGA controller])
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, fast devsel, latency 0, IRQ 29
             Memory at fb800000 (64-bit, non-prefetchable) [size=4M]
             Memory at d0000000 (64-bit, prefetchable) [size=256M]
             I/O ports at cc00 [size=8]
             Capabilities: [90] Message Signalled Interrupts: Mask- 
64bit- Queue=0/0 Enable+
             Capabilities: [d0] Power Management version 2
             Capabilities: [a4] #13 [0306]

     00:16.0 Communication controller: Intel Corporation 5 Series/3400 
Series Chipset HECI Controller (rev 06)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, fast devsel, latency 0, IRQ 10
             Memory at fbff3c00 (64-bit, non-prefetchable) [size=16]
             Capabilities: [50] Power Management version 3
             Capabilities: [8c] Message Signalled Interrupts: Mask- 
64bit+ Queue=0/0 Enable-

     00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series 
Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, medium devsel, latency 0, IRQ 16
             Memory at fbff0000 (32-bit, non-prefetchable) [size=1K]
             Capabilities: [50] Power Management version 2
             Capabilities: [58] Debug port
             Capabilities: [98] #13 [0306]

     00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series 
Chipset High Definition Audio (rev 06)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, fast devsel, latency 0, IRQ 22
             Memory at fbfec000 (64-bit, non-prefetchable) [size=16K]
             Capabilities: [50] Power Management version 2
             Capabilities: [60] Message Signalled Interrupts: Mask- 
64bit+ Queue=0/0 Enable-
             Capabilities: [70] Express Unknown type IRQ 0
             Capabilities: [100] Virtual Channel
             Capabilities: [130] Unknown (5)

     00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset 
PCI Express Root Port 1 (rev 06) (prog-if 00 [Normal decode])
             Flags: bus master, fast devsel, latency 0
             Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
             I/O behind bridge: 0000d000-0000dfff
             Prefetchable memory behind bridge: 
00000000fae00000-00000000faefffff
             Capabilities: [40] Express Root Port (Slot+) IRQ 0
             Capabilities: [80] Message Signalled Interrupts: Mask- 
64bit- Queue=0/0 Enable+
             Capabilities: [90] Subsystem: Micro-Star International Co., 
Ltd. Unknown device aa31
             Capabilities: [a0] Power Management version 2

     00:1c.3 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset 
PCI Express Root Port 4 (rev 06) (prog-if 00 [Normal decode])
             Flags: bus master, fast devsel, latency 0
             Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
             I/O behind bridge: 0000e000-0000efff
             Prefetchable memory behind bridge: 
00000000faf00000-00000000faffffff
             Capabilities: [40] Express Root Port (Slot+) IRQ 0
             Capabilities: [80] Message Signalled Interrupts: Mask- 
64bit- Queue=0/0 Enable+
             Capabilities: [90] Subsystem: Micro-Star International Co., 
Ltd. Unknown device aa31
             Capabilities: [a0] Power Management version 2

     00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series 
Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, medium devsel, latency 0, IRQ 23
             Memory at fbfea000 (32-bit, non-prefetchable) [size=1K]
             Capabilities: [50] Power Management version 2
             Capabilities: [58] Debug port
             Capabilities: [98] #13 [0306]

     00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a6) 
(prog-if 01 [Subtractive decode])
             Flags: bus master, fast devsel, latency 0
             Bus: primary=00, secondary=04, subordinate=04, sec-latency=32
             Capabilities: [50] Subsystem: Micro-Star International Co., 
Ltd. Unknown device aa31

     00:1f.0 ISA bridge: Intel Corporation 5 Series Chipset LPC 
Interface Controller (rev 06)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, medium devsel, latency 0
             Capabilities: [e0] Vendor Specific Information

     00:1f.2 IDE interface: Intel Corporation 5 Series/3400 Series 
Chipset 4 port SATA IDE Controller (rev 06) (prog-if 8a [Master SecP PriP])
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 19
             I/O ports at 01f0 [size=8]
             I/O ports at 03f4 [size=1]
             I/O ports at 0170 [size=8]
             I/O ports at 0374 [size=1]
             I/O ports at ff90 [size=16]
             I/O ports at ffa0 [size=16]
             Capabilities: [70] Power Management version 3
             Capabilities: [b0] #13 [0306]

     00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus 
Controller (rev 06)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: medium devsel, IRQ 6
             Memory at fbff3800 (64-bit, non-prefetchable) [size=256]
             I/O ports at 0400 [size=32]

     00:1f.6 Signal processing controller: Intel Corporation 5 
Series/3400 Series Chipset Thermal Subsystem (rev 06)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, fast devsel, latency 0, IRQ 6
             Memory at fbff2000 (64-bit, non-prefetchable) [size=4K]
             Capabilities: [50] Power Management version 3
             Capabilities: [80] Message Signalled Interrupts: Mask- 
64bit- Queue=0/0 Enable-

     02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, fast devsel, latency 0, IRQ 27
             I/O ports at d800 [size=256]
             Memory at faeff000 (64-bit, prefetchable) [size=4K]
             Memory at faef8000 (64-bit, prefetchable) [size=16K]
             Capabilities: [40] Power Management version 3
             Capabilities: [50] Message Signalled Interrupts: Mask- 
64bit+ Queue=0/0 Enable+
             Capabilities: [70] Express Endpoint IRQ 1
             Capabilities: [b0] MSI-X: Enable- Mask- TabSize=4
             Capabilities: [d0] Vital Product Data
             Capabilities: [100] Advanced Error Reporting
             Capabilities: [140] Virtual Channel
             Capabilities: [160] Device Serial Number 
00-e0-4c-68-00-00-00-01

     03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
             Subsystem: Micro-Star International Co., Ltd. Unknown 
device aa31
             Flags: bus master, fast devsel, latency 0, IRQ 28
             I/O ports at e800 [size=256]
             Memory at fafff000 (64-bit, prefetchable) [size=4K]
             Memory at faff8000 (64-bit, prefetchable) [size=16K]
             Capabilities: [40] Power Management version 3
             Capabilities: [50] Message Signalled Interrupts: Mask- 
64bit+ Queue=0/0 Enable+
             Capabilities: [70] Express Endpoint IRQ 1
             Capabilities: [b0] MSI-X: Enable- Mask- TabSize=4
             Capabilities: [d0] Vital Product Data
             Capabilities: [100] Advanced Error Reporting
             Capabilities: [140] Virtual Channel
             Capabilities: [160] Device Serial Number 
00-e0-4c-68-00-00-00-02

/etc/X11/xorg.conf

     Section "Files"
             FontPath        "/appliance/os/resources/x11/fonts"
             FontPath        "/usr/share/fonts/truetype/msttcorefonts"
             FontPath        "/media/xternalflash/wui/userdata/fonts/files"
             FontPath        "/usr/share/fonts/X11/misc"
             FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
             FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
             FontPath        "/usr/share/fonts/X11/Type1"
             FontPath        "/usr/share/fonts/X11/100dpi"
             FontPath        "/usr/share/fonts/X11/75dpi"
     EndSection

     Section "Module"
             Load            "drm"
             #Load           "dri"
             Load            "bitmap"
             Load            "dbe"
             Load            "ddc"
             Load            "extmod"
             Load            "freetype"
             Load            "int10"
             Load            "record"
             #Load           "type1"
             Load            "vbe"
             #Load           "GLcore"
             Load            "glx"
     EndSection

     Section "InputDevice"
             Identifier      "Generic Keyboard"
             Driver          "kbd"
             Option          "CoreKeyboard"
             Option          "XkbRules" "xfree86"
             Option          "XkbModel" "pc104"
             Option          "XkbLayout" "us"
     EndSection

     Section "InputDevice"
             Identifier      "Configured Mouse"
             Driver          "mouse"
             Option          "CorePointer"
             Option          "Device" "/dev/input/mice"
             Option          "Protocol" "ImPS/2"
             Option          "ZAxisMapping" "4 5"
     EndSection

     Section "InputDevice"
       Identifier "EETI"
       Driver "egalax"
       Option "Device" "usbauto"
       Option "Parameters" "/media/xternalflash/wui/userdata/eeti.param"
     EndSection

     # DEV_TYPE:intel; PCI_ID:00:02:0; ROTATE:0; MON_FREQ_LIMITS:none; 
HEAD_TYPE:DFP; DISABLE_DDC:1; DEFAULT:1; LIST_MODE_LINES:-; HEAD_NUM:0;
     Section "Device"
             Identifier              "Device 0"
             Driver                  "intel"
             BusID                   "PCI:00:02:0"
             # OFF auto detect monitor parameters
             Option                  "DDC" "0"
             #-- Rotation
             #Option                 "Rotate" "0"
             Option                  "RandRRotation" "True"
             Screen                  0
             Option                  "MonitorLayout" "DFP,DFP"
             Option                  "Clone" "0"
             Option                  "CheckDevices" "0"
             Option                  "DisplayInfo" "0"
             Option                  "DevicePresence" "1"
             Option                  "VBERestore" "0"
             Option                  "VideoRam" "65536"
             Option                  "CacheLines" "65536"
             Option                  "DRI"   "1"
             Option                  "LinearAlloc" "16384"
             Option                  "NoAccel" "0"
             Option                  "PageFlip" "1"
     EndSection

     Section "Monitor"
             Identifier              "Head 0"
             VertRefresh             60-72
     EndSection

     Section "Screen"
             Identifier              "Screen 0"
             Device                  "Device 0"
             Monitor                 "Head 0"
             DefaultDepth            24
             SubSection "Display"
                     Depth           24
                     Modes           "1920x1080"
             EndSubSection
     EndSection

     # DEV_TYPE:intel; PCI_ID:00:02:0; ROTATE:0; MON_FREQ_LIMITS:none; 
HEAD_TYPE:DFP; DISABLE_DDC:1; DEFAULT:0; LIST_MODE_LINES:-; HEAD_NUM:1;
     Section "Device"
             Identifier              "Device 1"
             Driver                  "intel"
             BusID                   "PCI:00:02:0"
             # OFF auto detect monitor parameters
             Option                  "DDC" "0"
             #-- Rotation
             #Option                 "Rotate" "0"
             Option                  "RandRRotation" "True"
             Screen                  1
             Option                  "MonitorLayout" "DFP,DFP"
             Option                  "Clone" "0"
             Option                  "CheckDevices" "0"
             Option                  "DisplayInfo" "0"
             Option                  "DevicePresence" "1"
             Option                  "VBERestore" "0"
             Option                  "VideoRam" "65536"
             Option                  "CacheLines" "65536"
             Option                  "DRI"   "1"
             Option                  "LinearAlloc" "16384"
             Option                  "NoAccel" "0"
             Option                  "PageFlip" "1"
     EndSection

     Section "Monitor"
             Identifier              "Head 1"
             VertRefresh             60-72
     EndSection

     Section "Screen"
             Identifier              "Screen 1"
             Device                  "Device 1"
             Monitor                 "Head 1"
             DefaultDepth            24
             SubSection "Display"
                     Depth           24
                     Modes           "1024x768"
             EndSubSection
     EndSection

     #---    Layout  ---
     Section "ServerLayout"
             Identifier              "Default Layout"
             InputDevice             "Generic Keyboard"
             InputDevice             "Configured Mouse"
       InputDevice   "EETI"
             Option                  "Clone" "off"
             Option                  "Xinerama" "off"
             Option                  "AllowMouseOpenFail" "true"
             Option                  "DontZap" "yes"
             Option                  "DontZoom" "true"
             Option                  "DontVTSwitch" "true"
             Option                  "NoPM" "true"
             Option                  "HandleSpecialKeys" "Never"
             Screen                  0 "Screen 0"
             Screen                  1 "Screen 1" RightOf "Screen 0"

     EndSection

     Section "DRI"
         Mode                        0666
     EndSection

     Section "ServerFlags"
             Option                  "BlankTime" "0"
             Option                  "StandbyTime" "0"
             Option                  "SuspendTime" "0"
             Option                  "OffTime" "0"
     EndSection
     Section "Extensions"
             Option "XEVIE" "Enable"
     EndSection

$ X -version

     X.Org X Server 1.9.3
     Release Date: 2010-12-13
     X Protocol Version 11, Revision 0
     Build Operating System: Linux 2.6.26-2-686 i686
     Current Operating System: Linux RPN 2.6.32.39-rpn8.1 #1 SMP Tue May 
17 17:42:25 EDT 2011 i686
     Kernel command line: root=/dev/sda2 ro elevator=cfq vga=785 
video=vesafb:ywrap,mtrr:3 quiet splash=silent
     Build Date: 02 May 2011  01:50:40PM

Xorg.0.log

     (II) Loading /usr/X11R76//lib/xorg/modules/drivers/intel_drv.so
     135 [160763.027] (II) Module intel: vendor="X.Org Foundation"
     136 [160763.027]  compiled for 1.9.3, module version = 2.13.0

Integrated monitor works ok. But external (HDMI3) doesn't show anything.

Thanks in advance for any help
-- 
Best regards,
Alexander Klimenko
System Administrator
Kiev





More information about the Intel-gfx mailing list