Xorg and multiple graphics cards

martin f krafft madduck at madduck.net
Tue Apr 28 09:06:25 PDT 2009


also sprach Alex Deucher <alexdeucher at gmail.com> [2009.04.21.1734 +0200]:
> Looks like an XAA problem.  Can you try with EXA?
> Option "AccelMethod" "EXA"
> in your device sections.

I tried with EXA in all four sections, and the result I get is
another segfault:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f611512d790 (LWP 16444)]
dixLookupPrivate (privates=0x2739540, key=0x0) at ../../dix/privates.c:79
79      ../../dix/privates.c: No such file or directory.
  in ../../dix/privates.c
#0  dixLookupPrivate (privates=0x2739540, key=0x0) at ../../dix/privates.c:79
  ptr = <value optimized out>
#1  0x00000000004b31c0 in xf86RandR12CreateScreenResources (pScreen=0x27392b0)
    at ../../../../hw/xfree86/modes/xf86RandR12.c:756
  pScrn = (ScrnInfoPtr) 0x2701440
  c = <value optimized out>
  width = <value optimized out>
  height = <value optimized out>
  mmWidth = <value optimized out>
  mmHeight = <value optimized out>
#2  0x00000000004ab87f in xf86CrtcCreateScreenResources (screen=0x27392b0)
    at ../../../../hw/xfree86/modes/xf86Crtc.c:701
No locals.
#3  0x0000000000433014 in main (argc=4, argv=0x7fff1d14e6d8, 
    envp=<value optimized out>) at ../../dix/main.c:325
  pScreen = (ScreenPtr) 0x27392b0
  i = 0
  alwaysCheckForInput = {0, 1}

Backtrace:
0: /usr/bin/Xorg(xorg_backtrace+0x26) [0x4ef016]
1: /usr/bin/Xorg(xf86SigHandler+0x39) [0x476509]
2: /lib/libc.so.6 [0x7f6112bd71a0]
3: /usr/bin/Xorg(dixLookupPrivate+0x4) [0x433bd4]
4: /usr/bin/Xorg(xf86RandR12CreateScreenResources+0x50) [0x4b31c0]
5: /usr/bin/Xorg [0x4ab87f]
6: /usr/bin/Xorg(main+0x264) [0x433014]
7: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f6112bc35a6]
8: /usr/bin/Xorg [0x4325f9]



Log and xorg.conf attached.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"i never travel without my diary. one should always have something
 sensational to read on the train."
                                                        -- oscar wilde
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Xorg.1.log.bz2
Type: application/octet-stream
Size: 11790 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg/attachments/20090428/08ebc0ab/attachment.obj>
-------------- 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 --------------
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/20090428/08ebc0ab/attachment.pgp>


More information about the xorg mailing list