Comment 38 for bug 709505

Revision history for this message
Anton (avelo) wrote : Re: [Bug 709505] Re: [MASTER] fglrx failed to install/upgrade due to being incompatible with 2.6.38 kernel

This start to be offtopic with the bug title, because now fglrx installs
with the 2.6.38 kernel,
so it's possible that Alberto prefers to close it and open a new one.

Latest tries I've been done with fglrx 8.840 in a up-to-date natty with
intel/Ati hybrid:

#aticonfig --px-dgpu
PowerXpress: Discrete GPU is selected (High-Performance mode), please
restart Xserver for changes to take effect!
PowerXpress: Fail to switch GLX link file, please check whether driver
install correctly
#aticonfig --px-igpu
PowerXpress: Integrated GPU is selected (Power-Saving mode), please
restart Xserver for changes to take effect!
PowerXpress: Fail to switch GLX link file, please check whether driver
install correctly

I've seen that when trying to change cards aticonfig expects
/usr/lib/xorg/modules/extensions/libglx.so to be a link
By changing it to a link, and trying again, you discover the names of
the linked files in each mode, and they are (supposed to be):

/usr/lib/xorg/modules/extensions/FGL.renamed.libglx.so for the original
libglx.so mesa file with --px-igpu and
/usr/lib/xorg/modules/extensions/fglrx/fglrx-libglx.so for the fglrx
libglx.so with --px-dgpu
and copying/linking these files you can avoid the Fail in aticonfig.

But X keeps complaining with:
Discrete --px-dgpu:
[ 6452.269] (II) fglrx(0): === [xdl_xs110_atiddxPreInit] === begin
[ 6452.269] (II) fglrx(0): PowerXpress: Discrete GPU is selected.
[ 6452.269] libGL symbol link files sanity check failed
[ 6452.269] (EE) fglrx(0): PowerXpress: Fail to switch libGL link files.
[ 6452.269] (WW) fglrx(0): PreInit PowerXpress failed!
Backtrace:
[ 6452.269] 0: X (xorg_backtrace+0x3b) [0x80b783b]
[ 6452.269] 1: X (0x8048000+0x5d3f8) [0x80a53f8]
[ 6452.269] 2: (vdso) (__kernel_rt_sigreturn+0x0) [0xb783a40c]
[ 6452.269] 3: X (xf86DeleteScreen+0x6c) [0x80d4d1c]
[ 6452.269] 4: X (InitOutput+0x89f) [0x80b9c0f]
[ 6452.269] 5: X (0x8048000+0x1a645) [0x8062645]
[ 6452.269] 6: /lib/i386-linux-gnu/libc.so.6 (__libc_start_main+0xe7)
[0xb7550e37]
[ 6452.270] 7: X (0x8048000+0x1a3e1) [0x80623e1]
[ 6452.270] Segmentation fault at address 0x25

Integrated --px-igpu:
[ 6487.059] (II) fglrx(0): === [xdl_xs110_atiddxPreInit] === begin
[ 6487.059] (II) fglrx(0): PowerXpress: Integrated GPU is selected.
[ 6487.059] libGL symbol link files sanity check failed
[ 6487.059] (EE) fglrx(0): PowerXpress: Fail to switch libGL link files.
[ 6487.059] (WW) fglrx(0): PreInit PowerXpress failed!(II)
UnloadModule: "fglrx"
[ 6487.059] (II) Unloading fglrx
[ 6487.059] (II) UnloadModule: "fglrxdrm"
[ 6487.059] (II) Unloading fglrxdrm
[ 6487.059] (EE) Screen(s) found, but none have a usable configuration.

Attached full Xorg.logs