[Intel-gfx] Start a seperate driver instance for each screen.

david.schueler at schueler.homeip.net david.schueler at schueler.homeip.net
Thu Sep 13 21:39:52 CEST 2012


Good evening.

I have a config question about a multi monitor setup:
I'm using the intel driver  xf86-video-intel 2.20.0 and want to start a single driver instance for each screen in xorg in order to use xinerama. Because at the moment every window which i maximize spans over the whole screen, i want ti use xinerama.

I have two device sections in my xorg.conf but only the first is used.

Her's my xorg.conf:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    Screen      2  "Screen2" RightOf "Screen1"
    Screen      3  "Screen3" RightOf "Screen2"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath      "/usr/lib64/xorg/modules"
    FontPath        "/usr/share/fonts/misc/"
    FontPath        "/usr/share/fonts/TTF/"
    FontPath        "/usr/share/fonts/OTF/"
    FontPath        "/usr/share/fonts/Type1/"
    FontPath        "/usr/share/fonts/100dpi/"
    FontPath        "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
    Load           "record"
    Load           "glx"
    Load           "extmod"
    Load           "dbe"
    Load           "RandR"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/input/mice"
    Option         "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "DELL"
    ModelName      "U2410"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor1"
    VendorName     "DELL"
    ModelName      "U2410"
    Option "Primary" "true"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 76.0
EndSection

Section "Monitor"
    Identifier     "Monitor2"
    VendorName     "DELL"
    ModelName      "1908WFP"
    Option         "dpms"
    Option "PreferredMode" "1440x900"
EndSection

Section "Monitor"
    Identifier     "Monitor3"
    VendorName     "DELL"
    ModelName      "LCD"
    Option         "dpms"
    Option "PreferredMode" "1920x1080"
    Option "RightOf" "Monitor2"
EndSection


Section "Device"
    Identifier     "Device0"
    Driver         "intel"
    VendorName     "Intel"
    BoardName      "IGS"
    BusID          "PCI:0:2:0"
    Option         "monitor-LVDS1" "Monitor3"
    Option         "monitor-VGA1" "Monitor2"
    Option         "MergedFB" "false"
    Option         "ZaphodHeads" "LVDS1"
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "intel"
    VendorName     "Intel"
    BoardName      "IGS"
    BusID          "PCI:0:2:0"
    Option         "monitor-LVDS1" "Monitor3"
    Option         "monitor-VGA1" "Monitor2"
    Option         "MergedFB" "false"
    Option         "ZaphodHeads" "VGA1"
EndSection

Section "Device"
    Identifier     "Device2"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVS 4200M"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device3"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVS 4200M"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device2"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "TwinViewXineramaInfoOrder" "DFP-4, DFP-2"
    Option         "metamodes" "DFP-4: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device3"
    Monitor        "Monitor1"
    DefaultDepth    24
    Option         "TwinView" "0"
    Option         "metamodes" "DFP-2: nvidia-auto-select +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen2"
    Device         "Device0"
    Monitor        "Monitor2"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        
Modes       "1440x900"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen3"
    Device         "Device1"
    Monitor        "Monitor3"
    SubSection     "Display"
        Depth       24
        
Modes       "1920x1080"
    EndSubSection
EndSection



Thanks in advance.

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20120913/60c2a011/attachment.html>


More information about the Intel-gfx mailing list