Linux + AMD + hashcat
#1
Exclamation 
Hi,
I just wanted to share the steps that made me able to use hashcat in a linux distro with an amd card
hope this will help someone..

Tested on:
Linux: Ubuntu 18.04
AMD: RX580
hashcat: 5.1.0+1394

Steps:
1. sudo apt-get install ocl-icd-libopencl1 opencl-headers clinfo
2. Install: https://rocm.github.io/install.html (OpenCL-only Installation of ROCm)
3. Reboot
4. apt remove rocm-dkms
5. Reboot
6. Install AMDGPU Driver (./amdgpu-install --opencl=legacy,rocm --headless)
7. Reboot
8. apt remove amdgpu-dkms
9. Reboot


in my case i had problems with the updated dkms which results in a freeze once i type clinfo or use hashcat..
faq:
1. why installed dkms in the first place? idk
2. why too many reboots? idk, maybe just to make sure i'm using the right kernel?

there is many confusions while dealing with amd in linux
https://hashcat.net/faq/wrongdriver was helpful but not much, there was no amdgpu mentioned, without it was unable of running hashcat (maybe bcz pci rejects atomics ?, as that what i was keep getting as a message on dmesg)

.....
Reply


Messages In This Thread
Linux + AMD + hashcat - by onethread - 09-05-2019, 02:44 PM
RE: Linux + AMD + hashcat - by ZerBea - 09-05-2019, 04:08 PM
RE: Linux + AMD + hashcat - by Rdgeno - 10-09-2019, 01:49 AM
RE: Linux + AMD + hashcat - by onethread - 10-17-2019, 09:21 PM
RE: Linux + AMD + hashcat - by pkersey - 05-23-2022, 01:47 AM
RE: Linux + AMD + hashcat - by hashserious - 06-06-2022, 12:58 AM