You are not logged in.

#1 2009-04-16 12:22:57

Wra!th
Member
Registered: 2009-03-31
Posts: 342

Dual monitor issues

Ok so (again) I'm trying to set up dual monitors.
My laptop has no backlight so I use a normal CRT as output

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen1" 0 0
    Screen        1  "Screen0" LeftOf "Screen1"
    InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "USB Mouse" "CorePointer"
    #Option "Xinerama" "true"
    #Option "Clone" "off"
EndSection
Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    Option "AutoAddDevices" "False"
    Option "DontZap" "False"
EndSection
Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
    FontPath     "/usr/share/fonts/cyrillic"
    FontPath     "/usr/share/fonts/local"
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
    FontPath     "/usr/share/fonts/artwiz-fonts"
EndSection

Section "Module"
        Load  "ddc"
    Load  "drm"
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "us"
    Option "XkbVariant" ""
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection
Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
    #Option "DPMS" "No"
    #HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    #VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
    ModeLine "1024x768"   44.9 1024 1032 1208 1264    768  768  776  817 +hsync +vsync Interlace
    ModeLine "1024x768"   65.0 1024 1048 1184 1344    768  771  777  806 -hsync -vsync
    ModeLine "1024x768"   75.0 1024 1048 1184 1328    768  771  777  806 -hsync -vsync
    ModeLine "1024x768"   78.8 1024 1040 1136 1312    768  769  772  800 +hsync +vsync
    ModeLine "1024x768"   94.5 1024 1072 1168 1376    768  769  772  808 +hsync +vsync
    ModeLine "1280x1024" 108.0 1280 1328 1440 1688   1024 1025 1028 1066 +hsync +vsync
    ModeLine "1280x1024" 135.0 1280 1296 1440 1688   1024 1025 1028 1066 +hsync +vsync
    ModeLine "1280x1024" 157.5 1280 1344 1504 1728   1024 1025 1028 1072 +hsync +vsync
    ModeLine "1024x768"  113.31  1024 1096 1208 1392  768 769 772 814  -HSync +Vsync
    ModeLine "1280x1024"  190.96  1280 1376 1520 1760  1024 1025 1028 1085  -HSync +Vsync
EndSection


Section "Device"
    Identifier  "Card0"
    Driver      "ati"
    VendorName  "ATI Technologies Inc"
    BoardName   "M56P [Radeon Mobility X1600]"
    BusID       "PCI:1:0:0"
    Option "AGPMode" "4"
    Option "ColorTiling" "on"
    Option "AccelMethod" "EXA"
    Option "AGPFastWrite" "yes"
    Option "DRI" "on"
    Option "DDCMode" "True"
    Option "MonitorLayout" "LVDS,CRT"
EndSection
Section "Device"
    Identifier  "Card1"
    Driver      "ati"
    VendorName  "ATI Technologies Inc"
    BoardName   "M56P [Radeon Mobility X1600]"
    BusID       "PCI:1:0:0"
    Option "AGPMode" "4"
    Option "ColorTiling" "on"
    Option "AccelMethod" "EXA"
    Option "AGPFastWrite" "yes"
    Option "DRI" "on"
    Option "DDCMode" "True"
    Option "MonitorLayout" "LVDS,CRT"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Depth     24
        Modes      "1280x800" "1024x768"
    EndSubSection
EndSection
Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    DefaultDepth 24
    SubSection "Display"
        Depth     24
        Modes      "1280x1024" "1024x768"
    EndSubSection
EndSection
Section "DRI"
    Mode 0666
EndSection

tMWo4NA

I get that ^^: looks like the VGA screen IS 1280x1024, but for some reason ratpoison thinks it's 1280x800 (all open windows have that size).
this does not happen in DWM, but should work ok with ratpoison too...so I'm guessing it's a wrong setup on my part.
Enabling Xinerama in xorg.conf doesn't even start X at all...it segfaults
What other steps should I take to makea working dual monitor environment? I would like to have 2 X screens btw (my laptop to be screen :1 and CRT screen :0 (the default))


MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00

Offline

#2 2009-04-16 12:39:45

Wra!th
Member
Registered: 2009-03-31
Posts: 342

Re: Dual monitor issues

Scratch that..it was working..but silly me forgot to use ":nextscreen" in Ratpoison..so the windows would open at 1280x800 since the damn thing though I'm still on the first monitor smile


MacGregor DESPITE THEM!
7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00

Offline

Board footer

Powered by FluxBB