[GH-ISSUE #2547] OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME #1677

Closed
opened 2026-10-15 04:22:15 +07:00 by bsakaguchi · 17 comments
Owner

Originally created by @darkbyte-ru on GitHub (May 15, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2547

On my system was installed 10 NVIDIA cards, but I can't use them all with JtR.

For example when I run without --fork flag, JtR uses only first card, but display temperature for all cards:

# ./john --devices=gpu --format=rar-opencl hash
Device 0: GeForce GTX 1080
Using default input encoding: UTF-8
Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES])
Will run 24 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:17 20.44% 1/3 (ETA: 07:05:05) 0g/s 541.1p/s 541.1c/s 541.1C/s GPU:33°C GPU1:29°C GPU2:30°C GPU3:30°C GPU4:29°
C GPU7:30°C GPU8:27°C GPU9:29°C Lic20161223140240218,..Keysidorovm.
0g 0:00:08:10  3/3 0g/s 8929p/s 8929c/s 8929C/s GPU:47°C GPU1:22°C GPU2:24°C GPU3:23°C GPU4:23°C GPU5:21°C GPU6:26°C GPU
9:22°C pr190282..petrie05
0g 0:00:23:36  3/3 0g/s 10778p/s 10778c/s 10778C/s GPU:51°C GPU1:22°C GPU2:24°C GPU3:23°C GPU4:23°C GPU5:22°C GPU6:26°C
GPU9:22°C rjoidz..rjb449
0g 0:00:24:00  3/3 0g/s 10793p/s 10793c/s 10793C/s GPU:48°C GPU1:22°C GPU2:24°C GPU3:23°C GPU4:23°C GPU5:21°C GPU6:26°C
GPU9:22°C sce26m..snada2

But when I add --fork flag, I got some errors for all cards, except the first, and JtR again uses only one card:

# ./john --fork=10 --devices=gpu --format=rar-opencl hash
Using default input encoding: UTF-8
Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES])
Will run 2 OpenMP threads per process (20 total across 10 processes)
Node numbers 1-10 of 10 (fork)
Device 0: GeForce GTX 1080
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME
Press 'q' or Ctrl-C to abort, almost any other key for status
1 0g 0:00:00:09 59.29% 1/3 (ETA: 07:28:23) 0g/s 280.8p/s 280.8c/s 280.8C/s GPU:41°C Kerqrt90..K00000
1 0g 0:00:00:19 96.46% 1/3 (ETA: 07:28:27) 0g/s 281.2p/s 281.2c/s 281.2C/s GPU:41°C p0001948..peyw1938
1 0g 0:00:00:27  3/3 0g/s 4108p/s 4108c/s 4108C/s GPU:44°C cuboi..1104ma
1 0g 0:00:00:33  3/3 0g/s 6532p/s 6532c/s 6532C/s GPU:44°C mayci..clm77
1 0g 0:00:00:46  3/3 0g/s 9439p/s 9439c/s 9439C/s GPU:45°C byshim..jbosou

System info:

# ./john --list=build-info
Version: 1.8.0.9-jumbo-1-bleeding
Build: linux-gnu 64-bit AVX2-ac OMP
SIMD: AVX2, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1
$JOHN is ./
Format interface version: 14
Max. number of reported tunable costs: 3
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: 4.8.4
GNU libc version: 2.19 (loaded: 2.19)
OpenCL headers version: 1.2
Crypto library: OpenSSL
OpenSSL library version: 01000106f
OpenSSL 1.0.1f 6 Jan 2014
File locking: fcntl()
fseek(): fseek
ftell(): ftell
fopen(): fopen
memmem(): System's
# ./john --list=opencl-devices
Platform #0 name: NVIDIA CUDA, version: OpenCL 1.2 CUDA 8.0.0
    Device #0 (0) name:     GeForce GTX 1080
    Device vendor:          NVIDIA Corporation
    Device type:            GPU (LE)
    Device version:         OpenCL 1.2 CUDA
    Driver version:         375.39 [recommended]
    Native vector widths:   char 1, short 1, int 1, long 1
    Preferred vector width: char 1, short 1, int 1, long 1
    Global Memory:          7.0 GB
    Global Memory Cache:    320.3 KB
    Local Memory:           48.0 KB (Local)
    Max memory alloc. size: 1.0 GB
    Max clock (MHz):        1733
    Profiling timer res.:   1000 ns
    Max Work Group Size:    1024
    Parallel compute cores: 20
    CUDA cores:             2560  (20 x 128)
    Speed index:            4436480
    Warp size:              32
    Max. GPRs/work-group:   65536
    Compute capability:     6.1 (sm_61)
    Kernel exec. timeout:   no
    NVML id:                0
    PCI device topology:    04:00.0
    PCI lanes:              16/16
    Fan speed:              27%
    Temperature:            34°C
    Utilization:            14%
[...]
    Device #9 (9) name:     GeForce GTX 1080
    Device vendor:          NVIDIA Corporation
    Device type:            GPU (LE)
    Device version:         OpenCL 1.2 CUDA
    Driver version:         375.39 [recommended]
    Native vector widths:   char 1, short 1, int 1, long 1
    Preferred vector width: char 1, short 1, int 1, long 1
    Global Memory:          7.0 GB
    Global Memory Cache:    320.3 KB
    Local Memory:           48.0 KB (Local)
    Max memory alloc. size: 1.0 GB
    Max clock (MHz):        1733
    Profiling timer res.:   1000 ns
    Max Work Group Size:    1024
    Parallel compute cores: 20
    CUDA cores:             2560  (20 x 128)
    Speed index:            4436480
    Warp size:              32
    Max. GPRs/work-group:   65536
    Compute capability:     6.1 (sm_61)
    Kernel exec. timeout:   no
    NVML id:                9
    PCI device topology:    8a:00.0
    PCI lanes:              16/16
    Fan speed:              27%
    Temperature:            23°C
    Utilization:            1%
