You are not logged in.

#1 2018-04-13 16:55:21

1ptb3b
Member
Registered: 2017-01-17
Posts: 95

Hashcat Radeon RX Vega 64 error CL_PLATFORM_NOT_FOUND_KHR

Hello, I'm trying to run hashcat with a Vega 64, but I'm getting this error when I run the hashcat command. I also tried with sudo, but I get the same error.

$ hashcat -m 1800 -a 3 passwor?a password.hash
clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR
Started: Tue Apr 10 07:20:03 2018
Stopped: Tue Apr 10 07:20:03 2018

This is the version of hashcat that I'm running.

$ hashcat --version
v4.1.0

Here's the kernel I'm running.

$ uname -r
4.15.15-1-ARCH

Here are the graphics-related packages I installed.

$ pacman -Q | rg "(amd|cl|mesa|hash)"
clinfo 2.2.18.04.06-1
hashcat 1:4.1.0-1
libclc 0.2.0+506+96d10f2-1
libva-mesa-driver 18.0.0-3
mesa 18.0.0-3
mesa-vdpau 18.0.0-3
ocl-icd 2.2.12-1
opencl-headers 2:2.2.20170516-1
opencl-mesa 18.0.0-3
xf86-video-amdgpu 18.0.1-1

Here's my GPU info.

$ sudo lshw -C display
  *-display
       description: VGA compatible controller
       product: Vega 10 XT [Radeon RX Vega 64]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:43:00.0
       version: c1
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list rom
       configuration: driver=amdgpu latency=0
       resources: irq:52 memory:d0000000-dfffffff memory:e0000000-e01fffff ioport:e000(size=256) memory:ed500000-ed57ffff memory:c0000-dffff

Here's what clinfo says. This one is concerning.

$ sudo clinfo
Number of platforms                               0

Here's what OpenCL vendors says.

$ ls /etc/OpenCL/vendors 
mesa.icd

Does anyone have any tips?

Last edited by 1ptb3b (2018-04-13 17:36:37)

Offline

#2 2018-04-13 17:39:25

1ptb3b
Member
Registered: 2017-01-17
Posts: 95

Re: Hashcat Radeon RX Vega 64 error CL_PLATFORM_NOT_FOUND_KHR

Wait, hold on. I think I originally forgot to install the ocl-icd package. I saw it here: https://wiki.archlinux.org/index.php/GP … enCL.so.29 Also, I restarted my computer.

Now I'm seeing this.

$ hashcat -m 1800 -a 3 passwor?a password.hash
hashcat (v4.1.0) starting...

Mesa (Gallium) OpenCL platform detected!

The Mesa platform can cause errors that are often mistaken for bugs in hashcat.
You are STRONGLY encouraged to use the drivers listed in docs/readme.txt.
You can use --force to override this, but do not report related errors.
You can also use --opencl-platforms to skip the Mesa platform(s).

Started: Fri Apr 13 10:40:23 2018
Stopped: Fri Apr 13 10:40:23 2018

From docs/readme.txt:

AMD GPUs on Linux require "RadeonOpenCompute (ROCm)" Software Platform (1.6.180 or later)

Last edited by 1ptb3b (2018-04-13 17:45:59)

Offline

Board footer

Powered by FluxBB