Hashcat saying wrong driver
#1
Hi
I am running Ubunto 18.04 server version on msi  X470 motherboard with a  AMD Ryzen 5 2600 Six-Core Processor and rx 570 GPU.  I have installed the ROCM drivers according to their instructions and that installed with no issues, i tested the ROCM install with their helloworld app and that works fine. However when i run Hashcat i get the following error

* Update your OpenCL runtime / driver the right way:
 
  https://hashcat.net/faq/wrongdriver

It is running but considerably slower than it should do.

Any ideas on how to fix this would be greatly appreciated.
#2
(12-15-2018, 04:24 PM)sae Wrote: It is running but considerably slower than it should do.

What do you mean by this? And give an example of how you are using hashcat for us to help. Just run a benchmark and that'll help determine if your setup is working properly.
#3
(12-16-2018, 01:31 AM)slyexe Wrote:
(12-15-2018, 04:24 PM)sae Wrote: It is running but considerably slower than it should do.

What do you mean by this? And give an example of how you are using hashcat for us to help. Just run a benchmark and that'll help determine if your setup is working properly.

Hi Thanks

ok i have two rx570 currently in my system

here are the rates 

Speed.Dev.#1.....:   181.8 kH/s (10.65ms)
Speed.Dev.#2.....:   168.2 kH/s (11.38ms)
Speed.Dev.#*.....:   350.2 kH/s

for m 2500 wpa2 

Hashcat reports

Cracking performance lower than expected?
* Append -w 3 to the commandline.
  This can cause your screen to lag.
* Update your OpenCL runtime / driver the right way:
  https://hashcat.net/faq/wrongdriver
* Create more work items to make use of your parallelization power:
  https://hashcat.net/faq/morework
#4
What's your commandline?
The hashrates looks okay for your old card.
#5
sudo hashcat -a 0 -m 2500 wpa06-01.hccapx rockyou.txt -r /usr/share/hashcat/rules/best64.rule -D 2

the rx570 are less than 2 years old but looking at google people are running in the MH rather than KH range, i do actually have 5 of them as this was originally a mining machine but upgraded the mother board and cpu in order to use the ROCM drivers
#6
are you sure that the MH/s are for a single card and for -m 2500 = WPA/WPA2 ?
That's probably not correct. Can you give a link to these benchmarks ?

Of course if you have 8 x Nvidia GTX 1080 ti the overall speed will be better.

The hashing algorithm matters a lot if it comes to benchmarks/speed, of course.
#7
A benchmark: https://hashcat.net/forum/thread-7827.html

RX570 - WPA-2500: 150kH/s.

So your hashrate looks like okay according to the benchmark mentionned before.
#8
Also note, ROCm example app does not involve OpenCL. There's also clinfo which uses OpenCL. If that works and you can see your device then hashcat should work, too.