[Pkg-fglrx-devel] Bug#699879: fglrx-driver: Xorg doesn't start after aticonfig --px-igpu

Alexander Mezin mezin.alexander at gmail.com
Wed Feb 6 08:20:16 UTC 2013


Package: fglrx-driver
Version: 1:12-6+point-3
Severity: important

Dear Maintainer,
I have laptop with hybrid graphics.
I installed fglrx and runned aticonfig --initial. Xorg started on discrete GPU without problems.
But I want to use integrated GPU most of time, so I runned aticonfig --px-igpu. After that, Xorg doesn't start.
It seems that it happens because switchlibGL and switchlibglx scripts remove symlink to fglrx_drv.so from /usr/lib/xorg/modules/drivers.
Fglrx driver loads only when xorg is configured to do so, so I don't see any reasons to remove it.
If I create symlink, xorg successfully starts on integrated gpu too.

-- Package-specific info:
Full fglrx package list:
ii  fglrx-atieventsd                     1:12-6+point-3          amd64                   external events daemon for the non-free ATI/AMD RadeonHD display driver
ii  fglrx-control                        1:12-6+point-3          amd64                   control panel for the non-free ATI/AMD RadeonHD display driver
ii  fglrx-driver                         1:12-6+point-3          amd64                   non-free ATI/AMD RadeonHD display driver
ii  fglrx-glx-ia32                       1:12-6+point-3          amd64                   please switch to multiarch libgl1-fglrx-glx:i386
ii  fglrx-modules-dkms                   1:12-6+point-3          amd64                   dkms module source for the non-free ATI/AMD RadeonHD display driver
ii  glx-alternative-fglrx                0.2.2                   amd64                   allows the selection of FGLRX as GLX provider
ii  libfglrx:amd64                       1:12-6+point-3          amd64                   non-free ATI/AMD RadeonHD display driver (runtime libraries)
ii  libfglrx-amdxvba1:amd64              1:12-6+point-3          amd64                   AMD XvBA (X-Video Bitstream Acceleration) runtime libraries
ii  libgl1-fglrx-glx:amd64               1:12-6+point-3          amd64                   proprietary libGL for the non-free ATI/AMD RadeonHD display driver

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Whistler XT [AMD Radeon HD 6700M Series]

DRM and fglrx Informations from dmesg:
No AGP bridge found
No AGP bridge found
Linux agpgart interface v0.103
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 5725 MBytes.
[fglrx]   vendor: 1002 device: 6740 count: 1
[fglrx] ioport: bar 4, base 0x5000, size: 0x100
[fglrx] Kernel PAT support is enabled
[fglrx] module loaded - fglrx 8.98.2 [Jul 19 2012] with 1 minors
agpgart-intel 0000:00:00.0: Intel Sandybridge Chipset
agpgart-intel 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable
agpgart-intel 0000:00:00.0: detected 32768K stolen memory
agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xb0000000
[drm] Initialized drm 1.1.0 20060810
[drm] MTRR allocation failed.  Graphics performance may suffer.
[drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[drm] Driver supports precise vblank timestamp query.
[drm] Enabling RC6 states: RC6 on, RC6p off, RC6pp off
fbcon: inteldrmfb (fb0) is primary device
fb0: inteldrmfb frame buffer device
drm: registered panic notifier
[drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0

Xorg X server configuration file status:
-rw-r--r-- 1 root root 684 Feb  5 17:26 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
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"
	BusID       "PCI:1:0:0"
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



Xorg X server log files on system:
-rw-r--r-- 1 root root 6236 Feb  6 15:00 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:
[    18.990] 
X.Org X Server 1.12.4
Release Date: 2012-08-27
[    18.990] X Protocol Version 11, Revision 0
[    18.990] Build Operating System: Linux 3.2.0-4.drm-amd64 x86_64 Debian
[    18.990] Current Operating System: Linux sanya-m-laptop 3.4.0-23.dmz.1-liquorix-amd64 #1 ZEN SMP PREEMPT Wed Dec 12 03:27:35 UTC 2012 x86_64
[    18.990] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.4.0-23.dmz.1-liquorix-amd64 root=UUID=678b0df5-dbe6-4881-9201-f7b5358ded81 ro acpi_backlight=vendor pcie_aspm=force quiet
[    18.990] Build Date: 29 November 2012  07:18:16PM
[    18.990] xorg-server 2:1.12.4-4 (Julien Cristau <jcristau at debian.org>) 
[    18.990] Current version of pixman: 0.26.0
[    18.990] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    18.990] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.990] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Feb  6 15:00:56 2013
[    19.030] (==) Using config file: "/etc/X11/xorg.conf"
[    19.030] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    19.102] (==) ServerLayout "aticonfig Layout"
[    19.102] (**) |-->Screen "aticonfig-Screen[0]-0" (0)
[    19.102] (**) |   |-->Monitor "aticonfig-Monitor[0]-0"
[    19.102] (**) |   |-->Device "aticonfig-Device[0]-0"
[    19.102] (==) Automatically adding devices
[    19.102] (==) Automatically enabling devices
[    19.154] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    19.154] 	Entry deleted from font path.
[    19.173] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[    19.173] 	Entry deleted from font path.
[    19.173] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/100dpi/:unscaled,
	/usr/share/fonts/X11/75dpi/:unscaled,
	/usr/share/fonts/X11/Type1,
	/usr/share/fonts/X11/100dpi,
	/usr/share/fonts/X11/75dpi,
	built-ins
