hashcat Forum
Don't detect any device - clGetDeviceIDs(): CL_DEVICE_NOT_FOUND - 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: Don't detect any device - clGetDeviceIDs(): CL_DEVICE_NOT_FOUND (/thread-6325.html)



Don't detect any device - clGetDeviceIDs(): CL_DEVICE_NOT_FOUND - Pipeng - 02-22-2017

Hi all, well yesterday i update from a ver very low version of hashcat to the actual git version (compiled in the actual machine), but sadly don't works, when i try i get this message:

hashcat (v3.30-327-g96370d0c+) starting...

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

No devices found/left

I try it with benchmark or listing the devices, with optirun and without it, and as admin and normal user, but i get this error in all that cases.

My comp has an i7 and a gpu geforce 740m, i'm using the nvidia official drivers.

I'm using Gentoo 64 as OS, it have all deps and dev libs of the programs so i don't think can be there the problem.

As optirun works fine i don't think is a nvidia module problem.

Thx.


RE: Don't detect any device - clGetDeviceIDs(): CL_DEVICE_NOT_FOUND - atom - 02-23-2017

Do not confuse CUDA and OpenCL, it's two different things. Old version used CUDA, that's why it worked. New version uses OpenCL, and your error it's an OpenCL error. So probably you did not install OpenCL correctly.


RE: Don't detect any device - clGetDeviceIDs(): CL_DEVICE_NOT_FOUND - Pipeng - 02-25-2017

Hi! checking this again my installation is right, but linux don't come automatically with a package to handle various opencl (like nvidia and intel), so installing intel-ocl-sdk or dev-libs/ocl-icd fix this, to finish this, i was selected mesa to handle opencl, so is right hashcat don't detect any device from there?

Thx. Cya.


RE: Don't detect any device - clGetDeviceIDs(): CL_DEVICE_NOT_FOUND - atom - 02-25-2017

Yeah that's wrong. You need the correct OpenCL runtime from your vendor, not MESA.


RE: Don't detect any device - clGetDeviceIDs(): CL_DEVICE_NOT_FOUND - Pipeng - 02-25-2017

To finish this in Linux i recommend this to set OpenCL https://wiki.gentoo.org/wiki/OpenCL, and as a complement https://wiki.archlinux.org/index.php?title=GPGPU.

And the reason why don't works without that packages, in linux we need some package to manage the different OpenCL, only nvidia drivers or intel, etc, don't will works, because hashcat only will can detect the current OpenCL, in my case this two packages works to manage:

intel-ocl-sdk
dev-libs/ocl-icd fix

We can choose one of them (or if we want test, both).

Thx. Cya.