New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR #1207

Closed
pavlinux opened this Issue Mar 24, 2017 · 9 comments

Comments

Projects
None yet
10 participants
@pavlinux

pavlinux commented Mar 24, 2017

  1. Debian Linux 8.7 amd64,
  2. AMD Opteron(tm) Processor 4386
  3. GeForce GT 740, Driver Version: 375.39

$ strace -ff -e open ./hashcat passwd.txt
....
open("/dev/nvidia-uvm", O_RDWR|O_CLOEXEC) = -1 EIO (Input/output error)
open("/dev/nvidia-uvm", O_RDWR) = -1 EIO (Input/output error)
clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR

@philsmd

This comment has been minimized.

Member

philsmd commented Mar 24, 2017

Please provide more information:

  1. did you download hashcat from https://hashcat.net/ ?
  2. which version of hashcat do you use?
  3. how did you install the Nvidia GPU driver ?
  4. did you install the OpenCL ICD ?
    etc
@jsteube

This comment has been minimized.

Member

jsteube commented Mar 28, 2017

@jsteube jsteube closed this Mar 28, 2017

@cipri-tom

This comment has been minimized.

cipri-tom commented Apr 18, 2017

just to mention, for me this issue is gone if I run as root: sudo hashcat ...

from here

@roycewilliams

This comment has been minimized.

Contributor

roycewilliams commented Apr 19, 2017

@pavlinux - by any chance are you running without X11 on this system?

This may be related to devices getting created on non-X11 systems. I don't know a lot about it yet, but this thread may be informative:

https://bugs.archlinux.org/task/39203

@Aspect9

This comment has been minimized.

Aspect9 commented Dec 13, 2017

im tryna install hashcat here - not even cuda* - anyone point me in the right direction?

@anandumdas

This comment has been minimized.

anandumdas commented Jan 25, 2018

I didn't have graphics card and had to use OpenCL for CPU alone. I solved the error as shown here https://youtu.be/AieYqNQ6ADM

@polonskiy

This comment has been minimized.

polonskiy commented May 7, 2018

  1. Download OpenCL™ Runtime 16.1.2 for Intel® Core™ and Intel® Xeon® Processors for Red Hat* and Ubuntu* Linux* (64-bit) from https://software.intel.com/en-us/articles/opencl-drivers#latest_CPU_runtime
  2. Extract
  3. sudo ./install.sh
  4. Next, ignore missing dependencies, finish
@Puvipavan

This comment has been minimized.

Puvipavan commented May 27, 2018

@polonskiy Yup, It's working.

@jsonbruce

This comment has been minimized.

jsonbruce commented Oct 9, 2018

@polonskiy Thanks.

And the same time I installed the below packages to avoid Cannot find an OpenCL ICD loader library.:

sudo apt install ocl-icd-libopencl1 ocl-icd-dev ocl-icd-opencl-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment