GTX 1080: errors
#1
Hello. 
OS: Ubuntu 16.04.1
GPU: Gigabyte GTX 1080
I installed nvidia driver (367.18) from .run file.
When i start hashcat...
3.00
Code:
./hashcat-3.00/hashcat64.bin -b hashcat (v3.00-1-g67a8d97) starting in benchmark-mode... OpenCL Platform #1: NVIDIA Corporation ====================================== - Device #1: Graphics Device, 2027/8108 MB allocatable, 20MCU Hashtype: MD4 ERROR: clWaitForEvents() : -9999 : CL_UNKNOWN_ERROR

3.10
Code:
./hashcat-3.10/hashcat64.bin -b hashcat (v3.10) starting in benchmark-mode... OpenCL Platform #1: NVIDIA Corporation ====================================== - Device #1: Graphics Device, 2027/8108 MB allocatable, 20MCU Hashtype: MD4 ERROR: clWaitForEvents(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR Speed.Dev.#1.:   [b]114.2 TH/s [/b](0.00ms) ERROR: clCreateContext(): CL_UNKNOWN_ERROR

3.20/3.30
Code:
./hashcat-3.20/hashcat64.bin -b hashcat (v3.20) starting in benchmark mode... OpenCL Platform #1: NVIDIA Corporation ====================================== * Device #1: Graphics Device, 2027/8108 MB allocatable, 20MCU Hashtype: MD4 clWaitForEvents(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR clFlush(): CL_UNKNOWN_ERROR Speed.Dev.#1.....:        0 H/s (0.39ms) Hashtype: MD5 clCreateContext(): CL_UNKNOWN_ERROR Started: Thu Feb 16 16:13:03 2017 Stopped: Thu Feb 16 16:13:05 2017

Code:
lspci -k| grep -EA2 'VGA|3D' 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1) Subsystem: Gigabyte Technology Co., Ltd Device 3702 Kernel driver in use: nvidia


How to fix it?
#2
The "Device #1: Graphics Device" is kind of strange. Maybe your GPU does not support this driver. Try again with latest driver version from nvidia site (378.x series).
#3
(02-16-2017, 01:18 PM)atom Wrote: The "Device #1: Graphics Device" is kind of strange. Maybe your GPU does not support this driver. Try again with latest driver version from nvidia site (378.x series).

Thanx for reply.
After installation (378.13 or 378.09) beta
Code:
root@host:/home/user/hashcat-3.30# ./hashcat64.bin -b hashcat (v3.30) starting in benchmark mode... OpenCL Platform #1: NVIDIA Corporation ====================================== * Device #1: GeForce GTX 1080, 2027/8108 MB allocatable, 20MCU Hashtype: MD4 clFinish(): CL_INVALID_COMMAND_QUEUE Speed.Dev.#1.....:        0 H/s (0.00ms) Hashtype: MD5 clCreateContext(): CL_OUT_OF_RESOURCES Started: Thu Feb 16 16:46:29 2017 Stopped: Thu Feb 16 16:46:30 2017


Code:
root@host:/home/user# ./hashcat-3.00/hashcat64.bin -b hashcat (v3.00-1-g67a8d97) starting in benchmark-mode... OpenCL Platform #1: NVIDIA Corporation ====================================== - Device #1: GeForce GTX 1080, 2027/8108 MB allocatable, 20MCU Hashtype: MD4 ERROR: clFinish() : -36 : CL_INVALID_COMMAND_QUEUE

Code:
user@host:~$ lspci -k| grep -EA2 'VGA|3D' 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)         Subsystem: Gigabyte Technology Co., Ltd Device 3702         Kernel driver in use: nvidia

Code:
user@host:~$ dpkg -S libOpenCL ocl-icd-libopencl1:amd64: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 ocl-icd-libopencl1:amd64: /usr/share/man/man7/libOpenCL.7.gz ocl-icd-libopencl1:amd64: /usr/share/man/man7/libOpenCL.so.7.gz ocl-icd-libopencl1:amd64: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 ocl-icd-libopencl1:amd64: /usr/share/doc/ocl-icd-libopencl1/html/libOpenCL.html


