Comment 0 for bug 250944

Revision history for this message
Jarkko Lietolahti (jarkko-jab) wrote :

I'm using the debs
fglrx-amdcccle_8.512-0ubuntu1_amd64.deb
fglrx-kernel-source_8.512-0ubuntu1_amd64.deb
fglrx-modaliases_8.512-0ubuntu1_amd64.deb
xorg-driver-fglrx_8.512-0ubuntu1_amd64.deb
xorg-driver-fglrx-dev_8.512-0ubuntu1_amd64.deb
in Hardy to setup fglrx 8.6 and 8.7.

After I started to use these debs all 32bit 3D apps (googleearth, ETQW) stopped working. After looking around I noticed that LIBGL_DRIVERS_PATH is missing the 32bit dri path.

This is how the installed /etc/X11/Xsession.d/10fglrx looks like

LIBGL_DRIVERS_PATH=/usr/lib/dri
if [ `uname -m` = 'x86_64' ]; then
  if [ -d /#DRIDIR32#/dri ]; then
    LIBGL_DRIVERS_PATH=${LIBGL_DRIVERS_PATH}:/#DRIDIR32#/dri
    LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib32
    export LD_LIBRARY_PATH
  fi
fi
export LIBGL_DRIVERS_PATH

If I manually do export LIBGL_DRIVERS_PATH=/usr/lib/dri:/usr/lib32/dri/ those 32bit 3D/OpenGL apps start working again.