You are not logged in.

#1 2018-05-12 13:31:49

EFarmer
Member
Registered: 2017-01-01
Posts: 52

Hashcat doesn't detect my nvidia opencl runtime

~ $ hashcat -I
hashcat (v4.1.0) starting...

clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR

I get this error and I can't proceed to use hashcat with GPU.

I installed and enabled bumblebeed too but nothing. I need to use dedicated graphic card (nvidia) and not the integrated one (intel).

~$ pacman -Qs nvidia
local/bumblebee 3.2.1-16
    NVIDIA Optimus support for Linux through VirtualGL
local/cuda 9.1.85.3-5
    NVIDIA's GPU programming toolkit
local/cudnn 7.1.3-1
    NVIDIA CUDA Deep Neural Network library
local/lib32-opencl-nvidia-340xx 340.106-1
    OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.1.1+3+ga21bf7a-1
    Nvidia VDPAU library
local/nvidia 396.24-2
    NVIDIA drivers for linux
local/nvidia-utils 396.24-1
    NVIDIA drivers utilities
local/opencl-nvidia 396.24-1
    OpenCL implemention for NVIDIA

thanks in advance

Offline

#2 2018-05-12 15:43:23

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Hashcat doesn't detect my nvidia opencl runtime

local/lib32-opencl-nvidia-340xx 340.106-1
    OpenCL implemention for NVIDIA (32-bit)

local/opencl-nvidia 396.24-1
    OpenCL implemention for NVIDIA

You have 2 different versions of nvidia driver installed, what card do you have ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2018-05-12 15:57:06

EFarmer
Member
Registered: 2017-01-01
Posts: 52

Re: Hashcat doesn't detect my nvidia opencl runtime

~ $ lspci -v | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Mobile] (rev a1)

@Lone_Wolf

Offline

#4 2018-05-12 16:03:06

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: Hashcat doesn't detect my nvidia opencl runtime

That card is supported by latest nvidia driver.

Remove lib32-opencl-nvidia-340xx and install lib32-opencl-nvidia , then try hashcat again.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2018-05-12 16:06:58

EFarmer
Member
Registered: 2017-01-01
Posts: 52

Re: Hashcat doesn't detect my nvidia opencl runtime

Lone_Wolf wrote:

That card is supported by latest nvidia driver.

Remove lib32-opencl-nvidia-340xx and install lib32-opencl-nvidia , then try hashcat again.

This doesn't seem to solve the problem.

Offline

#6 2018-05-12 18:39:08

seth
Member
Registered: 2012-09-03
Posts: 49,981

Offline

#7 2018-05-12 18:53:40

EFarmer
Member
Registered: 2017-01-01
Posts: 52

Re: Hashcat doesn't detect my nvidia opencl runtime

Already tried:
`optirun hashcat -I`

[ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
[ 4888.145785] [ERROR]Could not connect to bumblebee daemon - is it running?

if I run it with sudo it freezes my computer.

Basically I forgot to install linux headers and it's an old linux 4.15 rc5, and Idk what to do now since I can't install them anymore.

Last edited by EFarmer (2018-05-12 18:54:47)

Offline

#8 2018-05-12 18:56:36

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Hashcat doesn't detect my nvidia opencl runtime

Read that page on how to setup bumblebee.
Forget about sudo. No idea about freezes, but that's *certainly* not going to work.

Offline

Board footer

Powered by FluxBB