Driver pain.
#1
Is there a foolproof way to get the correct driver installed?

first things first...Ubuntu 12.04 LTS HD7970s
was working fine on 1.31

apparently had the .deb installed before,

Code:
sudo dpkg -r fglrx-dev fglrx-amdcccle fglrx
sudo dpkg --purge fglrx-dev fglrx-amdcccle fglrx
sudo shutdown -r now
based on the info here:

https://hashcat.net/wiki/doku.php?id=fre...hould_i_do

Code:
sudo su
find / -name libOpenCL\* -print0 | xargs -0 rm -rf
exit
sudo shutdown -r now

so far so good.
'dmesg | grep fglrx' returns nothing

next:
unpacked the 14.9 driver and:
Code:
cd fglrx-14.301.1001/
sudo ./amd-driver-installer-14.301.1001-x86.x86_64.run
sudo shutdown -r now
sudo aticonfig --initial --adapter=all
sudo shutdown -r now


./oclHashcat64.bin --benchmark
oclHashcat v1.36 starting in benchmark-mode...
Device #1: Tahiti, 3022MB, 925Mhz, 32MCU        
Device #2: Tahiti, 3022MB, 925Mhz, 32MCU
Device #3: Tahiti, 3022MB, 925Mhz, 32MCU
Device #4: Tahiti, 3022MB, 925Mhz, 32MCU

ATTENTION! Unsupported or incorrect installed GPU driver detected!

What did I miss?
#2
if this happens to anyone else:
AMD APP SDK was the culprit.

1. Delete the directory pointed to the AMDAPPSDKROOT environment variable.
2. Remove the AMDAPPSDKROOT and LD_LIBRARY_PATH environment variables. (in /etc/profile in my case)
3. Delete the amdocl[32][64].so from /etc/OpenCL/vendors.

reboot