Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7d71586067aa464f4f68199a3de06813@smtp.hushmail.com>
Date: Tue, 27 May 2014 09:46:09 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: OpenCL issues on OS X

On 2014-05-27 00:15, Kyle Gray wrote:
> I'm attempting to use opencl on a new (to me) Apple laptop and I'm having
> issues. I am using 1.7.9 jumbo 7 and I read about the known issue on this
> thread: http://www.openwall.com/lists/john-users/2013/03/17/3
>
> "OpenCL compiler does not obey the -Ipath given when building, so any headers
> needed by the kernel must exist in current directory"

It appears that issue was fixed in 10.9 Mavericks.

> When I attempt to resolve this issue by running within the src directory, I get
> this response:
>
> OpenCL platform 0: Apple, 2 device(s).
> Using device 1: GeForce GT 650M
> Compilation log: Error getting function data from server
> Error building kernel. Returned build code: -11. DEVICE_INFO=130
> OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at line (135)
> - (clBuildProgram failed.)

That message generally indicates an other problem: Apple's crappy 
drivers. They are worse than AMD's worst, which is an astonishing 
achievement. Ensure you've got latest OS updates. The drivers are slowly 
getting better although I think I saw a regression in latest update a 
couple days ago. There's unfortunately nothing you can do about it 
unless we find workarounds for *their* bugs that we can implement. You 
can verify this by using some other device, eg. --dev=cpu which almost 
always works.

However, in your case there *is* something you can do: Use the latest 
version from Git instead. Snapshot tarball:
https://github.com/magnumripper/JohnTheRipper/tarball/bleeding-jumbo

Here's a MBPR (Mavericks) running that version:

$ ../run/john -test -form:wpapsk-opencl -dev=2
Device 2: GeForce GT 650M
Local worksize (LWS) 1024, Global worksize (GWS) 65536
Benchmarking: wpapsk-opencl, WPA/WPA2 PSK [PBKDF2-SHA1 OpenCL]... DONE
Raw:	6444 c/s real, 468114 c/s virtual

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.