Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 27 Mar 2016 18:45:01 +0200
From: Marc Brinkmann <marc.brinkmann@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: Error running mscash2-opencl on GeForce GTX 770M

Dear Alexander,

i run all the above commands and the inital command itself with and without
optirun.
PS: As my system is German, "command not found" is written in German
"Kommando nicht gefunden"
Here the results:

marc@...berd:~/JohnTheRipper/run$ nvidia-smi
bash: nvidia-smi: Kommando nicht gefunden.

marc@...berd:~/JohnTheRipper/run$ clinfo | egrep 'Name|Global memory'
clinfo: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by clinfo)
clinfo: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by clinfo)
terminate called after throwing an instance of 'cl::Error'
  what():  clGetPlatformIDs

marc@...berd:~/JohnTheRipper/run$ ./john --list=opencl-devices
./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by ./john)
Invalid OpenCL device id 0

marc@...berd:~/JohnTheRipper/run$ optirun nvidia-smi
[  122.654828] [ERROR]Error running "nvidia-smi": No such file or directory
marc@...berd:~/JohnTheRipper/run$ optirun clinfo | egrep 'Name|Global
memory'
clinfo: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by clinfo)
clinfo: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by clinfo)
  Platform Name:                                 NVIDIA CUDA
  Platform Name:                                 NVIDIA CUDA
  Global memory size:                            3221028864
  Name:                                          GeForce GTX 770M

marc@...berd:~/JohnTheRipper/run$ optirun ./john --list=opencl-devices
./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by ./john)
Platform #0 name: NVIDIA CUDA, version: OpenCL 1.1 CUDA 6.5.51
    Device #0 (0) name:     GeForce GTX 770M
    Device vendor:          NVIDIA Corporation
    Device type:            GPU (LE)
    Device version:         OpenCL 1.1 CUDA
    Driver version:         340.96 [supported]
    Native vector widths:   char 1, short 1, int 1, long 1
    Preferred vector width: char 1, short 1, int 1, long 1
    Global Memory:          2.0 GB
    Global Memory Cache:    80.0 KB
    Local Memory:           48.0 KB (Local)
    Max memory alloc. size: 767.7 MB
    Max clock (MHz):        797
    Profiling timer res.:   1000 ns
    Max Work Group Size:    1024
    Parallel compute cores: 5
    CUDA cores:             960  (5 x 192)
    Speed index:
765120

    Warp size:
32

    Max. GPRs/work-group:
65536

    Kernel exec. timeout:
yes

    PCI device topology:
01:00.0



marc@...berd:~/JohnTheRipper/run$ ./john domain.txt --format=mscash2-opencl
--verb=5 --session=domain-opencl
./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by
./john)

initUnicode(UNICODE,
UTF-8/ISO-8859-1)

UTF-8 -> UTF-8 ->
UTF-8

Using default input encoding:
UTF-8

Loaded 10 password hashes with 10 different salts (mscash2-opencl, MS Cache
Hash 2 (DCC2) [PBKDF2-SHA1
OpenCL])

Loaded 19 hashes with 16 different salts to test db from test
vectors

Device 0: GeForce GTX
770M

Options used: -I /home/marc/JohnTheRipper/run/kernels -cl-mad-enable
-DSM_MAJOR=3 -DSM_MINOR=0 -cl-nv-verbose -D__GPU__ -DDEVICE_INFO=32786
-DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=340 -DDEV_VER_MINOR=96 -D_OPENCL_COMPILER
-D SALT_BUFFER_SIZE=260 $JOHN/kernels/pbkdf2_kernel.cl

Device 0  GWS: 24576, LWS:
1024

Press 'q' or Ctrl-C to abort, almost any other key for
status

Session
aborted


marc@...berd:~/JohnTheRipper/run$ primusrun ./john domain.txt
--format=mscash2-opencl --verb=5
--session=domain-opencl

./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by
./john)

initUnicode(UNICODE,
UTF-8/ISO-8859-1)

UTF-8 -> UTF-8 ->
UTF-8

Using default input encoding:
UTF-8

Loaded 10 password hashes with 10 different salts (mscash2-opencl, MS Cache
Hash 2 (DCC2) [PBKDF2-SHA1
OpenCL])

Loaded 19 hashes with 16 different salts to test db from test vectors
Device 0: GeForce GTX 770M
Options used: -I /home/marc/JohnTheRipper/run/kernels -cl-mad-enable
-DSM_MAJOR=3 -DSM_MINOR=0 -cl-nv-verbose -D__GPU__ -DDEVICE_INFO=32786
-DSIZEOF_SIZE_T=8 -DDEV_VER_MAJOR=340 -DDEV_VER_MINOR=96 -D_OPENCL_COMPILER
-D SALT_BUFFER_SIZE=260 $JOHN/kernels/pbkdf2_kernel.cl
Device 0  GWS: 24576, LWS: 1024
Press 'q' or Ctrl-C to abort, almost any other key for status
Wait...

Regards Marc


2016-03-27 16:40 GMT+02:00 Solar Designer <solar@...nwall.com>:

> On Sat, Mar 26, 2016 at 09:13:01AM +0100, Marc Brinkmann wrote:
> > i have trouble running a opencl-session on my Nvidia GPU powered
> Notebook.
> > John is up-to-date as i speak, i pulled git-code and rebuilt it.
>
> Please post the output of:
>
> nvidia-smi
> clinfo | egrep 'Name|Global memory'
> ./john --list=opencl-devices
>
> What happens if you skip optirun?
>
> > Device 0: GeForce GTX 770M
> > Press 'q' or Ctrl-C to abort, almost any other key for status
> > OpenCL CL_OUT_OF_RESOURCES error in opencl_mscash2_helper_plug.c:525 -
> > Error in Get Event Info
>
> Alexander
>

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.