Direct rendering with OpenSUSE 12.1 and official Radeon driver (fglrx)

Installation of the official ATI (fglrx) driver with 1-click install link on the openSUSE wiki, or by adding the repository also listed on the wiki, seems not to work properly, that is, direct rendering seems to stay disabled after installation. The fix is quite simple, as root, copy paste this into terminal:

cd /usr/lib64
rm /usr/lib64/libGL.so
rm /usr/lib64/libGL.so.1
rm /usr/lib64/libGL.so.1.2
ln -s /usr/X11R6/lib64/fglrx/fglrx-libGL.so.1.2 libGL.so
ln -s /usr/X11R6/lib64/fglrx/fglrx-libGL.so.1.2 libGL.so.1
ln -s /usr/X11R6/lib64/fglrx/fglrx-libGL.so.1.2 libGL.so.1.2

Optionally, backup the original libGL.so.1 and libGL.so.1.2 files in /usr/lib64. If the system is not 64bit, remove the 64 part of lib64 everywhere. That’s it. After log out – log in, direct rendering should be working. Fire up a terminal and execute glxgears. If it doesn’t complain in the terminal there is no direct rendering, everything works, like in the pic below.

How glxgears start when direct rendering works

Source

Advertisements