[    19.173] (==) ModulePath set to "/usr/lib/xorg/modules"
[    19.173] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    19.173] (II) Loader magic: 0x7f1f36141ae0
[    19.173] (II) Module ABI versions:
[    19.173] 	X.Org ANSI C Emulation: 0.4
[    19.173] 	X.Org Video Driver: 12.1
[    19.173] 	X.Org XInput driver : 16.0
[    19.173] 	X.Org Server Extension : 6.0
[    19.173] (--) PCI:*(0:0:2:0) 8086:0116:103c:3388 rev 9, Mem @ 0xc0000000/4194304, 0xb0000000/268435456, I/O @ 0x00006000/64
[    19.173] (--) PCI: (0:1:0:0) 1002:6740:103c:3388 rev 0, Mem @ 0xa0000000/268435456, 0xc6500000/131072, I/O @ 0x00005000/256, BIOS @ 0x????????/131072
[    19.173] (II) Open ACPI successful (/var/run/acpid.socket)
[    19.173] (II) "extmod" will be loaded by default.
[    19.173] (II) "dbe" will be loaded by default.
[    19.173] (II) "glx" will be loaded by default.
[    19.173] (II) "record" will be loaded by default.
[    19.173] (II) "dri" will be loaded by default.
[    19.173] (II) "dri2" will be loaded by default.
[    19.173] (II) LoadModule: "extmod"
[    19.195] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[    19.208] (II) Module extmod: vendor="X.Org Foundation"
[    19.208] 	compiled for 1.12.4, module version = 1.0.0
[    19.208] 	Module class: X.Org Server Extension
[    19.208] 	ABI class: X.Org Server Extension, version 6.0
[    19.208] (II) Loading extension SELinux
[    19.208] (II) Loading extension MIT-SCREEN-SAVER
[    19.208] (II) Loading extension XFree86-VidModeExtension
[    19.208] (II) Loading extension XFree86-DGA
[    19.208] (II) Loading extension DPMS
[    19.208] (II) Loading extension XVideo
[    19.208] (II) Loading extension XVideo-MotionCompensation
[    19.208] (II) Loading extension X-Resource
[    19.208] (II) LoadModule: "dbe"
[    19.208] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[    19.224] (II) Module dbe: vendor="X.Org Foundation"
[    19.224] 	compiled for 1.12.4, module version = 1.0.0
[    19.224] 	Module class: X.Org Server Extension
[    19.224] 	ABI class: X.Org Server Extension, version 6.0
[    19.224] (II) Loading extension DOUBLE-BUFFER
[    19.224] (II) LoadModule: "glx"
[    19.224] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    19.250] (II) Module glx: vendor="X.Org Foundation"
[    19.250] 	compiled for 1.12.4, module version = 1.0.0
[    19.250] 	ABI class: X.Org Server Extension, version 6.0
[    19.250] (==) AIGLX enabled
[    19.251] (II) Loading extension GLX
[    19.251] (II) LoadModule: "record"
[    19.251] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[    19.252] (II) Module record: vendor="X.Org Foundation"
[    19.252] 	compiled for 1.12.4, module version = 1.13.0
[    19.252] 	Module class: X.Org Server Extension
[    19.252] 	ABI class: X.Org Server Extension, version 6.0
[    19.252] (II) Loading extension RECORD
[    19.252] (II) LoadModule: "dri"
[    19.252] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[    19.253] (II) Module dri: vendor="X.Org Foundation"
[    19.253] 	compiled for 1.12.4, module version = 1.0.0
[    19.253] 	ABI class: X.Org Server Extension, version 6.0
[    19.253] (II) Loading extension XFree86-DRI
[    19.253] (II) LoadModule: "dri2"
[    19.253] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[    19.253] (II) Module dri2: vendor="X.Org Foundation"
[    19.253] 	compiled for 1.12.4, module version = 1.2.0
[    19.253] 	ABI class: X.Org Server Extension, version 6.0
[    19.253] (II) Loading extension DRI2
[    19.253] (II) LoadModule: "fglrx"
[    19.254] (WW) Warning, couldn't open module fglrx
[    19.254] (II) UnloadModule: "fglrx"
[    19.254] (II) Unloading fglrx
[    19.254] (EE) Failed to load module "fglrx" (module does not exist, 0)
[    19.254] (EE) No drivers available.
[    19.254] 
Fatal server error:
[    19.254] no screens found
[    19.254] 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    19.254] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    19.254] 