Originally created by @darkbyte-ru on GitHub (May 15, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2547 On my system was installed 10 NVIDIA cards, but I can't use them all with JtR. For example when I run without --fork flag, JtR uses only first card, but display temperature for all cards: ``` # ./john --devices=gpu --format=rar-opencl hash Device 0: GeForce GTX 1080 Using default input encoding: UTF-8 Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES]) Will run 24 OpenMP threads Press 'q' or Ctrl-C to abort, almost any other key for status 0g 0:00:00:17 20.44% 1/3 (ETA: 07:05:05) 0g/s 541.1p/s 541.1c/s 541.1C/s GPU:33°C GPU1:29°C GPU2:30°C GPU3:30°C GPU4:29° C GPU7:30°C GPU8:27°C GPU9:29°C Lic20161223140240218,..Keysidorovm. 0g 0:00:08:10 3/3 0g/s 8929p/s 8929c/s 8929C/s GPU:47°C GPU1:22°C GPU2:24°C GPU3:23°C GPU4:23°C GPU5:21°C GPU6:26°C GPU 9:22°C pr190282..petrie05 0g 0:00:23:36 3/3 0g/s 10778p/s 10778c/s 10778C/s GPU:51°C GPU1:22°C GPU2:24°C GPU3:23°C GPU4:23°C GPU5:22°C GPU6:26°C GPU9:22°C rjoidz..rjb449 0g 0:00:24:00 3/3 0g/s 10793p/s 10793c/s 10793C/s GPU:48°C GPU1:22°C GPU2:24°C GPU3:23°C GPU4:23°C GPU5:21°C GPU6:26°C GPU9:22°C sce26m..snada2 ``` But when I add --fork flag, I got some errors for all cards, except the first, and JtR again uses only one card: ``` # ./john --fork=10 --devices=gpu --format=rar-opencl hash Using default input encoding: UTF-8 Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES]) Will run 2 OpenMP threads per process (20 total across 10 processes) Node numbers 1-10 of 10 (fork) Device 0: GeForce GTX 1080 OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME OpenCL CL_INVALID_DEVICE error in common-opencl.c:435 - Error querying PLATFORM_NAME Press 'q' or Ctrl-C to abort, almost any other key for status 1 0g 0:00:00:09 59.29% 1/3 (ETA: 07:28:23) 0g/s 280.8p/s 280.8c/s 280.8C/s GPU:41°C Kerqrt90..K00000 1 0g 0:00:00:19 96.46% 1/3 (ETA: 07:28:27) 0g/s 281.2p/s 281.2c/s 281.2C/s GPU:41°C p0001948..peyw1938 1 0g 0:00:00:27 3/3 0g/s 4108p/s 4108c/s 4108C/s GPU:44°C cuboi..1104ma 1 0g 0:00:00:33 3/3 0g/s 6532p/s 6532c/s 6532C/s GPU:44°C mayci..clm77 1 0g 0:00:00:46 3/3 0g/s 9439p/s 9439c/s 9439C/s GPU:45°C byshim..jbosou ``` System info: ``` # ./john --list=build-info Version: 1.8.0.9-jumbo-1-bleeding Build: linux-gnu 64-bit AVX2-ac OMP SIMD: AVX2, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1 $JOHN is ./ Format interface version: 14 Max. number of reported tunable costs: 3 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: 4.8.4 GNU libc version: 2.19 (loaded: 2.19) OpenCL headers version: 1.2 Crypto library: OpenSSL OpenSSL library version: 01000106f OpenSSL 1.0.1f 6 Jan 2014 File locking: fcntl() fseek(): fseek ftell(): ftell fopen(): fopen memmem(): System's ``` ``` # ./john --list=opencl-devices Platform #0 name: NVIDIA CUDA, version: OpenCL 1.2 CUDA 8.0.0 Device #0 (0) name: GeForce GTX 1080 Device vendor: NVIDIA Corporation Device type: GPU (LE) Device version: OpenCL 1.2 CUDA Driver version: 375.39 [recommended] Native vector widths: char 1, short 1, int 1, long 1 Preferred vector width: char 1, short 1, int 1, long 1 Global Memory: 7.0 GB Global Memory Cache: 320.3 KB Local Memory: 48.0 KB (Local) Max memory alloc. size: 1.0 GB Max clock (MHz): 1733 Profiling timer res.: 1000 ns Max Work Group Size: 1024 Parallel compute cores: 20 CUDA cores: 2560 (20 x 128) Speed index: 4436480 Warp size: 32 Max. GPRs/work-group: 65536 Compute capability: 6.1 (sm_61) Kernel exec. timeout: no NVML id: 0 PCI device topology: 04:00.0 PCI lanes: 16/16 Fan speed: 27% Temperature: 34°C Utilization: 14% [...] Device #9 (9) name: GeForce GTX 1080 Device vendor: NVIDIA Corporation Device type: GPU (LE) Device version: OpenCL 1.2 CUDA Driver version: 375.39 [recommended] Native vector widths: char 1, short 1, int 1, long 1 Preferred vector width: char 1, short 1, int 1, long 1 Global Memory: 7.0 GB Global Memory Cache: 320.3 KB Local Memory: 48.0 KB (Local) Max memory alloc. size: 1.0 GB Max clock (MHz): 1733 Profiling timer res.: 1000 ns Max Work Group Size: 1024 Parallel compute cores: 20 CUDA cores: 2560 (20 x 128) Speed index: 4436480 Warp size: 32 Max. GPRs/work-group: 65536 Compute capability: 6.1 (sm_61) Kernel exec. timeout: no NVML id: 9 PCI device topology: 8a:00.0 PCI lanes: 16/16 Fan speed: 27% Temperature: 23°C Utilization: 1% ```
bsakaguchi 2026-10-15 04:22:15 +07:00
Author
Owner

@ghost commented on GitHub (May 16, 2017):

Thanks for reporting the issue.

JtR uses only first card, but display temperature for all cards:

This is expected.


  • Could you please check if something like this works?
$ ./john --devices=7 --format=rar-opencl hash # anything from 1 to 9

Well:

  • There was a change in clGetPlatformInfo() API for OpenCL > 1.0.
  • Because of this, the output of JtR seen above makes no sense;
  • But, in any case, clGetPlatformInfo() can't return -33 [CL_INVALID_DEVICE] (I checked using headers from Khronos' github and CUDA 7.5 [installed on super]); [1]

That said:

  • Any possibilities you are running out of memory (the last open question for OpenCL 1.2 clGetPlatformInfo());
  • Could you debug it? And submit all files named cl.h seen in your computer? Are running as root?

[1] Could you confirm the -33 return using something like this?

diff --git a/src/common-opencl.c b/src/common-opencl.c
index de084cf1f..337db52b7 100644
--- a/src/common-opencl.c
+++ b/src/common-opencl.c
@@ -430,9 +430,8 @@ static void start_opencl_environment()
        for (i = 0; i < num_platforms; i++) {
                platforms[i].platform = platform_list[i];
 
-               HANDLE_CLERROR(clGetPlatformInfo(platforms[i].platform,
-                                                CL_PLATFORM_NAME, sizeof(opencl_data), opencl_data, NULL),
-                              "Error querying PLATFORM_NAME");
+               printf("Return %d\n", clGetPlatformInfo(platforms[i].platform,
+                                                CL_PLATFORM_NAME, sizeof(opencl_data), opencl_data, NULL));
 
                // It is possible to have a platform without any devices
                ret = clGetDeviceIDs(platforms[i].platform, CL_DEVICE_TYPE_ALL,
<!-- gh-comment-id:301659027 --> @ghost commented on GitHub (May 16, 2017): Thanks for reporting the issue. > JtR uses only first card, but display temperature for all cards: This is expected. **** * Could you please check if something like this works? ``` $ ./john --devices=7 --format=rar-opencl hash # anything from 1 to 9 ``` Well: * There was a change in clGetPlatformInfo() API for OpenCL > 1.0. * Because of this, the output of JtR seen above makes no sense; * But, in any case, clGetPlatformInfo() can't return -33 [CL_INVALID_DEVICE] (I checked using headers from Khronos' github and CUDA 7.5 [installed on super]); [1] That said: * Any possibilities you are running out of memory (the last open question for OpenCL 1.2 clGetPlatformInfo()); * Could you debug it? And submit all files named cl.h seen in your computer? Are running as root? [1] Could you confirm the -33 return using something like this? ``` diff --git a/src/common-opencl.c b/src/common-opencl.c index de084cf1f..337db52b7 100644 --- a/src/common-opencl.c +++ b/src/common-opencl.c @@ -430,9 +430,8 @@ static void start_opencl_environment() for (i = 0; i < num_platforms; i++) { platforms[i].platform = platform_list[i]; - HANDLE_CLERROR(clGetPlatformInfo(platforms[i].platform, - CL_PLATFORM_NAME, sizeof(opencl_data), opencl_data, NULL), - "Error querying PLATFORM_NAME"); + printf("Return %d\n", clGetPlatformInfo(platforms[i].platform, + CL_PLATFORM_NAME, sizeof(opencl_data), opencl_data, NULL)); // It is possible to have a platform without any devices ret = clGetDeviceIDs(platforms[i].platform, CL_DEVICE_TYPE_ALL, ```
Author
Owner

@darkbyte-ru commented on GitHub (May 16, 2017):

Thanks for answer, sure I can debug this problem.

Running a signle card with any index work ok:

# ./john --devices=7 --format=rar-opencl hash
Device 7: GeForce GTX 1080
Using default input encoding: UTF-8
Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES])
Will run 24 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
0g 0:00:00:04 14.34% 1/3 (ETA: 23:21:00) 0g/s 908.5p/s 908.5c/s 908.5C/s GPU:30°C ytredf(..yer&rew.rarpdf,
0g 0:00:00:15 32.83% 1/3 (ETA: 23:21:18) 0g/s 921.3p/s 921.3c/s 921.3C/s GPU:32°C oksidorovm..rspdf

I'am run JtR as root

# id
uid=0(root) gid=0(root) groups=0(root)

All cl.h found was attached in archive

# find / -name cl.h
/usr/include/CL/cl.h
/usr/include/nvidia-375/CL/cl.h
/usr/local/cuda-8.0/include/CL/cl.h

With this diff I confirm that -33 status code returns:

# ./john --fork=10 --devices=gpu --format=rar-opencl hash
Using default input encoding: UTF-8
Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES])
Will run 2 OpenMP threads per process (20 total across 10 processes)
Node numbers 1-10 of 10 (fork)
Return 0
Device 0: GeForce GTX 1080
Return -33
Return -33
Return -33
Return -33
Return -33
Return -33
Return -33
Return -33
Return -33
Press 'q' or Ctrl-C to abort, almost any other key for status
No OpenCL devices found
No OpenCL devices found
No OpenCL devices found
No OpenCL devices found
No OpenCL devices found
No OpenCL devices found
No OpenCL devices found
No OpenCL devices found
No OpenCL devices found
1 0g 0:00:00:03 69.91% 1/3 (ETA: 23:31:41) 0g/s 937.4p/s 937.4c/s 937.4C/s GPU:31°C sidorovmK..LsidorovmY
Waiting for 9 children to terminate
Session aborted

Memory seems enough for JtR. 32GB avail and ~1G used by JtR.

