hashcat Forum
Linux + AMD + hashcat - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Linux + AMD + hashcat (/thread-8630.html)



Linux + AMD + hashcat - onethread - 09-05-2019

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)

.....


RE: Linux + AMD + hashcat - ZerBea - 09-05-2019

The enormous misunderstanding of AMD is that they really think LINUX is UBUNTU, or CentOS or RHEL:
The ROCm 2.0.x platform supports the following operating systems:
Ubuntu 16.04.x and 18.04.x (Version 16.04.3 and newer or kernels 4.13 and newer)
CentOS 7.4, 7.5, and 7.6 (Using devtoolset-7 runtime support)
RHEL 7.4, 7.5, and 7.6 (Using devtoolset-7 runtime support)
https://rocm.github.io/install.html#supported-operating-systems---new-operating-systems-available

So, you're absolutely right: There is many confusions while dealing with AMD on LINUX.


RE: Linux + AMD + hashcat - Rdgeno - 10-09-2019

Hi I tried your method, unfortunately it didn't work. You seem to have a handle on this could you take a look at my post I am really at a loss.


RE: Linux + AMD + hashcat - onethread - 10-17-2019

(10-09-2019, 01:49 AM)Rdgeno Wrote: Hi I tried your method, unfortunately it didn't work. You seem to have a handle on this could you take a look at my post I am really at a loss.

Hi, i'm not sure if you fixed your issue or not;
have you tried the above method on a clean os installation?
also, it would help if you can give more info about your issue and your system specs