Comment 6 for bug 552903

Revision history for this message
i30817 (i30817) wrote :

Ok found the problem.
Removing fglrx or deactivating it doesn't remove the file
/etc/X11/Xsession.d/10fglrx
That is run sometime after the /etc/environment (since i tried to put the correct values there, but was replaced by this)

That contains this code:
LIBGL_DRIVERS_PATH=/usr/lib/fglrx/dri
if [ `uname -m` = 'x86_64' ]; then
  if [ -d /usr/lib32/fglrx/dri ]; then
    LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/usr/lib32/fglrx/dri
    if [ ! -z $LD_LIBRARY_PATH ]; then
 LD_LIBRARY_PATH=$LD_LIBRARY_PATH:
    fi
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}/usr/lib32
    export LD_LIBRARY_PATH
  fi
fi
export LIBGL_DRIVERS_PATH