I deleted my whole /usr/local directory. Finally all traces of the mesa drivers are gone and no longer loaded. My system is now rock solid, as far as I can see. But only 2D.
Apart from the crashes I fixed another bug this way that caused graphics glitches when I moved areas, for example when a tooltip is opened inside Firefox and I scrolled with the wheelmouse. I decided to investigate further, maybe it was my window manager.
My previous mesa installation was ages old, so I tried to reinstall the current mesa, this time in /usr/local/xorg, so that I can remove it quickly without destroying other applications I have installed in /usr/local.
My problem are probably the following messages in Xorg.0.log:
Code:
(EE) AIGLX error: dlopen of /usr/lib/dri/r600_dri.so failed (/usr/lib/dri/r600_dri.so: cannot open shared object file: No such file or directory) (EE) AIGLX: reverting to software rendering (II) AIGLX: Screen 0 is not DRI capable (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory) (EE) GLX: could not load software renderer
These are basically my commands when I installed:
Code:
git clone git://anongit.freedesktop.org/xorg/driver/xf86-video-ati git clone git://anongit.freedesktop.org/mesa/drm git clone git://anongit.freedesktop.org/mesa/mesa cd drm/ ./autogen.sh --prefix=/usr/local/xorg make -j 3 ; make install ; cd .. export PKG_CONFIG_PATH="/usr/local/xorg/lib/pkgconfig" cd xf86-video-ati/ ./autogen.sh --prefix=/usr/local/xorg make -j 3 ; make install ; cd .. cd mesa/ ./autogen.sh --prefix=/usr/local/xorg --enable-gallium-r600 --with-dri-driverdir=/usr/local/xorg/lib/dri/ make -j 3 ; make install ; cd ..
Then I added "/usr/local/xorg/lib/modules" to the ModulePath entry in xorg.conf, although this seems useless since there isn't a modules folder.
I set this variable:
LIBGL_DRIVERS_PATH=/usr/local/xorg/lib/dri/
In xorg.conf I still have this section:
Code:
Section "DRI" Group "dard" Mode 0666 EndSection
Code:
name of display: :0.0 Error: couldn't find RGB GLX visual or fbconfig
Leave a comment: