View Full Version : oclhashcat-plus doesn't recognize that fglrx is installed.
SharkBait
2013-03-20, 18:07
Your gpu must be listed as compatible on this page: http://developer.amd.com/tools/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/system-requirements-driver-compatibility/
You must have Catalyst driver installed (AMD 13.1 / fglrx 9.012) for this to work! To install (must be running as root):
In your /etc/apt/sources.list add
deb http://ftp.debian.org/debian experimental main non-free contrib
apt-get update
sudo apt-get -t experimental install fglrx-driver fglrx-control
sudo apt-get -t experimental install amd-opencl-icd
aticonfig --initial -f
reboot
Make sure to comment out the experimental repo after you have fglrx working!
FIX: This fix is for AMD/ATI only!
ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/libOpenCL.so.1
Tested on:
HP DV6
cpu: A8 3500m
gpu(s): 6620G (int), HD6750m (discrete)
Custom Desktop
cpu: i7 3820
gpu: HD 7970
I also got the problem running NVIDIA GT650m will test your fix and report back
SharkBait
2013-03-21, 16:59
If you're using a Nvidia card and CUDA the line should be changed to "/usr/share/oclhashcat-plus/cudaHashcat-plus64.bin"
thomasb9511
2013-03-22, 00:40
Oclhashcat still doesnt find my hd 7500m
tested with cudaHashcat-plus64.bin and with oclHashcat-plus64.bin
result stays the same: "GPU drivers are not installed! oclhashcat-plus will not run." :(
a.artemenko
2013-03-22, 14:30
I have amd radeon hd5650
driver amd 13.1 instaled
Installed latest version of AMD APPSDK 2.8.1016.5
my error:
/usr/share/oclhashcat-plus/oclHashcat-plus.bin: error while loading shared libraries: libOpenCL.so.1: wrong ELF class: ELFCLASS32
Please help
SharkBait
2013-03-23, 20:45
Anyone have any help for tr00n3r on the NVIDIA front? I only have AMD cards to work with.
kpoeticg
2013-03-24, 05:04
I was having the same issue so I purged every nvidia package that was installed through the package manager, then i installed the driver from the nvidia website. Now oclhashcat+ recognizes the gpu but i still can't get pyrit to recognize it.
SharkBait
2013-03-24, 15:10
I have amd radeon hd5650
driver amd 13.1 instaled
Installed latest version of AMD APPSDK 2.8.1016.5
my error:
/usr/share/oclhashcat-plus/oclHashcat-plus.bin: error while loading shared libraries: libOpenCL.so.1: wrong ELF class: ELFCLASS32
Please help
Is your Kali install 32 bit? If so you need to link usr/lib/libOpenCL.so.1 to the libOpenCL.so.1 file in /opt/AMDAPP/lib/x86/ like so:
root@kali:~# ln -s /opt/AMDAPP/lib/x86/libOpenCL.so.1
I followed this guide, but it still don't work for me.
I tried to run
"oclhashcat+ -m 2500 test.hccap passwords/eight.txt"
and got the message:
"oclHashcat-plus is located under /usr/share/oclhashcat-plus/
ERROR: clGetDeviceIDs() -1"
if someone could help me, I'd be very happy, I really want GPU cracking to work for me.
I'm using a Sapphire Radeon HD 4850 video card.
SharkBait
2013-03-27, 02:42
I followed this guide, but it still don't work for me.
I tried to run
"oclhashcat+ -m 2500 test.hccap passwords/eight.txt"
and got the message:
"oclHashcat-plus is located under /usr/share/oclhashcat-plus/
ERROR: clGetDeviceIDs() -1"
if someone could help me, I'd be very happy, I really want GPU cracking to work for me.
I'm using a Sapphire Radeon HD 4850 video card.
Your card isn't supported by the AMD-APP-SDK, that is why you're getting that error. AMD doesn't support 'stream' for cards older than the HD 5000 series.
You could try downloading an older version of oclhashcat-plus from their website, but your card wont work with the version that comes installed on Kali.
Okay I see, is there another way to do it? because I had it working with Pyrit when I used Blackbuntu.
SharkBait
2013-03-27, 02:53
I'm not completely sure, you could edit the file /usr/bin/oclhashcat+ so that it doesn't check for the AMD SDK, though I do not know how advisable that is. Your best bet would be to check out the oclhashcat-plus wiki and forums.
Hehe okay thanks, I will have a little look there, otherwise I guess it's time for a new graphic card :)
I did the same procedure again with another graphic card now, this time I used Radeon HD 7850 and still won't work :/
getting the message
"STOP! Unsupported or bad installed GPU driver version detected!
You need -exactly- Catalyst v13.1 for very good reasons" :(
Is your Kali install 32 bit? If so you need to link usr/lib/libOpenCL.so.1 to the libOpenCL.so.1 file in /opt/AMDAPP/lib/x86/ like so:
root@kali:~# ln -s /opt/AMDAPP/lib/x86/libOpenCL.so.1
I have Kali amd64 and same problem. How should my command look for solving this problem.
SharkBait
2013-03-31, 21:05
I did the same procedure again with another graphic card now, this time I used Radeon HD 7850 and still won't work :/
getting the message
"STOP! Unsupported or bad installed GPU driver version detected!
You need -exactly- Catalyst v13.1 for very good reasons" :(
The only time I have ever gotten that warning using oclhashcat-plus (on multiple different distros) is when I have ether the wrong Catalyst driver (fglrx) installed, or the driver did not install properly. You MUST have EXACTLY Catalyst 13.1 installed. So I'm sorry if you have already done this or think it obvious, but do you have that version installed? Did it install without errors? Does Catalyst Control Centre (amdcccle) detect your card properly? Did you have a different version of fglrx installed previously that may not have been purged properly?
Lastly, under the information tab in Catalyst Control Centre, under software, does it say "driver packaging version 9.012-xxxx" ?
Hey Sharkbait. sorry that i havn't replied earlier, I've been up to some other things. I am not sure it was installed properly. I am quite noob to "Linux". But I will check those things you said. and see if I could fix it, if it's the wrong driver.
Thanks again!
@Kraako
I think this post may help you https://hashcat.net/forum/printthread.php?tid=2030&page=3
- it appears you may have the same issue. To sum it up, you may have the wrong libOpenCL version. It should look like below:
$ clinfo | grep 'Version:'
Platform Version: OpenCL 1.2 AMD-APP (1084.4)
Version: OpenCL 1.2 AMD-APP (1084.4)
Version: OpenCL 1.2 AMD-APP (1084.4)
Version: OpenCL 1.2 AMD-APP (1084.4)
Version: OpenCL 1.2 AMD-APP (1084.4)
Edit: If your version is different from above, to fix it remove AMD-APP-SDK if you downloaded it from the website, and install it from Debian Experimental. If you have it already installed from the repo using apt-get install without the "-t experimental" you may have wrong version.
apt-get purge amd-opencl-icd
apt-get -t experimental install amd-opencl-icd
Then add the symlink as mentioned in previous posts:
ln -s /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 /usr/lib/libOpenCL.so.1