[Pkg-fglrx-devel] Bug#645625: Bug#645625: fglrx-driver: hangs on startx, using X.Org Foundation libglx.so

Andreas Beckmann debian at abeckmann.de
Mon Oct 17 16:26:59 UTC 2011


Hi,

where does this in your xorg.conf come from?

Section "Files"
        ModulePath "/usr/lib/xorg/modules/extensions"
        ModulePath "/usr/lib/xorg/modules"
EndSection

Delete that block and move everything back to its original location.
That should fix your issue.

I don't think you need to do the debugging I described here:

On 2011-10-17 16:51, The Wanderer wrote:
> wanderer at aqualung:~$ update-alternatives --display glx
> glx - auto mode
>   link currently points to /usr/lib/fglrx
> /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

That is the libglx.so link we want to have.

> 5406743    0 lrwxrwxrwx   1 root     root           38 Oct 13 22:25
> /usr/lib/xorg/modules/linux/libglx.so ->
> /etc/alternatives/glx--linux-libglx.so

The linux directory should be searched before extensions ...

> 5406772  416 -rw-r--r--   1 root     root       421136 Oct 13  2009
> /usr/lib/xorg/modules/extensions/FGL.renamed.libglx.so
> 5406775   40 -rw-r--r--   1 root     root        40760 Oct 13  2009
> /usr/lib/xorg/modules/extensions/FGL.renamed.libdri.so

Cruft left over from using ATI's installer previously, but should be
harmless.

> 5406861    0 lrwxrwxrwx   1 root     root           30 Oct 13 23:31
> /usr/lib/xorg/modules/extensions/libglx.so ->
> /usr/lib/fglrx/fglrx-libglx.so

If you delete the link - does it work? It should pick up linux/libglx.so

>  49512  384 -rw-r--r--   1 root     root       388584 Aug 24 04:55
> /usr/lib/xorg/modules/extensions/libglx-xorg_provided_version.so

And renaming that back to its original name should not break anything.


But can you try the following from a console or ssh login in the
problematic configuration of the system:

stop X and your display manager, e.g. gdm/gdm3/kdm/xdm
(invoke-rc.d gdm stop)

  strace -o /tmp/x-strace.out /usr/bin/X :0 vt7 & sleep 30 ; pkill -x X

(this starts X while collecting debug information, and terminates it
again after 30 seconds)

save /var/log/Xorg.0.log somewhere

start X again (invoke-rc.d gdm start)

and send me the saved Xorg.0.log, /tmp/x-strace.out (better
gzip/bzip2/xz this), /etc/X11/xorg.conf

I need to understand why its picking the wrong file libglx.so.

Andreas





More information about the Pkg-fglrx-devel mailing list