![]() |
ERROR: clCreateContext(): CL_UNKNOWN_ERROR - Printable Version +- hashcat Forum (https://hashcat.net/forum) +-- Forum: Support (https://hashcat.net/forum/forum-3.html) +--- Forum: hashcat (https://hashcat.net/forum/forum-45.html) +--- Thread: ERROR: clCreateContext(): CL_UNKNOWN_ERROR (/thread-5881.html) Pages:
1
2
|
ERROR: clCreateContext(): CL_UNKNOWN_ERROR - Predator - 09-16-2016 Got this error today after an apt-get upgrade and apt-get dist-upgrade so something broke.. Since it worked before the update I know it's not really a problem caused by Hashcat but I hope someone can guide me in backtracking this issue I run hashcat through optirun and it worked until I updated system ![]() OpenCL Platform #1: NVIDIA Corporation ====================================== - Device #1: GeForce GTX 965M, 1009/4037 MB allocatable, 8MCU OpenCL Platform #2: Mesa, skipped! No OpenCL compatible devices found WARN: nvmlDeviceGetFanSpeed() 3 Not Supported Hashes: 6886776 hashes; 6886776 unique digests, 1 unique salts Bitmaps: 23 bits, 8388608 entries, 0x007fffff mask, 33554432 bytes, 5/13 rotates Applicable Optimizers: * Zero-Byte * Precompute-Init * Precompute-Merkle-Demgard * Meet-In-The-Middle * Early-Skip * Not-Salted * Not-Iterated * Single-Salt * Brute-Force * Raw-Hash Watchdog: Temperature abort trigger set to 90c Watchdog: Temperature retain trigger set to 75c Initializing device kernels and memory... ERROR: clCreateContext(): CL_UNKNOWN_ERROR This is the output from deviceQuery CUDA Device Query (Runtime API) version (CUDART static linking) Detected 1 CUDA Capable device(s) Device 0: "GeForce GTX 965M" CUDA Driver Version / Runtime Version 8.0 / 7.5 CUDA Capability Major/Minor version number: 5.2 Total amount of global memory: 4038 MBytes (4233691136 bytes) ( 8) Multiprocessors, (128) CUDA Cores/MP: 1024 CUDA Cores GPU Max Clock rate: 1150 MHz (1.15 GHz) Memory Clock rate: 2505 Mhz Memory Bus Width: 128-bit L2 Cache Size: 1048576 bytes Maximum Texture Dimension Size (x,y,z) 1D=(65536), 2D=(65536, 65536), 3D=(4096, 4096, 4096) Maximum Layered 1D Texture Size, (num) layers 1D=(16384), 2048 layers Maximum Layered 2D Texture Size, (num) layers 2D=(16384, 16384), 2048 layers Total amount of constant memory: 65536 bytes Total amount of shared memory per block: 49152 bytes Total number of registers available per block: 65536 Warp size: 32 Maximum number of threads per multiprocessor: 2048 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) Maximum memory pitch: 2147483647 bytes Texture alignment: 512 bytes Concurrent copy and kernel execution: Yes with 2 copy engine(s) Run time limit on kernels: No Integrated GPU sharing Host Memory: No Support host page-locked memory mapping: Yes Alignment requirement for Surfaces: Yes Device has ECC support: Disabled Device supports Unified Addressing (UVA): Yes Device PCI Domain ID / Bus ID / location ID: 0 / 1 / 0 Compute Mode: < Default (multiple host threads can use ::cudaSetDevice() with device simultaneously) > deviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 8.0, CUDA Runtime Version = 7.5, NumDevs = 1, Device0 = GeForce GTX 965M Result = PASS RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR - atom - 09-16-2016 Please try with any other OpenCL program (not CUDA) RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR - Predator - 09-16-2016 (09-16-2016, 09:06 AM)atom Wrote: Please try with any other OpenCL program (not CUDA) But it did work before they updated the Nvidia Cuda and opencl driver. For my use it's pointless to use another opencl since CUDA is what I want to use. And no other opencl have ever worked with my bumblebee setup RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR - kiara - 09-16-2016 (09-16-2016, 09:15 AM)Predator Wrote:(09-16-2016, 09:06 AM)atom Wrote: Please try with any other OpenCL program (not CUDA) prehaps after updating and upgrading ur system with apt, ur hashcat version was upgraded aswell (happen to me to) from 2 to 3, since v3 dont use cuda anymore it wont work with out opencl, i guess if u want to use hashcat with cuda u will have to go back to V2 https://hashcat.net/files_legacy/cudaHashcat-2.01.7z RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR - Predator - 09-16-2016 Same version as when it worked so there is something else that's broken. No other app complains just Hashcat. Before 3.10 I had no luck at all with Hashcat. Maybe add a function to use CUDA directly since OpenCL is a huge source of error it seems. RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR - Predator - 09-16-2016 Is there any test program for OpenCL so I can test and dump result here? RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR - Predator - 09-20-2016 Hmmm, really strange that no other OpenCL complains just Hashcat... And one more thing, Hashcat 2 cuda version works perfect, why stop support for one of the most popular graphic cards out there? OpenCL seems pretty buggy for most Intel HD/Nvidia setup so please add support for CUDA again so we don't have do dissect our computer every time. /Predator RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR - KhanKrum - 09-20-2016 I have exactly the same problem, after upgrading NVIDIA driver to 367.44. Until that hashcat 3.10 was working OK. Now: ----------------------------------------------------------------- Code: hashcat -m 2500 -b ------------------------------------------------------------------------------------------------------------------- Old cudaHashcat 2.01 is working perfectly well: _____________________________ / Code: usr/share/cudaHashcat-2.01/cudaHashcat64.bin -m 2500 -b ______________________________________________________________________ RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR. Resolved! - KhanKrum - 09-21-2016 Predator, I've found a solution! I suppose you are running Debian or Ubuntu based system... 1. If you don't have it already - install synaptic Code: sudo apt-get update && sudo apt-get install synaptic 3. At last I have installed : Code: diffstat (1.61-1) and removed: Code: nvidia-smi:i386 The result: Code: hashcat -m 2500 -b RE: ERROR: clCreateContext(): CL_UNKNOWN_ERROR. Resolved! - Predator - 09-21-2016 Hi, I'll try that later today, thanks for your information about this. (09-21-2016, 02:53 AM)KhanKrum Wrote: Predator, I've found a solution! I suppose you are running Debian or Ubuntu based system... |