Xorg and multiple graphics cards

martin f krafft madduck at madduck.net
Wed Apr 15 09:03:13 PDT 2009


also sprach Alex Deucher <alexdeucher at gmail.com> [2009.04.15.1748 +0200]:
> >  (2) is clearly not an option, so I am doing (1), but I am also
> >  reminded of this thread on the issue:
> 
> zaphod style multi-head should still work with the radeon driver.

I am not sure I know what zaphod-style is. I've attached the two
Xorg configuration files I use/would like to use to this mail.

xorg.conf.saved, the first, is the old configuration that works only
with 6.6.

xorg.conf.xrandr, the second, is the configuration I pieced together
using http://wiki.debian.org/XStrikeForce/HowToRandR12, but with
7.3, I cannot make it drive the second card, and with 7.4, it just
results in a screen so black that the only way to fix it I've found
is a complete reboot of the machine.

Any help warmly appreciated,
Thanks,

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
if you are walking on thin ice, you might as well dance!
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c 'md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum'
#   sudo dpkg-reconfigure xserver-xorg

### begin triple-head config
Section "ServerLayout"
  Identifier	"Triple Head"
  Screen 0    "Screen[0]"
  Screen 1    "Screen[1]" RightOf "Screen[0]"
  Screen 2    "Screen[2]" RightOf "Screen[1]"
  InputDevice	"Generic Keyboard"
  InputDevice	"Configured Mouse"
  InputDevice "Wacom stylus" "SendCoreEvents"
  InputDevice "Wacom eraser" "SendCoreEvents"
  InputDevice "Wacom cursor" "SendCoreEvents"
  Option      "Clone"   "off"
  Option      "Xinerama"  "yes"
EndSection

Section "Files"
  ModulePath        "/usr/local/lib/xorg/modules,/usr/lib/xorg/modules"
EndSection

Section "Module"
  Load "wacom"
EndSection

Section "ServerFlags"
  Option      "DontZap" "yes"
  Option      "AllowDeactivateGrabs" "yes"
  Option      "AllowClosedownGrabs" "yes"
EndSection

Section "Device"
	Identifier	"Radeon 9250[0]"
	Driver			"radeon"
  BusID       "PCI:0:12:0"
  Screen      0
#  Option      "HW Cursor" "off"
#  Option      "MergedFB" "true"
	Option      "MergedFB" "off"
#	Option "AccelMethod" "EXA"
EndSection

Section "Device"
	Identifier	"Radeon 9250[1]"
	Driver			"radeon"
  BusID       "PCI:0:12:1"
  Screen      1
#  Option      "HW Cursor" "off"
#  Option      "MergedFB" "true"
	Option      "MergedFB" "off"
#	Option "AccelMethod" "EXA"
EndSection

Section "Device"
	Identifier	"Radeon 9200[0]"
	Driver			"radeon"
  BusID       "PCI:1:0:0"
  Screen      0
#  Option      "MergedFB" "true"
#  Option      "MonitorLayout" "TMDS, CRT"
#  Option      "CRT2Position" "RightOf"
#  Option      "MetaModes" "1280x1024-1280x1024 1152x864-1152x864 1024x768-1024x768 800x600-800x600 640x480-640x480"
	Option      "MergedFB" "off"
#	Option "AccelMethod" "EXA"
EndSection

Section "Device"
	Identifier	"Radeon 9200[1]"
	Driver			"radeon"
  BusID       "PCI:1:0:0"
  Screen      1
#  Option      "MergedFB" "true"
#  Option      "MonitorLayout" "TMDS, CRT"
#  Option      "CRT2Position" "RightOf"
#  Option      "MetaModes" "1280x1024-1280x1024 1152x864-1152x864 1024x768-1024x768 800x600-800x600 640x480-640x480"
	Option      "MergedFB" "off"
#	Option "AccelMethod" "EXA"
EndSection

Section "Monitor"
	Identifier	"MRM B18XA"
	HorizSync		24-80
	VertRefresh	30-60
#  #ModeLine    "1280x1024"  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync
#  #ModeLine    "1152x768"   65.00  1152 1178 1314 1472  768 771 777 806 +hsync +vsync
#  #ModeLine    "1024x768"   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync
#  #ModeLine    "800x600"   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync
#  #ModeLine    "640x480"   25.20  640 656 752 800  480 490 492 525 -hsync -vsync
	Option      "DPMS"
EndSection

Section "Monitor"
	Identifier	"Acer AL922[0]"
#	HorizSync		24-80
#	VertRefresh	56-75
	Option			"DPMS"
EndSection

Section "Monitor"
	Identifier	"Acer AL922[1]"
#	HorizSync		24-80
#	VertRefresh	56-75
	Option			"DPMS"
EndSection

Section "Screen"
	Identifier  "Screen[0]"
	Device		  "Radeon 9250[0]"
	Monitor		  "Acer AL922[0]"
	DefaultDepth 24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier  "Screen[1]"
	Device		  "Radeon 9200[0]"
	Monitor		  "Acer AL922[1]"
	DefaultDepth 24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier  "Screen[2]"
	Device		  "Radeon 9200[1]"
	Monitor		  "MRM B18XA"
	DefaultDepth 24
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1152x864" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection
### end triple-head

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
	Option		"XkbOptions"	"ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