<!-- gh-comment-id:301674401 --> @darkbyte-ru commented on GitHub (May 16, 2017): Thanks for answer, sure I can debug this problem. Running a signle card with any index work ok: ``` # ./john --devices=7 --format=rar-opencl hash Device 7: GeForce GTX 1080 Using default input encoding: UTF-8 Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES]) Will run 24 OpenMP threads Press 'q' or Ctrl-C to abort, almost any other key for status 0g 0:00:00:04 14.34% 1/3 (ETA: 23:21:00) 0g/s 908.5p/s 908.5c/s 908.5C/s GPU:30°C ytredf(..yer&rew.rarpdf, 0g 0:00:00:15 32.83% 1/3 (ETA: 23:21:18) 0g/s 921.3p/s 921.3c/s 921.3C/s GPU:32°C oksidorovm..rspdf ``` I'am run JtR as root ``` # id uid=0(root) gid=0(root) groups=0(root) ``` All cl.h found was attached in [archive](https://darkbyte.ru/upload/2017/other/cl.h.tgz) ``` # find / -name cl.h /usr/include/CL/cl.h /usr/include/nvidia-375/CL/cl.h /usr/local/cuda-8.0/include/CL/cl.h ``` With this diff I confirm that -33 status code returns: ``` # ./john --fork=10 --devices=gpu --format=rar-opencl hash Using default input encoding: UTF-8 Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES]) Will run 2 OpenMP threads per process (20 total across 10 processes) Node numbers 1-10 of 10 (fork) Return 0 Device 0: GeForce GTX 1080 Return -33 Return -33 Return -33 Return -33 Return -33 Return -33 Return -33 Return -33 Return -33 Press 'q' or Ctrl-C to abort, almost any other key for status No OpenCL devices found No OpenCL devices found No OpenCL devices found No OpenCL devices found No OpenCL devices found No OpenCL devices found No OpenCL devices found No OpenCL devices found No OpenCL devices found 1 0g 0:00:00:03 69.91% 1/3 (ETA: 23:31:41) 0g/s 937.4p/s 937.4c/s 937.4C/s GPU:31°C sidorovmK..LsidorovmY Waiting for 9 children to terminate Session aborted ``` Memory seems enough for JtR. 32GB avail and ~1G used by JtR.
Author
Owner

@magnumripper commented on GitHub (May 16, 2017):

So the mother process works fine but all children are unable to see the OpenCL platform. The only idea I can come up with is trying to run as a user, not root. Running as root is usually a bad idea anyway.

<!-- gh-comment-id:301690215 --> @magnumripper commented on GitHub (May 16, 2017): So the mother process works fine but all children are unable to see the OpenCL platform. The only idea I can come up with is trying to run as a user, not root. Running as root is usually a bad idea anyway.
Author
Owner

@darkbyte-ru commented on GitHub (May 16, 2017):

Under regular user result is the same: Return -33 for all, except first card.

<!-- gh-comment-id:301692576 --> @darkbyte-ru commented on GitHub (May 16, 2017): Under regular user result is the same: Return -33 for all, except first card.
Author
Owner

@magnumripper commented on GitHub (May 16, 2017):

What distro is this? It could be some odd security issue from hardening.

<!-- gh-comment-id:301695018 --> @magnumripper commented on GitHub (May 16, 2017): What distro is this? It could be some odd security issue from hardening.
Author
Owner

@magnumripper commented on GitHub (May 16, 2017):

Here's a thing to try, just for getting clues. Install MPI (openmpi) libs and binaries, configure john with --enable-mpi and rebuild, then run like this instead

mpirun -np 10 ./john --devices=gpu --format=rar-opencl hash
<!-- gh-comment-id:301695782 --> @magnumripper commented on GitHub (May 16, 2017): Here's a thing to try, just for getting clues. Install MPI (openmpi) libs and binaries, configure john with `--enable-mpi` and rebuild, then run like this instead ``` mpirun -np 10 ./john --devices=gpu --format=rar-opencl hash ```
Author
Owner

@darkbyte-ru commented on GitHub (May 16, 2017):

What distro is this? It could be some odd security issue from hardening.

Ubuntu Trusty

mpirun -np 10 ./john --devices=gpu --format=rar-opencl hash

Thanks! It works, but crash after send SIGUSR1 to mpirun:

# mpirun -np 10 ./john --devices=gpu --format=rar-opencl hash
Return 0
Return 0
Return 0
Return 0
Return 0
Return 0
Return 0
Return 0
Return 0
Return 0
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Device 0@test-ten: GeForce GTX 1080
Using default input encoding: UTF-8
Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES])
MPI in use, disabling OMP (see doc/README.mpi)
Node numbers 1-10 of 10 (MPI)
Send SIGUSR1 to mpirun for status

<# killall -s SIGUSR1 mpirun>

10 0g 0:00:26:50  3/3 0g/s 2028p/s 2028c/s 2028C/s GPU:61°C jsa7cw..chlvir
8 0g 0:00:26:50  3/3 0g/s 1707p/s 1707c/s 1707C/s GPU:61°C bcd42c..bd1add
4 0g 0:00:26:50  3/3 0g/s 2155p/s 2155c/s 2155C/s GPU:61°C l0lmes..damtus
3 0g 0:00:26:50  3/3 0g/s 1888p/s 1888c/s 1888C/s GPU:62°C ambar01..arm2174
7 0g 0:00:26:50  3/3 0g/s 2241p/s 2241c/s 2241C/s GPU:62°C honya2..horrit
2 0g 0:00:26:50  3/3 0g/s 2127p/s 2127c/s 2127C/s GPU:62°C 10855432..11364246
6 0g 0:00:26:50  3/3 0g/s 2124p/s 2124c/s 2124C/s GPU:62°C punnicfp..puddy153
5 0g 0:00:26:50  3/3 0g/s 1715p/s 1715c/s 1715C/s GPU:62°C beb4bf..busrmo
9 0g 0:00:26:51  3/3 0g/s 1899p/s 1899c/s 1899C/s GPU:62°C mhya164..mhytuck
1 0g 0:00:26:46  3/3 0g/s 1956p/s 1956c/s 1956C/s GPU:62°C GPU1:24°C GPU2:25°C GPU3:24°C GPU4:23°C GPU5:22°C GPU6:27°C GPU7:24°C GPU8:21°C GPU9:23°C clymes5..ceesh29
Fatal error in MPI_Iprobe: Other MPI error, error stack:
MPI_Iprobe(120).......................: MPI_Iprobe(src=MPI_ANY_SOURCE, tag=1, MPI_COMM_WORLD, flag=0x7ffe09ab0050, status=0xd69740) failed
MPIDI_CH3I_Progress(309)..............:
MPIDI_CH3U_Check_for_failed_procs(470): PMI_KVS_Get failed

[...the same error for every worker....]

Fatal error in MPI_Iprobe: Other MPI error, error stack:
MPI_Iprobe(120).......................: MPI_Iprobe(src=MPI_ANY_SOURCE, tag=1, MPI_COMM_WORLD, flag=0x7ffcb7d7d820, status=0xd69740) failed
MPIDI_CH3I_Progress(309)..............:
MPIDI_CH3U_Check_for_failed_procs(470): PMI_KVS_Get failed

And then exit.

<!-- gh-comment-id:301714499 --> @darkbyte-ru commented on GitHub (May 16, 2017): > What distro is this? It could be some odd security issue from hardening. Ubuntu Trusty > mpirun -np 10 ./john --devices=gpu --format=rar-opencl hash Thanks! It works, but crash after send SIGUSR1 to mpirun: ``` # mpirun -np 10 ./john --devices=gpu --format=rar-opencl hash Return 0 Return 0 Return 0 Return 0 Return 0 Return 0 Return 0 Return 0 Return 0 Return 0 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Device 0@test-ten: GeForce GTX 1080 Using default input encoding: UTF-8 Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES]) MPI in use, disabling OMP (see doc/README.mpi) Node numbers 1-10 of 10 (MPI) Send SIGUSR1 to mpirun for status <# killall -s SIGUSR1 mpirun> 10 0g 0:00:26:50 3/3 0g/s 2028p/s 2028c/s 2028C/s GPU:61°C jsa7cw..chlvir 8 0g 0:00:26:50 3/3 0g/s 1707p/s 1707c/s 1707C/s GPU:61°C bcd42c..bd1add 4 0g 0:00:26:50 3/3 0g/s 2155p/s 2155c/s 2155C/s GPU:61°C l0lmes..damtus 3 0g 0:00:26:50 3/3 0g/s 1888p/s 1888c/s 1888C/s GPU:62°C ambar01..arm2174 7 0g 0:00:26:50 3/3 0g/s 2241p/s 2241c/s 2241C/s GPU:62°C honya2..horrit 2 0g 0:00:26:50 3/3 0g/s 2127p/s 2127c/s 2127C/s GPU:62°C 10855432..11364246 6 0g 0:00:26:50 3/3 0g/s 2124p/s 2124c/s 2124C/s GPU:62°C punnicfp..puddy153 5 0g 0:00:26:50 3/3 0g/s 1715p/s 1715c/s 1715C/s GPU:62°C beb4bf..busrmo 9 0g 0:00:26:51 3/3 0g/s 1899p/s 1899c/s 1899C/s GPU:62°C mhya164..mhytuck 1 0g 0:00:26:46 3/3 0g/s 1956p/s 1956c/s 1956C/s GPU:62°C GPU1:24°C GPU2:25°C GPU3:24°C GPU4:23°C GPU5:22°C GPU6:27°C GPU7:24°C GPU8:21°C GPU9:23°C clymes5..ceesh29 Fatal error in MPI_Iprobe: Other MPI error, error stack: MPI_Iprobe(120).......................: MPI_Iprobe(src=MPI_ANY_SOURCE, tag=1, MPI_COMM_WORLD, flag=0x7ffe09ab0050, status=0xd69740) failed MPIDI_CH3I_Progress(309)..............: MPIDI_CH3U_Check_for_failed_procs(470): PMI_KVS_Get failed [...the same error for every worker....] Fatal error in MPI_Iprobe: Other MPI error, error stack: MPI_Iprobe(120).......................: MPI_Iprobe(src=MPI_ANY_SOURCE, tag=1, MPI_COMM_WORLD, flag=0x7ffcb7d7d820, status=0xd69740) failed MPIDI_CH3I_Progress(309)..............: MPIDI_CH3U_Check_for_failed_procs(470): PMI_KVS_Get failed ``` And then exit.
Author
Owner

@ghost commented on GitHub (May 16, 2017):

Anyone else reading this has tried CUDA 8 drivers?


Random question: have you tried to use less GPUs?

./john --fork=2 --devices=0,1 --format=rar-opencl hash

Or

./john -form:cpu --list=format-tests 2> /dev/null | cut -f3 1> outro
./john --fork=2 --devices=0 --format=raw-sha256-opencl outro
<!-- gh-comment-id:301863238 --> @ghost commented on GitHub (May 16, 2017): Anyone else reading this has tried CUDA 8 drivers? * E.g, code that works for CUDA < 8 and fails for CUDA 8: https://devtalk.nvidia.com/default/topic/938369/cuda-8-errors-when-using-two-1080-gpus-in-multithreading-way/ ********************* Random question: have you tried to use less GPUs? ``` ./john --fork=2 --devices=0,1 --format=rar-opencl hash ``` Or ``` ./john -form:cpu --list=format-tests 2> /dev/null | cut -f3 1> outro ./john --fork=2 --devices=0 --format=raw-sha256-opencl outro ```
Author
Owner

@darkbyte-ru commented on GitHub (May 17, 2017):

For two GPU result the same as for ten:

# ./john --fork=2 --devices=0,1 --format=rar-opencl hash
Using default input encoding: UTF-8
Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES])
Will run 12 OpenMP threads per process (24 total across 2 processes)
Node numbers 1-2 of 2 (fork)
Return 0
Return -33
Device 0@test-ten: GeForce GTX 1080
No OpenCL devices found
Press 'q' or Ctrl-C to abort, almost any other key for status

Also, I just noticed, that solution with mpirun does not work.
gpustat show that JtR run 10 threads on only one GPU:

