Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sat, 26 Mar 2016 13:21:54 +0100
From: magnum <>
Subject: Re: Error running mscash2-opencl on GeForce GTX 770M

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/ 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 

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 


Powered by blists - more mailing lists

Your e-mail address:

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