You are not logged in.

#1 2009-04-19 04:55:09

Bagration
Member
Registered: 2009-03-29
Posts: 4

Dual screens with x1600 mobility & open source driver

Hi, I've been trying to get a dual screen setup with two truly independent screens (not the one giant screen that xrandr gives you), but I've been having some issues.  The hardware I'm attempting this on is my macbook pro 2.1 with a 1440x900 internal display and ati x1600 mobility, and a 1680x1050 apple cinema display connected with DVI.  Here is the xorg.conf that I've come up with after a bit of tinkering.

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# Additional fonts: Locale, Gimp, TTF...
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    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/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/local"
EndSection

Section "Module"
    Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    Load  "synaptics"
    Load  "drm" #from arch wiki
EndSection

Section "ServerFlags"
    Option        "AllowMouseOpenFail" "true"
  Option      "DontZap" "off"
  Option      "Xinerama" "0"
EndSection

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

Section "Monitor"
  Identifier  "Monitor0"
    Option        "DPMS" "true"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "Radeon0"
    Driver      "radeon"
    Option        "XAANoOffscreenPixmaps" "true" #Needed for aiglx, from arch wiki
    Option          "AGPMode" "8"
    Option          "AccelMethod" "EXA"
    Screen        0
EndSection

Section "Device"
    Identifier  "Radeon1"
    Driver      "radeon"
    Option        "XAANoOffscreenPixmaps" "true" #Needed for aiglx, from arch wiki
    Option          "AGPMode" "8"
    Option          "AccelMethod" "EXA"
  Screen      1
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Radeon0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Virtual   3120 1050
        Modes    "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Radeon1"
    Monitor    "Monitor1"
    DefaultDepth     24
    SubSection "Display"
        Virtual   3120 1050
        Modes    "1440x900" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode         0666
EndSection

Section "Extensions"
        Option    "Composite" "true"
EndSection

Sorry the tabs are a little screwed up, but I think it's still easy enough to read.  When I start the xserver using this file the external monitor appears to be functioning properly, but the internal display is black.  Moving the mouse off to the right of the external display causes the cursor to appear on the internal display using the default X cursor theme.  The mouse then remains trapped on the internal monitor.  Other than displaying the cursor, the internal display seems to be non-functional.

If I comment out the Screen...1 line in the ServerLayout section I can get both monitors working with xrandr, but this causes other issues and is not what I want.  Does anybody know how I could get two real screen going?

Thanks!

Offline

Board footer

Powered by FluxBB