[Pkg-fglrx-devel] Bug#657604: Bug#657604: fglrx-driver: fglrx driver needs /usr/lib64

Patrick Matthäi pmatthaei at debian.org
Sun Jan 29 11:56:51 UTC 2012


Am 29.01.2012 03:02, schrieb Craig Small:
> On Fri, Jan 27, 2012 at 10:17:15PM +0100, Andreas Beckmann wrote:
>> ls -lad /usr/lib*/dri /usr/lib*/dri/* /usr/lib/*-*-*/dri /usr/lib/*-*-*/dri/*
> Attached, 01-ls-lad.txt
> 
>> Please send us the strace output from starting X in both 
>> configurations. The following works for me, I run it from an ssh 
>> session and once X has started I kill X from a second shell.
>>
>> strace -o /tmp/X.strace /usr/bin/X :0 -audit 0  -nolisten tcp vt8
> 02-nolib64.strace is with no /lib64 - crashes
> 
> 03-withlib64.strace is with all items from /usr/lib/fglrx placed into
>   /usr/lib64/fglrx - X works
> 
> 04-scriptsonly.strace is with only switchlibGL and switchlibglx place
> into /usr/lib64/fglrx - X works
> 
> I can confirm that if you copy switchlibGL and switchlibglx and only
> those files into /usr/lib64/fglrx then fglrx-driver 12-1-1 works 
> with my ATI HD6700M and the on-board Intel.
> 
> You cannot symlink the directory :(
> PowerXpress: '/usr/lib64/fglrx' must not be writable by group or others
> 
> You cannot symlink the files :(
> PowerXpress: '/usr/lib64/fglrx/switchlibGL' must not be writable by
> group or others
> 
> Why anyone would lstat instead of stat I have no idea. It's a minor
> annoyance anyhow and I'll wear the 4kB extra :) They're the same file
> anyhow.
> 
> Thankyou for your patience! I'm a happy little (3D accelerated) vegemite
> now.

The fix in the package should be easy, by just replacing on amd64
/usr/lib64/fglrx with /usr/lib/fglrx, those three strings are related:

$ strings aticonfig |grep ^/usr/lib
/usr/lib64/fglrx/switchlibglx
/usr/lib64/fglrx
/usr/lib64/fglrx/switchlibGL

My only problem atm, I don't get it work with rpl, e.g:

me at exez:~/build$ rpl -e '/usr/lib64/fglrx\0' '/usr/lib/fglrx\0!!\0'
aticonfig
Replacing "/usr/lib64/fglrx\0" with "/usr/lib/fglrx\0!!\0" (case
sensitive) (partial words matched)
.
A Total of 1 matches replaced in 1 file searched.
me at exez:~/build$ strings aticonfig |grep ^/usr/lib
/usr/lib64/fglrx/switchlibglx
/usr/lib/fglrx
/usr/lib64/fglrx/switchlibGL
me at exez:~/build$ ./aticonfig
Speicherzugriffsfehler
me at exez:~/build$


-- 
/*
Mit freundlichem Gruß / With kind regards,
 Patrick Matthäi
 GNU/Linux Debian Developer

E-Mail: pmatthaei at debian.org
        patrick at linux-dev.org
*/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-fglrx-devel/attachments/20120129/51521a1e/attachment.pgp>


More information about the Pkg-fglrx-devel mailing list