#	Option		"Device"		"/dev/input/mouse1"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
    Identifier      "Wacom stylus"
    Driver          "wacom"
    Option          "Device"          "/dev/input/wacom"
    Option          "Type"            "stylus"
    Option          "USB"             "on"
    #Option          "ForceDevice"     "ISDV4"
    Option          "PressCurve"      "50,0,100,50"
EndSection

Section "InputDevice"
    Identifier      "Wacom eraser"
    Driver          "wacom"
    Option          "Device"          "/dev/input/wacom"
    Option          "Type"            "eraser"
    Option          "USB"             "on"
    #Option          "ForceDevice"     "ISDV4"
EndSection

Section "InputDevice"
    Identifier      "Wacom cursor"
    Driver          "wacom"
    Option          "Device"          "/dev/input/wacom"
    Option          "USB"             "on"
    Option          "Type"            "cursor"
    #Option          "ForceDevice"     "ISDV4"
EndSection
-------------- next part --------------
# /etc/X11/xorg.conf (xorg X Window System server configuration file)

Section "ServerFlags"
    Option          "DontZap" "yes"
    Option          "AllowDeactivateGrabs" "yes"
    Option          "AllowClosedownGrabs" "yes"
EndSection

#Section "Files"
#    ModulePath      "/usr/local/lib/xorg/modules,/usr/lib/xorg/modules"
#EndSection

Section "InputDevice"
    Identifier      "Generic Keyboard"
    Driver          "kbd"
    Option          "CoreKeyboard"
    Option          "XkbRules"        "xorg"
    Option          "XkbModel"        "pc104"
    Option          "XkbLayout"       "us"
    Option          "XkbOptions"      "ctrl:nocaps"
EndSection

Section "InputDevice"
    Identifier      "Configured Mouse"
    Driver          "mouse"
    Option          "CorePointer"
    Option          "Device"          "/dev/input/mouse1"
    Option          "Protocol"        "ImPS/2"
    Option          "Emulate3Buttons" "true"
    Option          "ZAxisMapping"    "4 5"
EndSection

Section "InputDevice"
    Identifier      "Wacom stylus"
    Driver          "wacom"
    Option          "Device"          "/dev/input/wacom"
    Option          "Type"            "stylus"
    Option          "USB"             "on"
    #Option          "ForceDevice"     "ISDV4"
    Option          "PressCurve"      "50,0,100,50"
EndSection

Section "InputDevice"
    Identifier      "Wacom eraser"
    Driver          "wacom"
    Option          "Device"          "/dev/input/wacom"
    Option          "Type"            "eraser"
    Option          "USB"             "on"
    #Option          "ForceDevice"     "ISDV4"
EndSection

Section "InputDevice"
    Identifier      "Wacom cursor"
    Driver          "wacom"
    Option          "Device"          "/dev/input/wacom"
    Option          "USB"             "on"
    Option          "Type"            "cursor"
    #Option          "ForceDevice"     "ISDV4"
EndSection

Section "Monitor"
    Identifier      "Acer AL922[1]"
    # 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
    Modeline        "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
    Option          "PreferredMode" "1280x1024_75.00"
EndSection

Section "Monitor"
    Identifier      "MRM B18XA"
    #HorizSync       24-80
    #VertRefresh     30-60
    # 1280x1024 @ 75.00 Hz (GTF) hsync: 80.17 kHz; pclk: 138.54 MHz
    Modeline        "1280x1024_75.00"  138.54  1280 1368 1504 1728  1024 1025 1028 1069  -HSync +Vsync
    Option          "PreferredMode" "1280x1024_75.00"
    Option          "Enable" "true"
    Option          "RightOf" "Acer AL922[1]"
EndSection

Section "Device"
    Identifier      "Radeon 9200"
    Driver          "radeon"
    BusID           "PCI:1:0:0"
#    Option          "AccelMethod"   "EXA"
#    Option          "DisplayPriority" "HIGH"
    Option          "Monitor-DVI-0" "Acer AL922[1]"
    Option          "Monitor-VGA-0" "MRM B18XA"
EndSection

Section "Screen"
    Identifier      "Default Screen"
    Device          "Radeon 9200"
    DefaultDepth    24
    SubSection "Display"
        Depth       24
        Virtual     2560 1024
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier      "Default Layout"
    Screen          "Default Screen"
    InputDevice     "Generic Keyboard"
    InputDevice     "Configured Mouse"
    InputDevice     "Wacom stylus" "SendCoreEvents"
    InputDevice     "Wacom cursor" "SendCoreEvents"
    InputDevice     "Wacom eraser" "SendCoreEvents"
#    Option          "Xinerama" "on"
EndSection

#Section "Extensions"
#        Option "Composite" "Enable"
#        Option "RENDER" "true"
#        Option "DAMAGE" "true"
#EndSection
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
URL: <http://lists.x.org/archives/xorg/attachments/20090415/087ea286/attachment.pgp>


More information about the xorg mailing list