[ltp] Multi-headed desktop with ATI Radeon Mobility 7500

Jeff Browning linux-thinkpad@linux-thinkpad.org
Tue, 06 Apr 2004 09:52:38 -0400


All:

I made an attempt to do this. No luck so far.

Basically, I followed the approach Krishna laid out as closely as I
could. However, there may be something I missed. Fundamentally, I
currently have two XF86Config files, one called XF86Config.docked and
one called XF86Config.undocked. I use a simple shell script to dock and
undock. The two files were created with Sax2 at the time the computer
was docked and undocked, respectively. Thus, Sax2 saw the internal
screen when undocked, and the external screen when docked.

I used Krishna's XF86Config file as a guide to try to combine these two
XF86Config files into one, hopefully-working, Xinerama-enabled file.

Here is the XF86Config I created:

Section "Files"
# Many FontPath and InputDevices lines omitted for brevity (message
getting rejected by the list moderator)
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "dbe"
  Load         "v4l"
  Load         "type1"
  Load         "extmod"
  Load         "freetype"
  Load         "speedo"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "Keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection

Section "InputDevice"
  Driver       "synaptics"
  Identifier   "Mouse[1]"
  Option       "AccelFactor" "0.0010"
  Option       "ButtonNumber" "3"
  Option       "Device" "/dev/mouse"
  Option       "Edges" "1900 5400 1800 3900"
  Option       "Finger" "25 30"
  Option       "InputFashion" "Mouse"
  Option       "MaxSpeed" "0.18"
  Option       "MaxTapMove" "220"
  Option       "MaxTapTime" "20"
  Option       "MinSpeed" "0.02"
  Option       "Name" "Synaptics;Touchpad"
  Option       "Protocol" "PS/2"
  Option       "VertScrollDelta" "100"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "Device" "/dev/input/mice"
  Option       "InputFashion" "Mouse"
  Option       "Name" "USB-Mouse;PS/2"
  Option       "Protocol" "ImPS/2"
  Option       "ZAxisMapping" "4 5"
EndSection

Section "Device"
  BoardName    "Radeon LW"
  BusID        "1:0:0"
  Driver       "radeon"
  Identifier   "ATI Head 1"
  Screen       0
  VendorName   "ATI"
EndSection

Section "Device"
  BoardName    "Radeon LW"
  BusID        "1:0:0"
  Driver       "radeon"
  Identifier   "ATI Head 2"
  Screen       1
  VendorName   "ATI"
EndSection

Section "Monitor"
  DisplaySize  320 240
  HorizSync    31-48
  Identifier   "Internal Laptop Display"
  ModelName    "1024X768@60HZ"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes     "Modes[1]"
  Screen 0
  BoardName    "Radeon LW"
  Driver       "radeon"
  BusID        "1:0:0"
EndSection

Section "Monitor"
  HorizSync    31-64
  Identifier   "Sony"
  ModelName    "1280X1024@60HZ"
  VendorName   "--> VESA"
  VertRefresh  50-60
  UseModes     "Modes[0]"
  Screen 1
  BoardName    "Radeon LW"
  Driver       "radeon"
  BusID        "1:0:0"
EndSection

Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1024x768" 61.89 1024 1080 1184 1344 768 769 772 794
  Modeline      "1024x768" 65.00 1024 1048 1184 1344 768 771 777 806
-HSync -VSync
  Modeline      "800x600" 36.88 800 832 912 1024 600 601 604 621
EndSection

Section "Modes"
  Identifier   "Modes[1]"
  Modeline "1280x1024" 105.15 1280 1360 1496 1712 1024 1025 1028 1059
  Modeline "800x600" 36.88 800 832 912 1024 600 601 604 621
  Modeline "1280x1024" 108.00 1280 1328 1440 1688 1024 1025 1028 1066
+HSync +VSync
  Modeline "1024x768" 65.00 1024 1040 1176 1344 768 770 776 806
EndSection

Section "Screen"
  Identifier "Default Screen"
  Device "Radeon LW"
  Monitor "Internal Laptop Display"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "800x600"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1024x768"
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "800x600"
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "800x600"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "800x600"
  EndSubSection
EndSection
                                                                                
Section "Screen"
  Identifier "Second Screen"
  Device "Radeon LW"
  Monitor "Sony"
  DefaultDepth 24
  SubSection "Display"
    Depth      15
    Modes      "800x600" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "1280x1024" 
  EndSubSection
  SubSection "Display"
    Depth      16
    Modes      "1280x1024" 
  EndSubSection
  SubSection "Display"
    Depth      24
    Modes      "800x600" 
  EndSubSection
  SubSection "Display"
    Depth      32
    Modes      "800x600" 
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "800x600" 
  EndSubSection
EndSection

Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Screen "Default Screen"
  Screen "Second Screen"
  Option       "Clone" "off"
  Option       "Xinerama" "on"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

When I boot with this file as the XF86Config file, I get the usual "X
server cannot start" message. /var/logs/messages says the following:

Apr  5 13:23:51 browning-lxp gdm[2378]: gdm_server_spawn: Could not open
logfile for display :0!
Apr  5 13:23:53 browning-lxp gdm[2377]: gdm_slave_xioerror_handler:
Fatal X error - Restarting :0
Apr  5 13:23:53 browning-lxp gdm[2380]: gdm_server_spawn: Could not open
logfile for display :0!
Apr  5 13:23:54 browning-lxp gdm[2379]: gdm_slave_xioerror_handler:
Fatal X error - Restarting :0
Apr  5 13:23:54 browning-lxp kernel: eth0: no IPv6 routers present
Apr  5 13:23:57 browning-lxp gdm[2382]: gdm_server_spawn: Could not open
logfile for display :0!
Apr  5 13:23:58 browning-lxp gdm[2381]: gdm_slave_xioerror_handler:
Fatal X error - Restarting :0
Apr  5 13:24:01 browning-lxp gdm[2384]: gdm_server_spawn: Could not open
logfile for display :0!
Apr  5 13:24:02 browning-lxp gdm[2383]: gdm_slave_xioerror_handler:
Fatal X error - Restarting :0
Apr  5 13:24:02 browning-lxp gdm[2303]: deal_with_x_crashes: Running the
XKeepsCrashing script
Apr  5 13:24:15 browning-lxp gdm[2303]: Failed to start X server several
times in a short time period; disabling display :0

Any help you guys can provide would sure be appreciated.

Regards,
Jeff