hashcat Forum

Full Version: Hashcat won't use my GPU..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OS Linux Mint 20.1
GPU RX 570

I have installed the latest ROCm drivers for my GPU and when I do the hashcat -I command this is what it displays...





Code:
root@rob-System-Product-Name:/home/rob# hashcat -I

hashcat (v5.1.0) starting...



clGetDeviceIDs(): CL_DEVICE_NOT_FOUND



OpenCL Info:



Platform ID #1

  Vendor  : The pocl project

  Name    : Portable Computing Language

  Version : OpenCL 1.2 pocl 1.4, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG



  Device ID #1

    Type          : CPU

    Vendor ID      : 128

    Vendor        : GenuineIntel

    Name          : pthread-Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz

    Version        : OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-sandybridge

    Processor(s)  : 4

    Clock          : 5900

    Memory        : 4096/13933 MB allocatable

    OpenCL Version : OpenCL C 1.2 pocl

    Driver Version : 1.4



Platform ID #2

  Vendor  : Intel(R) Corporation

  Name    : Intel(R) OpenCL

  Version : OpenCL 1.2 LINUX



  Device ID #2

    Type          : CPU

    Vendor ID      : 8

    Vendor        : Intel(R) Corporation

    Name          : Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz

    Version        : OpenCL 1.2 (Build 37)

    Processor(s)  : 4

    Clock          : 3300

    Memory        : 3995/15981 MB allocatable

    OpenCL Version : OpenCL C 1.2

    Driver Version : 1.2.0.37



Platform ID #3

  Vendor  : Advanced Micro Devices, Inc.

  Name    : AMD Accelerated Parallel Processing

  Version : OpenCL 2.0 AMD-APP (3212.0)


However, when I attempt to crack some simple md5 hashes. It doesn't use my GPU. the output is below

Code:
oot@rob-System-Product-Name:/home/rob# hashcat -a3 -m0 /home/rob/Desktop/Hack/hash.txt ?a?a?a?a?a?a?a?a?a --force
hashcat (v5.1.0) starting...

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

OpenCL Platform #1: The pocl project
====================================
* Device #1: pthread-Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4096/13933 MB allocatable, 4MCU

OpenCL Platform #2: Intel(R) Corporation
========================================
* Device #2: Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 3995/15981 MB allocatable, 4MCU

OpenCL Platform #3: Advanced Micro Devices, Inc., skipped or no OpenCL compatible devices found.

Hashes: 3 digests; 3 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates

Applicable optimizers:
* Zero-Byte
* Early-Skip
* Not-Salted
* Not-Iterated
* Single-Salt
* Brute-Force
* Raw-Hash

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256

ATTENTION! Pure (unoptimized) OpenCL kernels selected.
This enables cracking passwords and salts > length 32 but for the price of drastically reduced performance.
If you want to switch to optimized OpenCL kernels, append -O to your commandline.

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.

* Device #1: build_opts '-cl-std=CL1.2 -I OpenCL -I /usr/share/hashcat/OpenCL -D LOCAL_MEM_TYPE=2 -D VENDOR_ID=64 -D CUDA_ARCH=0 -D AMD_ROCM=0 -D VECT_SIZE=8 -D DEVICE_TYPE=2 -D DGST_R0=0 -D DGST_R1=3 -D DGST_R2=2 -D DGST_R3=1 -D DGST_ELEM=4 -D KERN_TYPE=0 -D _unroll'
* Device #2: build_opts '-cl-std=CL1.2 -I OpenCL -I /usr/share/hashcat/OpenCL -D LOCAL_MEM_TYPE=2 -D VENDOR_ID=8 -D CUDA_ARCH=0 -D AMD_ROCM=0 -D VECT_SIZE=4 -D DEVICE_TYPE=2 -D DGST_R0=0 -D DGST_R1=3 -D DGST_R2=2 -D DGST_R3=1 -D DGST_ELEM=4 -D KERN_TYPE=0 -D _unroll'
[s]tatus [p]ause [b]ypass [c]heckpoint [q]uit =>

I have tried to uninstall POCL but everytime I do that it automatically uninstalls hashcat?

Help would be very much appreciated.
first: -> never use --force
second:
hashcat (v5.1.0) starting...

this is an older version, try downloading, compiling and using the gitversion (v6.1.1***)

third:
amd on linux seems littel bit tricky, see this thread

https://hashcat.net/forum/thread-8630.html
You need to remove POCL first then install the proper drivers.
I think I am having a similar issue. It seems to see my AMD Threadripper but not the GPU's. Both are slotted in PCIE 3 slots ( At least I am fairly certain they are). Any ideas?

Ubuntu 20.04 (fresh minimal install)
(2) RX 580's
Threadripper 1950X
amdgpu 21.2.6 (open source)
ROCm 5.4.1.50401-84~20.04
hashcat v6.2.6



Code:
hashcat (v5.1.0) starting...

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

OpenCL Info:

Platform ID #1
  Vendor  : The pocl project
  Name    : Portable Computing Language
  Version : OpenCL 1.2 pocl 1.4, None+Asserts, LLVM 9.0.1, RELOC, SLEEF, DISTRO, POCL_DEBUG

  Device ID #1
    Type          : CPU
    Vendor ID      : 1
    Vendor        : AuthenticAMD
    Name          : pthread-AMD Ryzen Threadripper 1950X 16-Core Processor
    Version        : OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-znver1
    Processor(s)  : 16
    Clock          : 3400
    Memory        : 16384/62112 MB allocatable
    OpenCL Version : OpenCL C 1.2 pocl
    Driver Version : 1.4

Platform ID #2
  Vendor  : Advanced Micro Devices, Inc.
  Name    : AMD Accelerated Parallel Processing
  Version : OpenCL 2.1 AMD-APP (3513.0)