Admin edit: PlayOnLinux team has not checked this. We won't be responsible if any problem occur.That's the procedure I followed for updating graphic driver with catalyst 12.4.
(remind :
Ubuntu 12.04 32bits
ATI Radeon HD 5400
1.5.5-DiabloIII-v3)
1) Make a copy of what's following, or print it. You may have problem after the first or second reboot.
2) Uninstall old driver throught System setting => Additional driver.
Reboot
3) Uninstall old drivers using these commands :
Citation:
1)Run each of these, one at the time, if getting any faults ignore it:
-sudo sh /usr/share/ati/fglrx-uninstall.sh
-sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*
2)Remove your xorg.conf file:
-sudo rm /etc/X11/xorg.conf
3) Re-install xorg:
-sudo apt-get install --reinstall libgl1-mesa-glx:i386 libgl1-mesa-glx:amd64 libgl1-mesa-dri:i386 libgl1-mesa-dri:amd64 xserver-xorg-core
4)Configure xorg:
-sudo dpkg-reconfigure xserver-xorg
5) Reboot:
-sudo reboot
I had a lot of errors, but just ignored them. At this point, after reboot, i could not access left or top toolbar. Only desktop and terminal, that's why i needed to make a copy before.
3) Install new driver (catalyst 12.4) :
Citation:
sudo apt-get install build-essential cdbs dh-make dkms execstack dh-modaliases fakeroot
cd ~/; mkdir catalyst12.4; cd catalyst12.4/
wget http://www2.ati.com/drivers/linux/amd-driver-installer-12-4-x86.x86_64.run
chmod +x amd-driver-installer-12-4-x86.x86_64.run
./amd-driver-installer-12-4-x86.x86_64.run --extract driver
cd driver/common/lib/modules/fglrx/build_mod/
wget -O fglrx.patch http://ubuntuone.com/5gNgEmVfzs3ytD5QZ2YGCi
patch -p1 < fglrx.patch
cd ~/catalyst12.4/driver/ (=> for me it was just ~/driver , then you'll maybe have to find your folder using ls command)
./ati-installer.sh 8.961 --buildpkg Ubuntu/precise
sudo dpkg -i fglrx*.deb
sudo reboot
4) After this reboot, i had a black screen. Then i tape Alt+ctrl+F2, login and wrote startx. (it was maybe useless but i did it anyway xD)
One last sudo reboot.
Game was working after this.
Edited by Tinou