You are not logged in.

#1 2008-05-25 14:58:11

minus
Member
Registered: 2007-12-20
Posts: 21

Problem with 2nd Monitor and 2nd xorg

Hello,
I want to use my laptop (Samsung Q35, intel i915 graphics) also with a 2nd tft monitor. But because i have a widescreen resolution on my laptop display, i want to have a second xserver on the second monitor (I got the tft left of the laptop display working, but there are a lot of problems because of the different resolutions, e.g. the panel changes from one to the other display, programs aren't started at the correct display...). Now i can change the monitors using fn+f4, from "only laptop display" to "only tft display" to "both displays".
When i start a new xserver using "startx -- :1.0" or " X :1 -layout LCD" it starts on the the same display as the "old" xserver, i can change them using ctrl+alt+f7 / ctrl+alt+f8. But i want, that each of this two xservers just runs on a different screen.

Here is my actual xorg.conf, i tried a lot of changes, but nothing worked:

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    #Screen        "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option "DefaultServerLayout" "default"
EndSection

Section "ServerLayout"
    Identifier     "LCD"
    Screen        0 "Screen1" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "xtrap"
    Load  "dri"
    Load  "record"
    Load  "dbe"
    Load  "dri"
    Load  "i2c"
    Load  "extmod"
    Load  "freetype"
    Load  "type1"
    Load  "vbe"
    Load  "int10"
    Load  "glx"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option "XkbLayout" "de"
EndSection

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

Section "Monitor"
    #DisplaySize      260   160    # mm
    Identifier   "Monitor0"
    Option         "DPMS"
    HorizSync    28-64
    VertRefresh    43-60
    VendorName   "SEC"
    ModelName    "4141"
#    Option         "DPI" "96x96"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
#    Driver      "vesa"
    Driver      "i810"
    VendorName  "Intel Corporation"
#    BoardName   "Mobile 945GM/GMS/940GML Express Integrated Graphics Controller"
    BusID       "PCI:0:2:0"
#    Option "AddARGBGLXVisuals" "True"
#    Option "RenderAccel" "True"    #recommended if using the nvidia-71xx driver, enabled by default with newer drivers
#    Option "AllowGLXWithComposite" "True"    #only if using the nvidia-71xx driver
#    Option "AGPMode" "0"
#    Screen    0
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Modes    "1280x800"
        Depth     24
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection    

Section "Extensions"
      Option "Composite" "Enable"
EndSection

####LCD###
Section "Monitor"
    #DisplaySize      260   160    # mm
    Identifier   "Monitor1"
#    Option         "DPMS"
    HorizSync    28-64
    VertRefresh    43-60
#    Option         "DPI" "96x96"
EndSection

Section "Device"
   #    Option     "NoDDC"                  # [<bool>]
    Identifier  "Card1"
    Driver      "i810"
    VendorName  "Intel Corporation"
    BusID       "PCI:0:2:0"
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Modes    "1280x1024"
        Depth     24
    EndSubSection
EndSection

Offline

Board footer

Powered by FluxBB