# gpustat
test-ten  Wed May 17 07:25:45 2017
[0] GeForce GTX 1080 | 58'C, 100 % |  2214 /  8114 MB | root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M)
[1] GeForce GTX 1080 | 23'C,   0 % |   113 /  8114 MB | root(111M)
[2] GeForce GTX 1080 | 25'C,   0 % |   113 /  8114 MB | root(111M)
[3] GeForce GTX 1080 | 24'C,   0 % |   113 /  8114 MB | root(111M)
[4] GeForce GTX 1080 | 23'C,   0 % |   113 /  8114 MB | root(111M)
[5] GeForce GTX 1080 | 22'C,   0 % |   113 /  8114 MB | root(111M)
[6] GeForce GTX 1080 | 26'C,   0 % |   113 /  8114 MB | root(111M)
[7] GeForce GTX 1080 | 24'C,   0 % |   113 /  8114 MB | root(111M)
[8] GeForce GTX 1080 | 21'C,   0 % |   113 /  8114 MB | root(111M)
[9] GeForce GTX 1080 | 23'C,   0 % |   113 /  8114 MB | root(111M)

For sha256 test hashes result the same:

# ./john --fork=2 --devices=0 --format=raw-sha256-opencl outro
Using default input encoding: UTF-8
Loaded 87 password hashes with no different salts (Raw-SHA256-opencl [SHA256 OpenCL])
Node numbers 1-2 of 2 (fork)
Return 0
Return -33
Device 0@test-ten: GeForce GTX 1080
No OpenCL devices found
Build log:
ptxas info    : 0 bytes gmem, 500 bytes cmem[3]
ptxas info    : Compiling entry function 'kernel_prepare' for 'sm_61'
ptxas info    : Function properties for kernel_prepare
ptxas         .     0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 6 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function 'kernel_crypt_raw' for 'sm_61'
ptxas info    : Function properties for kernel_crypt_raw
ptxas         .     128 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 32 registers, 376 bytes cmem[0], 24 bytes cmem[2]
ptxas info    : Compiling entry function 'kernel_crypt' for 'sm_61'
ptxas info    : Function properties for kernel_crypt
ptxas         .     64 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 32 registers, 360 bytes cmem[0], 24 bytes cmem[2]
ptxas info    : Compiling entry function 'kernel_plaintext_raw' for 'sm_61'
ptxas info    : Function properties for kernel_plaintext_raw
ptxas         .     64 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads
ptxas info    : Used 27 registers, 376 bytes cmem[0]
Press 'q' or Ctrl-C to abort, almost any other key for status
test1            (?)
test1            (?)
...
1 22g 0:00:00:32  3/3 0.6762g/s 18496Kp/s 18496Kc/s 1222MC/s GPU:32°C psubcfs2..br034day
...

<!-- gh-comment-id:302077358 --> @darkbyte-ru commented on GitHub (May 17, 2017): For two GPU result the same as for ten: ``` # ./john --fork=2 --devices=0,1 --format=rar-opencl hash Using default input encoding: UTF-8 Loaded 1 password hash (rar-opencl, RAR3 [SHA1 OpenCL AES]) Will run 12 OpenMP threads per process (24 total across 2 processes) Node numbers 1-2 of 2 (fork) Return 0 Return -33 Device 0@test-ten: GeForce GTX 1080 No OpenCL devices found Press 'q' or Ctrl-C to abort, almost any other key for status ``` Also, I just noticed, that solution with mpirun does not work. gpustat show that JtR run 10 threads on only one GPU: ``` # gpustat test-ten Wed May 17 07:25:45 2017 [0] GeForce GTX 1080 | 58'C, 100 % | 2214 / 8114 MB | root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) root(221M) [1] GeForce GTX 1080 | 23'C, 0 % | 113 / 8114 MB | root(111M) [2] GeForce GTX 1080 | 25'C, 0 % | 113 / 8114 MB | root(111M) [3] GeForce GTX 1080 | 24'C, 0 % | 113 / 8114 MB | root(111M) [4] GeForce GTX 1080 | 23'C, 0 % | 113 / 8114 MB | root(111M) [5] GeForce GTX 1080 | 22'C, 0 % | 113 / 8114 MB | root(111M) [6] GeForce GTX 1080 | 26'C, 0 % | 113 / 8114 MB | root(111M) [7] GeForce GTX 1080 | 24'C, 0 % | 113 / 8114 MB | root(111M) [8] GeForce GTX 1080 | 21'C, 0 % | 113 / 8114 MB | root(111M) [9] GeForce GTX 1080 | 23'C, 0 % | 113 / 8114 MB | root(111M) ``` For sha256 test hashes result the same: ``` # ./john --fork=2 --devices=0 --format=raw-sha256-opencl outro Using default input encoding: UTF-8 Loaded 87 password hashes with no different salts (Raw-SHA256-opencl [SHA256 OpenCL]) Node numbers 1-2 of 2 (fork) Return 0 Return -33 Device 0@test-ten: GeForce GTX 1080 No OpenCL devices found Build log: ptxas info : 0 bytes gmem, 500 bytes cmem[3] ptxas info : Compiling entry function 'kernel_prepare' for 'sm_61' ptxas info : Function properties for kernel_prepare ptxas . 0 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads ptxas info : Used 6 registers, 336 bytes cmem[0] ptxas info : Compiling entry function 'kernel_crypt_raw' for 'sm_61' ptxas info : Function properties for kernel_crypt_raw ptxas . 128 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads ptxas info : Used 32 registers, 376 bytes cmem[0], 24 bytes cmem[2] ptxas info : Compiling entry function 'kernel_crypt' for 'sm_61' ptxas info : Function properties for kernel_crypt ptxas . 64 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads ptxas info : Used 32 registers, 360 bytes cmem[0], 24 bytes cmem[2] ptxas info : Compiling entry function 'kernel_plaintext_raw' for 'sm_61' ptxas info : Function properties for kernel_plaintext_raw ptxas . 64 bytes stack frame, 0 bytes spill stores, 0 bytes spill loads ptxas info : Used 27 registers, 376 bytes cmem[0] Press 'q' or Ctrl-C to abort, almost any other key for status test1 (?) test1 (?) ... 1 22g 0:00:00:32 3/3 0.6762g/s 18496Kp/s 18496Kc/s 1222MC/s GPU:32°C psubcfs2..br034day ... ```
Author
Owner

