2012-08-05, 21:39
After some research I managed to enable hardware accelaration.
Phase 5 - Enable hardware accelaration
Hardware video acceleration is only enabled if you are using the binaries from ATI, either install them using the Additional Driver tool or manually from the ATI site. I used the last method. Google the internet for pro's and con's. I found this and this site helpful.
Before installing any drivers you need to install some dependencies to your system, by running this command:
You will need to remove all the current fglrx packages from your system.
Download the newest ATI driver (current version when I did this was 12.6) and set it to run as executable.
If you have a 64 bit system only, then install this before anything. See here for more info.
On 64-bit systems, create a symlink from /usr/lib64 to /usr/lib
Use these steps to create and install .deb packages
If building .deb packages fails, there is also an Alternative Manual Installation, documented here.
Once the driver is installed you need to start up a new xorg.conf file with this command. This is a generic config which will work for most people. You can find other configs here.
Reboot
Test your installation (open a terminal on the desktop using Ctrl-Alt-T for this).
On my system the output looks like:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 6530D
OpenGL version string: 4.2.11733 Compatibility Profile Context
Now, try
If you experience issues or a hang, you may need to disable fast TLS.
For more troubleshooting options see here.
Phase 5 - Enable hardware accelaration
Hardware video acceleration is only enabled if you are using the binaries from ATI, either install them using the Additional Driver tool or manually from the ATI site. I used the last method. Google the internet for pro's and con's. I found this and this site helpful.
Before installing any drivers you need to install some dependencies to your system, by running this command:
Code:
sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases
You will need to remove all the current fglrx packages from your system.
Code:
sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
Download the newest ATI driver (current version when I did this was 12.6) and set it to run as executable.
Code:
cd ~/; mkdir catalyst12.6; cd catalyst12.6/
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-6-x86.x86_64.run
chmod +x amd-driver-installer-12-6-x86.x86_64.run
If you have a 64 bit system only, then install this before anything. See here for more info.
Code:
sudo apt-get install ia32-libs-multiarch:i386 lib32gcc1 libc6-i386
sudo apt-get install ia32-libs
On 64-bit systems, create a symlink from /usr/lib64 to /usr/lib
Code:
sudo ln -svT lib /usr/lib64
Use these steps to create and install .deb packages
Code:
sudo sh ./amd-driver-installer-12-6-x86.x86_64.run --buildpkg Ubuntu/oneiric
sudo dpkg -i fglrx*.deb
If building .deb packages fails, there is also an Alternative Manual Installation, documented here.
Once the driver is installed you need to start up a new xorg.conf file with this command. This is a generic config which will work for most people. You can find other configs here.
Code:
sudo aticonfig --initial -f
Reboot
Code:
sudo reboot
Test your installation (open a terminal on the desktop using Ctrl-Alt-T for this).
Code:
fglrxinfo
On my system the output looks like:
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 6530D
OpenGL version string: 4.2.11733 Compatibility Profile Context
Now, try
Code:
fgl_glxgears
If you experience issues or a hang, you may need to disable fast TLS.
Code:
sudo amdconfig --tls=0
For more troubleshooting options see here.