09-05-2019, 02:44 PM
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)
.....
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)
.....