@magnumripper commented on GitHub (May 22, 2017):

Strange. I have seen Ubuntu 16.04 LTS with eight Maxwell or Pascal cards running JtR and it works just fine. I haven't tried 14.04 for a while but that used to work fine too.

<!-- gh-comment-id:303033215 --> @magnumripper commented on GitHub (May 22, 2017): Strange. I have seen Ubuntu 16.04 LTS with eight Maxwell or Pascal cards running JtR and it works just fine. I haven't tried 14.04 for a while but that used to work fine too.
Author
Owner

@magnumripper commented on GitHub (May 22, 2017):

BTW I've been using Ubuntu drivers, whatever version comes with the distro.

<!-- gh-comment-id:303034134 --> @magnumripper commented on GitHub (May 22, 2017): BTW I've been using Ubuntu drivers, whatever version comes with the distro.
Author
Owner

@superhansi commented on GitHub (Aug 9, 2017):

was this issue somehow resolved?
Ubuntu-Server 16.04.2 LTS _Xenial Xerus same behavior
clinfo etc works (same for hashcat -I, john -list)
NVIDIA-SMI 375.66 Driver Version: 375.66
besides no -33

./john 1.shad --format=sha512crypt-opencl --fork=2 --devices=gpu --pot=test.pot
Using default input encoding: UTF-8
Loaded 2 password hashes with 2 different salts (sha512crypt-opencl, crypt(3) 6 [SHA512 OpenCL])
Node numbers 1-2 of 2 (fork)
Return 0
Return 0
Device 1: GeForce GTX 970
Device 0: GeForce GTX 980

john Thu Aug 10 08:40:48 2017
[0] GeForce GTX 970 | 36'C, 0 % | 2 / 4028 MB |
[1] GeForce GTX 980 | 68'C, 100 % | 950 / 4038 MB | user(948M)

Version: 1.8.0-jumbo-1-5776-gc079f4d+
Build: linux-gnu 64-bit AVX2-ac OMP
SIMD: AVX2, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1
$JOHN is ./
Format interface version: 14
Max. number of reported tunable costs: 3
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: 5.4.0
GNU libc version: 2.23 (loaded: 2.23)
OpenCL headers version: 2.0
Crypto library: OpenSSL
OpenSSL library version: 01000207f
OpenSSL 1.0.2g 1 Mar 2016
GMP library version: 6.1.0
File locking: fcntl()
fseek(): fseek
ftell(): ftell
fopen(): fopen
memmem(): System's

./john --list=opencl-devices
Return 0
Platform #0 name: NVIDIA CUDA, version: OpenCL 1.2 CUDA 8.0.0
Device #0 (0) name: GeForce GTX 980
Device vendor: NVIDIA Corporation
Device type: GPU (LE)
Device version: OpenCL 1.2 CUDA
Driver version: 375.66 [recommended]
Native vector widths: char 1, short 1, int 1, long 1
Preferred vector width: char 1, short 1, int 1, long 1
Global Memory: 3.0 GB
Global Memory Cache: 256.2 KB
Local Memory: 48.0 KB (Local)
Max memory alloc. size: 1009.10 MB
Max clock (MHz): 1215
Profiling timer res.: 1000 ns
Max Work Group Size: 1024
Parallel compute cores: 16
CUDA cores: 2048 (16 x 128)
Speed index: 2488320
Warp size: 32
Max. GPRs/work-group: 65536
Compute capability: 5.2 (sm_52)
Kernel exec. timeout: no
NVML id: 1
PCI device topology: 02:00.0
PCI lanes: 8/16
Fan speed: 100%
Temperature: 33°C
Utilization: 0%
Device #1 (1) name: GeForce GTX 970
Device vendor: NVIDIA Corporation
Device type: GPU (LE)
Device version: OpenCL 1.2 CUDA
Driver version: 375.66 [recommended]
Native vector widths: char 1, short 1, int 1, long 1
Preferred vector width: char 1, short 1, int 1, long 1
Global Memory: 3.0 GB
Global Memory Cache: 208.2 KB
Local Memory: 48.0 KB (Local)
Max memory alloc. size: 1007.10 MB
Max clock (MHz): 1177
Profiling timer res.: 1000 ns
Max Work Group Size: 1024
Parallel compute cores: 13
CUDA cores: 1664 (13 x 128)
Speed index: 1958528
Warp size: 32
Max. GPRs/work-group: 65536
Compute capability: 5.2 (sm_52)
Kernel exec. timeout: no
NVML id: 0
PCI device topology: 01:00.0
PCI lanes: 8/16
Fan speed: 100%
Temperature: 34°C
Utilization: 0%

