hashcat icon indicating copy to clipboard operation
hashcat copied to clipboard

OpenCL Runtime for Intel Core and Intel Xeon Processors

Open huyouba1 opened this issue 1 year ago • 5 comments

Error during execution

bash-4.4# ./hashcat -a 0 -m 0 example0.hash example.dict -r rules/best64.rule
hashcat (v6.2.6) starting

ATTENTION! No OpenCL, Metal, HIP or CUDA installation found.

You are probably missing the CUDA, HIP or OpenCL runtime installation.

* AMD GPUs on Linux require this driver:
  "AMDGPU" (21.50 or later) and "ROCm" (5.0 or later)
* Intel CPUs require this runtime:
  "OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
* NVIDIA GPUs require this runtime and/or driver (both):
  "NVIDIA Driver" (440.64 or later)
  "CUDA Toolkit" (9.0 or later)

Started: Tue Feb 20 00:58:57 2024
Stopped: Tue Feb 20 00:58:57 2024

Container environment

NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.8.2
PRETTY_NAME="Alpine Linux v3.8"
HOME_URL="http://alpinelinux.org"
BUG_REPORT_URL="http://bugs.alpinelinux.org"

huyouba1 avatar Feb 20 '24 01:02 huyouba1

image

huyouba1 avatar Feb 20 '24 01:02 huyouba1

Are you sure that you have installed proper drivers (and your device supports it)?

My Intel Xeon works very well. Fresh build from master branch.

$ ./hashcat -I
hashcat (v6.2.6-850-gfafb277e0) starting in backend information mode

OpenCL Info:
============

OpenCL Platform ID #1
  Vendor..: Advanced Micro Devices, Inc.
  Name....: AMD Accelerated Parallel Processing
  Version.: OpenCL 2.0 AMD-APP (3305.0)

  Backend Device ID #1
    Type...........: GPU
    Vendor.ID......: 1
    Vendor.........: Advanced Micro Devices, Inc.
    Name...........: Vega 10 XL/XT [Radeon RX Vega 56/64]
    Version........: OpenCL 2.0
    Processor(s)...: 64
    Clock..........: 1663
    Memory.Total...: 8176 MB (limited to 6949 MB allocatable in one block)
    Memory.Free....: 8064 MB
    Local.Memory...: 64 KB
    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 3305.0 (HSA1.1,LC)
    PCI.Addr.BDF...: 1d:00.0

  Backend Device ID #2
    Type...........: GPU
    Vendor.ID......: 1
    Vendor.........: Advanced Micro Devices, Inc.
    Name...........: Vega 10 XL/XT [Radeon RX Vega 56/64]
    Version........: OpenCL 2.0
    Processor(s)...: 64
    Clock..........: 1663
    Memory.Total...: 8176 MB (limited to 6949 MB allocatable in one block)
    Memory.Free....: 8064 MB
    Local.Memory...: 64 KB
    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 3305.0 (HSA1.1,LC)
    PCI.Addr.BDF...: 3f:00.0

  Backend Device ID #3
    Type...........: GPU
    Vendor.ID......: 1
    Vendor.........: Advanced Micro Devices, Inc.
    Name...........: Vega 10 XL/XT [Radeon RX Vega 56/64]
    Version........: OpenCL 2.0
    Processor(s)...: 64
    Clock..........: 1663
    Memory.Total...: 8176 MB (limited to 6949 MB allocatable in one block)
    Memory.Free....: 8064 MB
    Local.Memory...: 64 KB
    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 3305.0 (HSA1.1,LC)
    PCI.Addr.BDF...: 8b:00.0

  Backend Device ID #4
    Type...........: GPU
    Vendor.ID......: 1
    Vendor.........: Advanced Micro Devices, Inc.
    Name...........: Vega 10 XL/XT [Radeon RX Vega 56/64]
    Version........: OpenCL 2.0
    Processor(s)...: 64
    Clock..........: 1663
    Memory.Total...: 8176 MB (limited to 6949 MB allocatable in one block)
    Memory.Free....: 8064 MB
    Local.Memory...: 64 KB
    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 3305.0 (HSA1.1,LC)
    PCI.Addr.BDF...: b4:00.0

OpenCL Platform ID #2
  Vendor..: Intel(R) Corporation
  Name....: Intel(R) CPU Runtime for OpenCL(TM) Applications
  Version.: OpenCL 2.1 LINUX

  Backend Device ID #5
    Type...........: CPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
    Version........: OpenCL 2.1 (Build 0)
    Processor(s)...: 40
    Clock..........: 2200
    Memory.Total...: 64069 MB (limited to 8008 MB allocatable in one block)
    Memory.Free....: 32002 MB
    Local.Memory...: 32 KB
    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 18.1.0.0920

ventaquil avatar Feb 20 '24 13:02 ventaquil

This is a distro issue. Setting up OpenCL Runtime should fix it.

mohemiv avatar Apr 16 '24 16:04 mohemiv