hashcat fails to start on Windows 11 - error on OpenCLOn12.dll
#1
Hello,

I am having this issue starting hashcat, it freezes upon start and I get this in the event logs.
I have tried installing a different version of Microsoft OpenCL and OpenGL Compatibility Pack but I get the same result.
GPU : Nvidia GeForce RTX 3050 Laptop GPU
Driver Version : 511.79

Faulting application name: hashcat.exe, version: 0.0.0.0, time stamp: 0x62274b67
Faulting module name: OpenCLOn12.dll, version: 0.0.0.0, time stamp: 0x618d36bf
Exception code: 0xc0000409
Fault offset: 0x00000000000e429d
Faulting process id: 0x2e1c
Faulting application start time: 0x01d834331d42392d
Faulting application path: c:\Tools\hashcat-6.2.5+308\hashcat-6.2.5\hashcat.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.D3DMappingLayers_1.2112.2.0_x64__8wekyb3d8bbwe\x64\OpenCLOn12.dll
#2
did you try to uninstall all drivers and install the vendor driver as suggested in the github issue ?

does nvidia officially support windows 11 already... Probably it already does... but is somebody else able to test on windows 11 if hashcat works for them ?

(note: this problem was already reported here: https://github.com/hashcat/hashcat/issues/3216)



update:
yeah, it seems that there is support for windows 11 already for your GPU: https://www.nvidia.com/Download/driverRe...7099/en-us , again I would suggest to uninstall this microsoft drivers, maybe use driver fusion or DDU (Display Driver Uninstaller) or similar tools to get rid of this microsoft OpenCLOn12.dll runtime and/or opencl implementation.
You probably only need the nvidia driver that ships with all runtimes needed for hashcat
#3
(03-20-2022, 11:44 AM)philsmd Wrote: did you try to uninstall all drivers and install the vendor driver as suggested in the github issue ?

does nvidia officially support windows 11 already... Probably it already does... but is somebody else able to test on windows 11 if hashcat works for them ?

(note: this problem was already reported here: https://github.com/hashcat/hashcat/issues/3216)



update:
yeah, it seems that there is support for windows 11 already for your GPU:  https://www.nvidia.com/Download/driverRe...7099/en-us , again I would suggest to uninstall this microsoft drivers, maybe use driver fusion or DDU (Display Driver Uninstaller) or similar tools to get rid of this microsoft OpenCLOn12.dll runtime and/or opencl implementation.
You probably only need the nvidia driver that ships with all runtimes needed for hashcat

Phil, your help is much appreciated and thank you so much for the simple but overlooked hint to uninstall the Microsoft OpenCL and OpenGL Compatibilty Pack that shipped with Windows, after that I am able to get hashcat to start! I am wondering if there is any downside to uninstalling that?

Now, hashcat finds 3 GPUs not sure why there is a duplicate for the Nvidia, and when I leave it without using -d, I see the GPU utilization increasing on the Intel Iris card AND also the memory usage is increasing on the Nvidia card (but not GPU processing, which confuses me as to why GPU processing is used on Intel card and memory used from both Nvidia and Intel.

If I specify the device with CUDA API using -d 1 (OpenCL API (OpenCL 3.0 CUDA 11.6.110) - Platform #1 NVIDIA GeForce RTX 3050 Laptop GPU, 3335/4095 MB, 16MCU), only memory usage increases on the Nvidia GPU but NOT the 3D utilization, the Intel Iris is sleeping, no issues.

If I specify -d 2 (OpenCL API (OpenCL 3.0 ) NVIDIA GeForce RTX 3050 Laptop GPU)  to choose the OpenCL API, it stays forvever on "Initializing backend runtime for device #2. Please be patient..."

If I specify -d 3 (Device #3: Intel(R) Iris(R) Xe Graphics, 3168/6451 MB (1612 MB allocatable), 96MCU).



CUDA API (CUDA 11.6)
====================
* Device #1: NVIDIA GeForce RTX 3050 Laptop GPU, 3335/4095 MB, 16MCU
OpenCL API (OpenCL 3.0 CUDA 11.6.110) - Platform #1 [NVIDIA Corporation]
========================================================================
* Device #2: NVIDIA GeForce RTX 3050 Laptop GPU, skipped
OpenCL API (OpenCL 3.0 ) - Platform #2 [Intel(R) Corporation]
=============================================================
* Device #3: Intel(R) Iris(R) Xe Graphics, 3168/6451 MB (1612 MB allocatable), 96MCU

Intel Iris GPU  96% usage
[Image: G6r9k6y.png]

Nvidia GPU 0% usage but 3 GB memory usage
[Image: 272C3nI.png]
#4
windows taskmanager doesnt show the real workload when using hahscat so dont rely on that (cracking isnt a 3D application)

see hashcat utilisation and increasing temperature for that
#5
(03-21-2022, 05:42 PM)Snoopy Wrote: windows taskmanager doesnt show the real workload when using hahscat so dont rely on that (cracking isnt a 3D application)

see hashcat utilisation and increasing temperature for that

Thank you, will take that into consideration.