You are not logged in.

#1 2012-03-26 23:31:48

Avalith
Member
Registered: 2009-08-05
Posts: 10

X segfaults when using fglrx

So after reading this post in my thread from the other day, I've decided to try and get fglrx working to see if this would resolve my issue.  All went well in installing and building the driver modules, but when restarting X, I got thrown back to a console with a segfault.

Here's /var/log/Xorg.0.log:

[  4129.616] 
X.Org X Server 1.12.0
Release Date: 2012-03-04
[  4129.616] X Protocol Version 11, Revision 0
[  4129.616] Build Operating System: Linux 3.2.9-1-ARCH x86_64 
[  4129.616] Current Operating System: Linux zeus 3.2.12-1-ARCH #1 SMP PREEMPT Mon Mar 19 17:50:01 CET 2012 x86_64
[  4129.616] Kernel command line: root=/dev/disk/by-uuid/0131902b-69c9-4d45-8e29-000d52a0ecc8 ro
[  4129.616] Build Date: 05 March 2012  05:59:48AM
[  4129.616]  
[  4129.616] Current version of pixman: 0.24.4
[  4129.617] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[  4129.617] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4129.617] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Mar 26 18:14:05 2012
[  4129.618] (==) Using config file: "/etc/X11/xorg.conf"
[  4129.618] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  4129.618] (==) ServerLayout "aticonfig Layout"
[  4129.618] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[  4129.618] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[  4129.618] (**) |   |-->Device "aticonfig-Device[0]-0"
[  4129.618] (==) Automatically adding devices
[  4129.618] (==) Automatically enabling devices
[  4129.618] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  4129.618] 	Entry deleted from font path.
[  4129.618] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[  4129.618] 	Entry deleted from font path.
[  4129.618] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[  4129.618] 	Entry deleted from font path.
[  4129.618] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[  4129.618] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[  4129.618] 	Entry deleted from font path.
[  4129.618] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[  4129.618] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/
[  4129.618] (==) ModulePath set to "/usr/lib/xorg/modules"
[  4129.618] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[  4129.618] (II) Loader magic: 0x7cef60
[  4129.618] (II) Module ABI versions:
[  4129.618] 	X.Org ANSI C Emulation: 0.4
[  4129.618] 	X.Org Video Driver: 12.0
[  4129.618] 	X.Org XInput driver : 16.0
[  4129.618] 	X.Org Server Extension : 6.0
[  4129.619] (--) PCI:*(0:1:5:0) 1002:9710:103c:2ab1 rev 0, Mem @ 0xd0000000/268435456, 0xfe8f0000/65536, 0xfe900000/1048576, I/O @ 0x0000d000/256
[  4129.619] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  4129.619] (II) "extmod" will be loaded by default.
[  4129.619] (II) "dbe" will be loaded by default.
[  4129.619] (II) "glx" will be loaded by default.
[  4129.619] (II) "record" will be loaded by default.
[  4129.619] (II) "dri" will be loaded by default.
[  4129.619] (II) "dri2" will be loaded by default.
[  4129.619] (II) LoadModule: "extmod"
[  4129.619] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  4129.619] (II) Module extmod: vendor="X.Org Foundation"
[  4129.619] 	compiled for 1.12.0, module version = 1.0.0
[  4129.619] 	Module class: X.Org Server Extension
[  4129.619] 	ABI class: X.Org Server Extension, version 6.0
[  4129.619] (II) Loading extension MIT-SCREEN-SAVER
[  4129.619] (II) Loading extension XFree86-VidModeExtension
[  4129.619] (II) Loading extension XFree86-DGA
[  4129.619] (II) Loading extension DPMS
[  4129.619] (II) Loading extension XVideo
[  4129.619] (II) Loading extension XVideo-MotionCompensation
[  4129.619] (II) Loading extension X-Resource
[  4129.619] (II) LoadModule: "dbe"
[  4129.619] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  4129.619] (II) Module dbe: vendor="X.Org Foundation"
[  4129.619] 	compiled for 1.12.0, module version = 1.0.0
[  4129.619] 	Module class: X.Org Server Extension
[  4129.619] 	ABI class: X.Org Server Extension, version 6.0
[  4129.619] (II) Loading extension DOUBLE-BUFFER
[  4129.619] (II) LoadModule: "glx"
[  4129.619] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4129.619] (II) Module glx: vendor="Advanced Micro Devices, Inc."
[  4129.619] 	compiled for 6.9.0, module version = 1.0.0
[  4129.620] (II) Loading extension GLX
[  4129.620] (II) LoadModule: "record"
[  4129.620] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  4129.620] (II) Module record: vendor="X.Org Foundation"
[  4129.620] 	compiled for 1.12.0, module version = 1.13.0
[  4129.620] 	Module class: X.Org Server Extension
[  4129.620] 	ABI class: X.Org Server Extension, version 6.0
[  4129.620] (II) Loading extension RECORD
[  4129.620] (II) LoadModule: "dri"
[  4129.620] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  4129.620] (II) Module dri: vendor="X.Org Foundation"
[  4129.620] 	compiled for 1.12.0, module version = 1.0.0
[  4129.620] 	ABI class: X.Org Server Extension, version 6.0
[  4129.620] (II) Loading extension XFree86-DRI
[  4129.620] (II) LoadModule: "dri2"
[  4129.620] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  4129.620] (II) Module dri2: vendor="X.Org Foundation"
[  4129.620] 	compiled for 1.12.0, module version = 1.2.0
[  4129.620] 	ABI class: X.Org Server Extension, version 6.0
[  4129.620] (II) Loading extension DRI2
[  4129.620] (II) LoadModule: "fglrx"
[  4129.620] (II) Loading /usr/lib/xorg/modules/drivers/fglrx_drv.so
[  4129.633] (II) Module fglrx: vendor="FireGL - ATI Technologies Inc."
[  4129.633] 	compiled for 1.4.99.906, module version = 8.95.3
[  4129.633] 	Module class: X.Org Video Driver
[  4129.634] (II) Loading sub module "fglrxdrm"
[  4129.634] (II) LoadModule: "fglrxdrm"
[  4129.634] (II) Loading /usr/lib/xorg/modules/linux/libfglrxdrm.so
[  4129.634] (II) Module fglrxdrm: vendor="FireGL - ATI Technologies Inc."
[  4129.634] 	compiled for 1.4.99.906, module version = 8.95.3
[  4129.634] (II) ATI Proprietary Linux Driver Version Identifier:8.95.3
[  4129.634] (II) ATI Proprietary Linux Driver Release Identifier: 8.95                                 
[  4129.634] (II) ATI Proprietary Linux Driver Build Date: Feb 14 2012 21:05:02
[  4129.634] (--) using VT number 7