Code:
user@host:~/hashcat-3.30$ ./hashcat64.bin -I hashcat (v3.30) starting... OpenCL Info: Platform ID #1 Vendor : NVIDIA Corporation Name : NVIDIA CUDA Version : OpenCL 1.2 CUDA 8.0.0 Device ID #1 Type : GPU Vendor ID : 32 Vendor : NVIDIA Corporation Name : GeForce GTX 1080 Version : OpenCL 1.2 CUDA Processor(s) : 20 Clock : 1835 Memory : 2027/8108 MB allocatable OpenCL Version : OpenCL C 1.2 Driver Version : 378.13
#4
(02-16-2017, 01:18 PM)atom Wrote: The "Device #1: Graphics Device" is kind of strange. Maybe your GPU does not support this driver. Try again with latest driver version from nvidia site (378.x series).

Can you please tell why you considered it kind of strange? Because looking at Jeremi's benchmark here it says the same. Just curious.

(02-16-2017, 01:56 PM)akamajoris Wrote:
(02-16-2017, 01:18 PM)atom Wrote: The "Device #1: Graphics Device" is kind of strange. Maybe your GPU does not support this driver. Try again with latest driver version from nvidia site (378.x series).

Thanx for reply.
After installation 378.09 beta
Code:
root@host:/home/user/hashcat-3.30# ./hashcat64.bin -b hashcat (v3.30) starting in benchmark mode... OpenCL Platform #1: NVIDIA Corporation ====================================== * Device #1: GeForce GTX 1080, 2027/8108 MB allocatable, 20MCU Hashtype: MD4 clFinish(): CL_INVALID_COMMAND_QUEUE Speed.Dev.#1.....:        0 H/s (0.00ms) Hashtype: MD5 clCreateContext(): CL_OUT_OF_RESOURCES Started: Thu Feb 16 16:46:29 2017 Stopped: Thu Feb 16 16:46:30 2017


Code:
root@host:/home/user# ./hashcat-3.00/hashcat64.bin -b hashcat (v3.00-1-g67a8d97) starting in benchmark-mode... OpenCL Platform #1: NVIDIA Corporation ====================================== - Device #1: GeForce GTX 1080, 2027/8108 MB allocatable, 20MCU Hashtype: MD4 ERROR: clFinish() : -36 : CL_INVALID_COMMAND_QUEUE

Code:
user@host:~$ lspci -k| grep -EA2 'VGA|3D' 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b80 (rev a1)         Subsystem: Gigabyte Technology Co., Ltd Device 3702         Kernel driver in use: nvidia

Code:
user@host:~$ dpkg -S libOpenCL ocl-icd-libopencl1:amd64: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0 ocl-icd-libopencl1:amd64: /usr/share/man/man7/libOpenCL.7.gz ocl-icd-libopencl1:amd64: /usr/share/man/man7/libOpenCL.so.7.gz ocl-icd-libopencl1:amd64: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 ocl-icd-libopencl1:amd64: /usr/share/doc/ocl-icd-libopencl1/html/libOpenCL.html


Code:
user@host:~/hashcat-3.30$ ./hashcat64.bin -I hashcat (v3.30) starting... OpenCL Info: Platform ID #1  Vendor  : NVIDIA Corporation  Name    : NVIDIA CUDA  Version : OpenCL 1.2 CUDA 8.0.0  Device ID #1    Type           : GPU    Vendor ID      : 32    Vendor         : NVIDIA Corporation    Name           : GeForce GTX 1080    Version        : OpenCL 1.2 CUDA    Processor(s)   : 20    Clock          : 1835    Memory         : 2027/8108 MB allocatable    OpenCL Version : OpenCL C 1.2    Driver Version : 378.13

Well, can't help with that but I am curious how did you install everything? Did you follow instructions or were you comfortable with linux already and did it yourself?

Threads one and two were of great help when I started hashcat on ubuntu server with GTX 1080 (well, both for 16.04 but might be helpful).
#5
@DoNoHarm, i used that manual and your links . Errors Sad
Now i installed The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) linux 2.1 clean.
After downloaded latest nvidia driver...

result #1
Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~/Downloads/hashcat-3.10# lspci | grep -E "VGA|3D" 01:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1080] (rev a1)