<!-- gh-comment-id:321295706 --> @superhansi commented on GitHub (Aug 9, 2017): was this issue somehow resolved? Ubuntu-Server 16.04.2 LTS _Xenial Xerus same behavior clinfo etc works (same for hashcat -I, john -list) NVIDIA-SMI 375.66 Driver Version: 375.66 besides no -33 ./john 1.shad --format=sha512crypt-opencl --fork=2 --devices=gpu --pot=test.pot Using default input encoding: UTF-8 Loaded 2 password hashes with 2 different salts (sha512crypt-opencl, crypt(3) $6$ [SHA512 OpenCL]) Node numbers 1-2 of 2 (fork) Return 0 Return 0 Device 1: GeForce GTX 970 Device 0: GeForce GTX 980 john Thu Aug 10 08:40:48 2017 [0] GeForce GTX 970 | 36'C, 0 % | 2 / 4028 MB | [1] GeForce GTX 980 | 68'C, 100 % | 950 / 4038 MB | user(948M) Version: 1.8.0-jumbo-1-5776-gc079f4d+ Build: linux-gnu 64-bit AVX2-ac OMP SIMD: AVX2, interleaving: MD4:3 MD5:3 SHA1:1 SHA256:1 SHA512:1 $JOHN is ./ Format interface version: 14 Max. number of reported tunable costs: 3 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: 5.4.0 GNU libc version: 2.23 (loaded: 2.23) OpenCL headers version: 2.0 Crypto library: OpenSSL OpenSSL library version: 01000207f OpenSSL 1.0.2g 1 Mar 2016 GMP library version: 6.1.0 File locking: fcntl() fseek(): fseek ftell(): ftell fopen(): fopen memmem(): System's ./john --list=opencl-devices Return 0 Platform #0 name: NVIDIA CUDA, version: OpenCL 1.2 CUDA 8.0.0 Device #0 (0) name: GeForce GTX 980 Device vendor: NVIDIA Corporation Device type: GPU (LE) Device version: OpenCL 1.2 CUDA Driver version: 375.66 [recommended] Native vector widths: char 1, short 1, int 1, long 1 Preferred vector width: char 1, short 1, int 1, long 1 Global Memory: 3.0 GB Global Memory Cache: 256.2 KB Local Memory: 48.0 KB (Local) Max memory alloc. size: 1009.10 MB Max clock (MHz): 1215 Profiling timer res.: 1000 ns Max Work Group Size: 1024 Parallel compute cores: 16 CUDA cores: 2048 (16 x 128) Speed index: 2488320 Warp size: 32 Max. GPRs/work-group: 65536 Compute capability: 5.2 (sm_52) Kernel exec. timeout: no NVML id: 1 PCI device topology: 02:00.0 PCI lanes: 8/16 Fan speed: 100% Temperature: 33°C Utilization: 0% Device #1 (1) name: GeForce GTX 970 Device vendor: NVIDIA Corporation Device type: GPU (LE) Device version: OpenCL 1.2 CUDA Driver version: 375.66 [recommended] Native vector widths: char 1, short 1, int 1, long 1 Preferred vector width: char 1, short 1, int 1, long 1 Global Memory: 3.0 GB Global Memory Cache: 208.2 KB Local Memory: 48.0 KB (Local) Max memory alloc. size: 1007.10 MB Max clock (MHz): 1177 Profiling timer res.: 1000 ns Max Work Group Size: 1024 Parallel compute cores: 13 CUDA cores: 1664 (13 x 128) Speed index: 1958528 Warp size: 32 Max. GPRs/work-group: 65536 Compute capability: 5.2 (sm_52) Kernel exec. timeout: no NVML id: 0 PCI device topology: 01:00.0 PCI lanes: 8/16 Fan speed: 100% Temperature: 34°C Utilization: 0%
Author
Owner

@ghost commented on GitHub (Aug 12, 2017):

was this issue somehow resolved?
[...]
besides no -33

No -33 means everything is OK and working for you! I mean, no CL_INVALID_DEVICE error [1].

  • The Return 0 means success.

Why are you not happy with John the Ripper? I see no error in what you posted above.


[1] - The reported error is related to "fork + OpenCL". It happened in darkbyte's machine, but not in OpenWall's server. Neither in yours.

A side note, in my opinion, the -33 return violates the OpenCL specification. It clearly states the expected returns of clGetPlatformInfo() and INVALID_DEVICE is not among them.

<!-- gh-comment-id:322013050 --> @ghost commented on GitHub (Aug 12, 2017): > was this issue somehow resolved? > [...] > besides no -33 No `-33` means everything is OK and working for you! I mean, no `CL_INVALID_DEVICE` error [1]. - The `Return 0` means success. Why are you not happy with John the Ripper? I see no error in what you posted above. **** [1] - The reported error is related to "fork + OpenCL". It happened in darkbyte's machine, but not in OpenWall's server. Neither in yours. A side note, in my opinion, the `-33` return violates the OpenCL specification. It clearly states the expected returns of `clGetPlatformInfo()` and INVALID_DEVICE is not among them.
Author
Owner

@ghost commented on GitHub (Aug 13, 2017):

@superhansi you are right: there is something wrong with latest JtR and --fork.

  • But it is a new issue; not related to the CL_INVALID_DEVICE bug;
  • your (new) issue is caused by 0168a45a14.
<!-- gh-comment-id:322016628 --> @ghost commented on GitHub (Aug 13, 2017): @superhansi you are right: there is something wrong with latest JtR and --fork. * But it is a new issue; not related to the CL_INVALID_DEVICE bug; * your (new) issue is caused by 0168a45a145d3c3ff714dd9f6bf73128f5408bac.
Author
Owner

@superhansi commented on GitHub (Aug 13, 2017):

john Thu Aug 10 08:40:48 2017
[0] GeForce GTX 970 | 36'C, 0 % | 2 / 4028 MB |
[1] GeForce GTX 980 | 68'C, 100 % | 950 / 4038 MB | user(948M)

this is the problem, JtR only using one device - i should've made it bold in first place

<!-- gh-comment-id:322028362 --> @superhansi commented on GitHub (Aug 13, 2017): john Thu Aug 10 08:40:48 2017 [0] GeForce GTX 970 | 36'C, **0** % | 2 / 4028 MB | [1] GeForce GTX 980 | 68'C, **100** % | 950 / 4038 MB | user(948M) this is the problem, JtR only using one device - i should've made it bold in first place
Author
Owner

@magnumripper commented on GitHub (Aug 16, 2017):

@darkbyte-ru could you please try latest code and see where we're at now?

<!-- gh-comment-id:322727824 --> @magnumripper commented on GitHub (Aug 16, 2017): @darkbyte-ru could you please try latest code and see where we're at now?
Author
Owner

@magnumripper commented on GitHub (Nov 7, 2018):

#3450 is most likely a dupe of this issue. Keeping the newer (for more attention) and closing this.

<!-- gh-comment-id:436784600 --> @magnumripper commented on GitHub (Nov 7, 2018): #3450 is most likely a dupe of this issue. Keeping the newer (for more attention) and closing this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1677
No description provided.