Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 26 Feb 2018 10:33:38 +0100
From: Piotr Dobrogost <2018@...obrogost.net>
To: john-users@...ts.openwall.com
Subject: "No OpenCL devices was found" and "dri2 connection failed!" errors
 when using NVidia gpus

Hi all!

Any idea what may be causing `No OpenCL devices was found` and `X server
found. dri2 connection failed!` errors when trying to use NVidia cards?
I'm on Fedora 27 with 1.8.0.12-jumbo-1-bleeding-7870ec4cd3, CUDA 9.1.85 and
NVidia driver 387.34 (using driver 390.25 leads to the same error).

First reported at https://github.com/magnumripper/JohnTheRipper/issues/3168
– I'm sorry for reporting there instead of here.


$ >john --verbosity 5 --list=opencl-devices
initUnicode(UNICODE, UTF-8/ISO-8859-1)
UTF-8 -> UTF-8 -> UTF-8
No OpenCL devices was found on platform #1, clGetDeviceIDs() = -1
No OpenCL devices was found on platform #1
X server found. dri2 connection failed!
X server found. dri2 connection failed!
OpenCL CL_INVALID_DEVICE (-33) error in common-opencl.c:2101 - Error
querying CL_DEVICE_TYPE


$> sudo john --verbosity 5 --list=opencl-devices
initUnicode(UNICODE, UTF-8/ISO-8859-1)
UTF-8 -> UTF-8 -> UTF-8
No OpenCL devices was found on platform #1, clGetDeviceIDs() = -1
No OpenCL devices was found on platform #1
No protocol specified
No protocol specified
OpenCL CL_INVALID_DEVICE (-33) error in common-opencl.c:2101 - Error
querying CL_DEVICE_TYPE



$> dnf list installed '*nvidia*'
Installed Packages
akmod-nvidia.x86_64                   2:387.34-1.fc27
@rpmfusion-nonfree-updates
kmod-nvidia-4.14.13-300.fc27.x86_64.x86_64
                                      2:387.34-1.fc27 @@commandline

kmod-nvidia-4.14.6-300.fc27.x86_64.x86_64
                                      2:387.34-1.fc27 @@commandline

kmod-nvidia-4.14.8-300.fc27.x86_64.x86_64
                                      2:387.34-1.fc27 @@commandline

nvidia-persistenced.x86_64            387.34-1.fc27
 @rpmfusion-nonfree-updates
nvidia-settings.x86_64                387.34-1.fc27
 @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64            2:387.34-2.fc27
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda.x86_64       2:387.34-2.fc27
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64  2:387.34-2.fc27
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-devel.x86_64      2:387.34-2.fc27
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64    2:387.34-2.fc27
@rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64       2:387.34-2.fc27
@rpmfusion-nonfree-updates


Version: 1.8.0.12-jumbo-1-bleeding-7870ec4cd3 2018-02-04 11:20:12 +0100
Build: linux-gnu 64-bit x86_64 SSE4.2 AC OMP
SIMD: SSE4.1, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1
CPU tests: SSE4.2
$JOHN is /home/miner/johntheripper/JohnTheRipper-bleeding-jumbo/run/
Format interface version: 14
Max. number of reported tunable costs: 4
Rec file version: REC4
Charset file version: CHR3
CHARSET_MIN: 1 (0x01)
CHARSET_MAX: 255 (0xff)
CHARSET_LENGTH: 24
SALT_HASH_SIZE: 1048576
Max. Markov mode level: 400
Max. Markov mode password length: 30
gcc version: 7.2.1
GNU libc version: 2.26 (loaded: 2.26)
OpenCL headers version: 2.1
Crypto library: OpenSSL
OpenSSL library version: 01010007f
OpenSSL 1.1.0g-fips  2 Nov 2017
GMP library version: 6.1.2
File locking: fcntl()
fseek(): fseek
ftell(): ftell
fopen(): fopen
memmem(): System's

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.