Hi all,
I've seen a few posts now with people having issues getting their AMD card to work on 1.0.9. I've made a short guide on how to install Fglrx and all the other good stuff to run pyrit and oclhashcat under OpenCL.
Edit: I've also now written a post on how to use cal++ and the latest AMD (14.4.2) driver on Kali 1.0.9. Cal++ has shown itself to be much faster than OpenCL. It's harder to install but I've made some easy to follow step by steps. Use the guide
https://forums.kali.org/showthread.p...MD-Video-Cards for cal++ or alternatively continue with what's below if you want an easy performance boost with OpenCL. However, it's not as large as cal++.
This is the non-free AMD Catalyst driver. The following cards / series are supported by the (at time of writing) latest 14.4.2 driver in the Kali repo.
AMD Radeon R9 Series, AMD Radeon R7 Series, AMD Radeon HD 8000, AMD Radeon HD 7000, AMD Radeon HD 6000, and AMD Radeon HD 5000
For reference, I've written this on an older i2600k running an AMD Radeon HD 6970 which has Kali 1.0.9 installed.
1. Install and update Kali 1.0.9
Code:
apt-get update && apt-get upgrade && apt-get dist-upgrade
2. Install kali headers
Code:
apt-get install linux-headers-$(uname -r)
3. Install the driver
Code:
apt-get install fglrx-driver fglrx-atieventsd fglrx-control
4. Build the xorg config file
Code:
aticonfig --initial
5. Reboot
6. fglrx will now be in the loaded modules
7. Install a bunch of things we will need for later
Code:
apt-get install libpcap-dev python-dev libssl-dev
8. Download and start building pyrit
Code:
cd ~
svn checkout http://pyrit.googlecode.com/svn/trunk/ pyrit_svn
cd pyrit_svn/pyrit/
python setup.py build
python setup.py install
cd ../cpyrit_opencl
9. Install the OpenCL stuff we need
Code:
apt-get install amd-opencl-icd amd-opencl-dev
10. Build the OpenCL stuff for pyrit
Code:
python setup.py build
python setup.py install
11. Test pyrit and you should see your OpenCL device
12. Benchmark it
That's it. It's really that simple to use AMD cards with OpenCL.