View Full Version : got AMD GPU working with Hashcat

2021-04-21, 06:09
I have AMD RX570 and finally got hashcat see GPU also

so here is short version, I skip fumbling, tumbling, trial and error part

1. at start when running hashcat -I it only see CPU
2. download AMD drivers from their site, I downloaded latest for ubuntu 2020 from
3. go to Download folder and tar -xvf <filename>
4. go to folder where files were unpacked
5. there is lot of files but there is amdgpu-install and amdgpu-pro-install files, I ended up using amdgpu-install (you can google difference )
6. install file needs to be modified since it does not "support" kali, so use vi or editor of your choise and open file for editing
7. find row
and add kali in it, so it will look like
8. save and exit
9. simply sunning install did not work(=hashcat did not see gpu), searching internet I found working command (below).
./amdgpu-install --opencl=legacy --headless --no-dkms

after that running 'hashcat -I' it found CPU and GPU, listing correct amound of cores.

hope this helps others.
about installation parameters, don't ask me, internet know better
do at your own risk, if you mess you system, I very likely don't know how to help

I tested hashcat before and after with this command
hashcat -m 2500 -a3 crackMe.hccapx ?d?d?d?d?d?d?d?d

with CPU only took something over 5 hours
with CPU+GPU only 9 min