[  4129.635] (WW) Falling back to old probe method for fglrx
[  4129.641] (II) Loading PCS database from /etc/ati/amdpcsdb
[  4129.642] (--) Assigning device section with no busID to primary device
[  4129.642] (--) Chipset Supported AMD Graphics Processor (0x9710) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:17:0) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:0) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:1) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:18:2) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:0) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:1) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:19:2) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:0) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:2) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:3) found
[  4129.642] (WW) fglrx: No matching Device section for instance (BusID PCI:0@0:20:4) found
[  4129.642] (II) AMD Video driver is running on a device belonging to a group targeted for this release
[  4129.642] (II) AMD Video driver is signed
[  4129.642] (II) fglrx(0): pEnt->device->identifier=0xf52090
[  4129.642] (II) fglrx(0): Loading PCS database from /etc/ati/amdpcsdb
[  4129.643] 
[  4129.643] Backtrace:
[  4129.643] 0: /usr/bin/X (xorg_backtrace+0x34) [0x567da4]
[  4129.643] 1: /usr/bin/X (0x400000+0x16b8b9) [0x56b8b9]
[  4129.643] 2: /lib/libpthread.so.0 (0x7f23c8da0000+0xf270) [0x7f23c8daf270]
[  4129.643] 3: /usr/lib/xorg/modules/drivers/fglrx_drv.so (xdl_xs111_atiddxLeaveVT+0x45) [0x7f23c5588715]
[  4129.643] 4: /usr/bin/X (xf86DeleteScreen+0x7c) [0x47ac4c]
[  4129.643] 5: /usr/bin/X (InitOutput+0xdca) [0x473b5a]
[  4129.643] 6: /usr/bin/X (0x400000+0x22c0d) [0x422c0d]
[  4129.643] 7: /lib/libc.so.6 (__libc_start_main+0xed) [0x7f23c7c5638d]
[  4129.643] 8: /usr/bin/X (0x400000+0x230cd) [0x4230cd]
[  4129.643] 
[  4129.643] Segmentation fault at address 0x10
[  4129.643] 
Fatal server error:
[  4129.643] Caught signal 11 (Segmentation fault). Server aborting
[  4129.643] 
[  4129.643] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[  4129.643] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  4129.643] 
[  4129.644] Server terminated with error (1). Closing log file.

/etc/rc.conf:

#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# See 'man 5 rc.conf' for more details
#

# LOCALIZATION
# ------------
HARDWARECLOCK="localtime"
TIMEZONE="America/New_York"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE=
DAEMON_LOCALE="yes"
USECOLOR="yes"

# HARDWARE
# --------
MODULES=(fglrx)
USEDMRAID="no"
USEBTRFS="no"
USELVM="no"

# NETWORKING
# ----------
HOSTNAME=zeus

interface=wlan0
address=
netmask=
broadcast=
gateway=

NETWORK_PERSIST="no"

# DAEMONS
# -------
#
DAEMONS=(syslog-ng dbus !network crond !alsa @wicd)

/etc/X11/xorg.conf (as generated by aticonfig):

Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

And last but not least, /etc/X11/xorg.conf.d/10-monitor.conf:

Section "Monitor"
	Identifier	"Monitor0"
EndSection

Section "Device"
	Identifier	"Device0"
	Driver		"fglrx"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device		"Device0"
	Monitor		"Monitor0"
	DefaultDepth	24
	SubSection	"Display"
		Depth	16
		Modes	"1920x1080_60.00"
	EndSubSection
EndSection

Offline

#2 2012-03-27 15:57:19

matse
Member
Registered: 2011-04-27
Posts: 299

Re: X segfaults when using fglrx

Did you read the Wiki entry?
You use xorg 1.12, fglrx does not support it (yet). In the wiki there is a link to an extra repo with an old xorg version. And you better use directly the catalyst repo mentioned there instead of... yeah whatever you are doing now (suspecting you are not using it). It will handle all the dependencies for you.
Good luck
matse

Last edited by matse (2012-03-27 16:00:17)

Offline

Board footer

Powered by FluxBB