Hashcat do not recognize my CPU with OpenCL
#1
Hi,
I installed hashcat 6.2.6 on my laptop (HP Probook 450 G9 with intel core i5-1235U)
I installed too Intel CPU Runtime for OpenCL applications version 24.0
But hashcat still do not recognize my CPU with option "-D 1,2"
The OpenCL driver for my GPU is recognized but I want to use GPU+CPU
Thanks for your feed back!
Reply
#2
GPU+CPU is often not recommended except for extraordinarily slow hashes like some scrypt modes. CPUs are significantly slower than GPUs and often the GPUs just get starved of work when the CPU is at 100% utilisation. The Intel OpenCL runtime should work, though. Make sure you restart your machine if you haven't already and still want to persue CPU support
Reply
#3
Yes, i restarted my machine, unsucessfully
I want to pursue with CPU support for an internal need
I downloaded the new version of Intel OpenCL runtime and i suspect a bug with this version
I didn't find a way to download an earlier version
How can I check if hashcat properly work with OpenCL runtime ?
Reply
#4
Windows or Linux?
Have you seen this
https://www.intel.com/content/www/us/en/...rview.html
Please provide output of
hashcat -II
Reply
#5
Windows 10 22h2
Yes, it is the url followed to download w_opencl_runtime_p_2024.0.0.49848.exe 
Below the output of hashcat -II
hashcat (v6.2.6) starting in backend information mode

System Info:
============

OS.Name......: Windows
OS.Release...: N/A
HW.Platform..: N/A
HW.Model.....: N/A

Environment Info:
=================

Cur.Work.Dir.: C:\Users\clenetb\Documents\Hashcat\hashcat-6.2.6
Install.Dir..: .
Profile.Dir..: .
Cache.Dir....: .
Shared.Dir...: .
CL.Inc.Path..: ./OpenCL/

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

OpenCL Platform ID #1
  Vendor..: Intel(R) Corporation
  Name....: Intel(R) OpenCL Graphics
  Version.: OpenCL 3.0

  Backend Device ID #1
    Type...........: GPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: Intel(R) UHD Graphics
    Version........: OpenCL 3.0 NEO
    Processor(s)...: 80
    Clock..........: 1200
    Memory.Total...: 3129 MB (limited to 782 MB allocatable in one block)
    Memory.Free....: 1504 MB
    Local.Memory...: 64 KB
    OpenCL.Version.: OpenCL C 1.2
    Driver.Version.: 31.0.101.4887
Reply
#6
I would try installing fresh Windows in a separate partition (just for a test) and not connect to Internet at all. Then install OpenCL runtime.
Also you can try this old runtime (it works for non-Intel CPUs as well)
*ttps://registrationcenter-download.intel.com/akdlm/irc_nas/vcp/13794/opencl_runtime_18.1_x64_setup.msi
See here for additional info
https://hashcat.net/forum/thread-10548-p...l#pid54778
Reply
#7
I installed OpenCL version 18.1 following your link and now my CPU is recognized but not my GPU!
How to have both?
hashcat (v6.2.6) starting in backend information mode

System Info:
============

OS.Name......: Windows
OS.Release...: N/A
HW.Platform..: N/A
HW.Model.....: N/A

Environment Info:
=================

Cur.Work.Dir.: C:\Users\clenetb\Documents\Hashcat\hashcat-6.2.6
Install.Dir..: .
Profile.Dir..: .
Cache.Dir....: .
Shared.Dir...: .
CL.Inc.Path..: ./OpenCL/

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

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

  Backend Device ID #1
    Type...........: CPU
    Vendor.ID......: 8
    Vendor.........: Intel(R) Corporation
    Name...........: 12th Gen Intel(R) Core(TM) i5-1235U
    Version........: OpenCL 2.1 (Build 0)
    Processor(s)...: 12
    Clock..........: 0
    Memory.Total...: 7824 MB (limited to 978 MB allocatable in one block)
    Memory.Free....: 3880 MB
    Local.Memory...: 32 KB
    OpenCL.Version.: OpenCL C 2.0
    Driver.Version.: 18.1.0.0920
Reply
#8
when i remember myself right, on these "combined CPU/GPU" laptop APUs it doesnt really matter what kind of device backend you use as its physical the same and CPU has the advantage of providing more ram to the process

see the data on memory total and allocatbale compared GPU <-> CPU
Reply