Bug script output from package glx-alternative-fglrx:
Diversions:
diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/i386-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/i386-linux-gnu/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/libGL.so to /usr/lib/mesa-diverted/libGL.so by glx-diversions
diversion of /usr/lib/libGL.so.1 to /usr/lib/mesa-diverted/libGL.so.1 by glx-diversions
diversion of /usr/lib/libGL.so.1.2 to /usr/lib/mesa-diverted/libGL.so.1.2 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1 by glx-diversions
diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1.2 to /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1.2 by glx-diversions

/usr/lib/mesa-diverted:
total 52
drwxr-xr-x  4 root root  4096 Feb  6 01:41 .
drwxr-xr-x 90 root root 36864 Feb  6 04:42 ..
drwxr-xr-x  2 root root  4096 Jun 30  2012 i386-linux-gnu
lrwxrwxrwx  1 root root    33 Feb  6 01:41 libGL.so-master -> /etc/alternatives/libGL.so-master
drwxr-xr-x  2 root root  4096 Feb  6 01:40 x86_64-linux-gnu

/usr/lib/mesa-diverted/i386-linux-gnu/:
total 8
drwxr-xr-x 2 root root 4096 Jun 30  2012 .
drwxr-xr-x 4 root root 4096 Feb  6 01:41 ..

/usr/lib/mesa-diverted/x86_64-linux-gnu/:
total 392
drwxr-xr-x 2 root root   4096 Feb  6 01:40 .
drwxr-xr-x 4 root root   4096 Feb  6 01:41 ..
lrwxrwxrwx 1 root root     10 Dec  7 02:52 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root     12 Dec  7 02:52 libGL.so.1 -> libGL.so.1.2
-rw-r--r-- 1 root root 391896 Dec  7 02:53 libGL.so.1.2

Alternative 'glx':
glx - manual mode
  link currently points to /usr/lib/mesa-diverted
/usr/lib/fglrx - priority 99
  slave glx--fglrx_drv.so: /usr/lib/fglrx/fglrx_drv.so
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/x86_64-linux-gnu/fglrx/libGL.so.1
  slave glx--linux-libglx.so: /usr/lib/fglrx/fglrx-libglx.so
/usr/lib/mesa-diverted - priority 5
  slave glx--libGL.so.1-x86_64-linux-gnu: /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1
Current 'best' version is '/usr/lib/fglrx'.

lrwxrwxrwx 1 root root 22 Feb  6 14:59 /etc/alternatives/glx -> /usr/lib/mesa-diverted
lrwxrwxrwx 1 root root 48 Feb  6 01:41 /etc/alternatives/glx--libGL.so-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root 50 Feb  6 14:59 /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu -> /usr/lib/mesa-diverted/x86_64-linux-gnu/libGL.so.1

File System:
lrwxrwxrwx 1 root root     21 Feb  5 17:24 /usr/lib/glx -> /etc/alternatives/glx
lrwxrwxrwx 1 root root     48 Feb  6 01:41 /usr/lib/x86_64-linux-gnu/libGL.so -> /etc/alternatives/glx--libGL.so-x86_64-linux-gnu
lrwxrwxrwx 1 root root     50 Feb  5 17:24 /usr/lib/x86_64-linux-gnu/libGL.so.1 -> /etc/alternatives/glx--libGL.so.1-x86_64-linux-gnu
-rw-r--r-- 1 root root 431600 Nov 30 02:34 /usr/lib/xorg/modules/extensions/libglx.so




-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4.0-23.dmz.1-liquorix-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fglrx-driver depends on:
ii  debconf [debconf-2.0]                  1.5.49
ii  dpkg                                   1.16.9
ii  glx-alternative-fglrx                  0.2.2
ii  libc6                                  2.13-38
ii  libfglrx                               1:12-6+point-3
ii  libgl1-mesa-glx [libgl1]               8.0.5-3
ii  libx11-6                               2:1.5.0-1
ii  libxext6                               2:1.3.1-2
ii  libxrandr2                             2:1.3.2-2
ii  libxrender1                            1:0.9.7-1
ii  xserver-xorg-core [xorg-video-abi-12]  2:1.12.4-4

Versions of packages fglrx-driver recommends:
ii  fglrx-atieventsd                              1:12-6+point-3
ii  fglrx-glx-ia32                                1:12-6+point-3
ii  fglrx-modules-dkms [fglrx-kernel-12-6+point]  1:12-6+point-3
ii  libgl1-fglrx-glx                              1:12-6+point-3
pn  libgl1-fglrx-glx-i386                         <none>

Versions of packages fglrx-driver suggests:
pn  amd-opencl-icd  <none>
ii  fglrx-control   1:12-6+point-3
pn  xvba-va-driver  <none>

-- debconf information:
  fglrx-driver/removed-but-enabled-in-xorg-conf:
  fglrx-driver/check-xorg-conf-on-removal: true
* fglrx-driver/needs-xorg-conf-to-enable:



More information about the Pkg-fglrx-devel mailing list