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

Thanks Claudio and magnum for your answer :)
@Claudio: I guess there is no specific reason for not installing them,
simply missing knowledge.

@magnum:
i tried the manual limitation but it fails again.
I also run verbose mode and can see, that much higher values are choosen by
default.

marc@...berd:~/JohnTheRipper/run$ LWS=64 GWS=1024 optirun ./john domain.txt
--format=mscash2-opencl --session=domain-opencl
./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by ./john)
Using default input encoding: UTF-8
Loaded 10 password hashes with 10 different salts (mscash2-opencl, MS Cache
Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL])
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

marc@...berd:~/JohnTheRipper/run$ optirun ./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
OpenCL CL_OUT_OF_RESOURCES error in opencl_mscash2_helper_plug.c:525 -
Error in Get Event Info

Nice easter to everyone :)

Regards Marc

2016-03-26 13:21 GMT+01:00 magnum <john.magnum@...hmail.com>:

> On 2016-03-26 09:13, Marc Brinkmann wrote:
>
>> Dear John-Users,
>> 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.
>> This is, what happens,
>> [Code]
>> ~/JohnTheRipper/run$ optirun ./john domain.txt --format=mscash2-opencl
>> --session=domain-opencl
>> ./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
>> available (required by ./john)
>> Using default input encoding: UTF-8
>> Loaded 10 password hashes with 10 different salts (mscash2-opencl, MS
>> Cache
>> Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL])
>> 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
>> [/Code]
>>
>
> I guess that particular format fails to take some device limit in
> consideration. Try running with --verb=5 and see what LWS/GWS are used.
>
> You can always force worksizes, like this:
>
> $ LWS=64 GWS=1024 ./john domain.txt --format=mscash2-opencl
> --session=domain-opencl
>
> Doing the same with mpirun:
>
> $ mpirun -host blabla -x LWS=64 -x GWS=1024 ./john domain.txt
> --format=mscash2-opencl --session=domain-opencl
>
> Perhaps the -x option works for optirun too? Or maybe there's some other
> syntax.
>
> magnum
>
>

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.