BUT Sad
Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~/Downloads/hashcat-3.30# ./hashcat64.bin -b hashcat (v3.30) starting in benchmark mode... clGetDeviceIDs(): CL_DEVICE_NOT_FOUND clGetDeviceIDs(): CL_DEVICE_NOT_FOUND OpenCL Platform #1: Mesa, skipped or no OpenCL compatible devices found OpenCL Platform #2: NVIDIA Corporation ====================================== * Device #1: GeForce GTX 1080, 2028/8113 MB allocatable, 20MCU Hashtype: MD4 clFinish(): CL_INVALID_COMMAND_QUEUE Speed.Dev.#1.....:        0 H/s (0.00ms) Hashtype: MD5 clCreateContext(): CL_OUT_OF_RESOURCES Started: Thu Feb 16 13:25:44 2017 Stopped: Thu Feb 16 13:25:46 2017

Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~/Downloads/hashcat-3.10# ./hashcat64.bin -b -d 1 hashcat (v3.10) starting in benchmark-mode... OpenCL Platform #1: Mesa, skipped! No OpenCL compatible devices found OpenCL Platform #2: NVIDIA Corporation ====================================== - Device #1: GeForce GTX 1080, 2028/8113 MB allocatable, 20MCU Hashtype: MD4 ERROR: clFinish(): CL_INVALID_COMMAND_QUEUE ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR ERROR: clFlush(): CL_UNKNOWN_ERROR Speed.Dev.#1.: 66280.4 GH/s (0.00ms) ERROR: clCreateContext(): CL_UNKNOWN_ERROR root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~/Downloads/hashcat-3.10#

Code:
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~/Downloads/hashcat-3.30# ./hashcat64.bin -I hashcat (v3.30) starting... clGetDeviceIDs(): CL_DEVICE_NOT_FOUND OpenCL Info: Platform ID #1 Vendor : Mesa Name : Clover Version : OpenCL 1.1 MESA 11.2.2 Platform ID #2 Vendor : NVIDIA Corporation Name : NVIDIA CUDA Version : OpenCL 1.2 CUDA 8.0.0 Device ID #1 Type : GPU Vendor ID : 32 Vendor : NVIDIA Corporation Name : GeForce GTX 1080 Version : OpenCL 1.2 CUDA Processor(s) : 20 Clock : 1835 Memory : 2028/8113 MB allocatable OpenCL Version : OpenCL C 1.2 Driver Version : 378.13 root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~/Downloads/hashcat-3.30#

So I don't know  %)
#6
Drop the Mesa driver, it's known to break. But it also seems your OpenCL ICD is somehow bugged. I'd recommend to not use The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali), the OpenCL integration is kind of broken. Ubuntu 16.04 is ideal as hashcat is developed on this, too.
#7
@atom, this may be due to the small size of the system memory? Gpu - 8GB, RAM - 4GB.
#8
(02-16-2017, 02:30 PM)DoNoHarm Wrote:
(02-16-2017, 01:18 PM)atom Wrote: The "Device #1: Graphics Device" is kind of strange. Maybe your GPU does not support this driver. Try again with latest driver version from nvidia site (378.x series).

Can you please tell why you considered it kind of strange? Because looking at Jeremi's benchmark here it says the same. Just curious.

That benchmark was done with the very first beta driver that supported the GTX 1080 (367.18), and it was a half-baked driver. So not at all strange that such an early, incomplete driver would have missing device IDs.
#9
(02-16-2017, 08:12 PM)epixoip Wrote:
(02-16-2017, 02:30 PM)DoNoHarm Wrote:
(02-16-2017, 01:18 PM)atom Wrote: The "Device #1: Graphics Device" is kind of strange. Maybe your GPU does not support this driver. Try again with latest driver version from nvidia site (378.x series).

Can you please tell why you considered it kind of strange? Because looking at Jeremi's benchmark here it says the same. Just curious.

That benchmark was done with the very first beta driver that supported the GTX 1080 (367.18), and it was a half-baked driver. So not at all strange that such an early, incomplete driver would have missing device IDs.

Aha! Thanks for the explanation
#10
Windows 7 with driver 378.66
[Image: f649bf837ce34ca87bfa732452c076.jpg]
Any ideas?