[GH-ISSUE #392] sha512crypt-opencl fails on 6770 #127

Closed
opened 2026-10-14 02:53:41 +07:00 by bsakaguchi · 6 comments
Owner

Originally created by @magnumripper on GitHub (Oct 15, 2013).
Original GitHub issue: https://github.com/openwall/john/issues/392

Device 2: Juniper (AMD Radeon HD 6770 Green Edition)
Local worksize (LWS) 64, global worksize (GWS) 4608
Benchmarking: sha512crypt-opencl, crypt(3) $6$ (rounds=5000) [SHA512 OpenCL]... FAILED (get_hash[0](0))
Originally created by @magnumripper on GitHub (Oct 15, 2013). Original GitHub issue: https://github.com/openwall/john/issues/392 ``` Device 2: Juniper (AMD Radeon HD 6770 Green Edition) Local worksize (LWS) 64, global worksize (GWS) 4608 Benchmarking: sha512crypt-opencl, crypt(3) $6$ (rounds=5000) [SHA512 OpenCL]... FAILED (get_hash[0](0)) ```
bsakaguchi 2026-10-14 02:53:41 +07:00
Author
Owner

@magnumripper commented on GitHub (Oct 15, 2013):

It does work on the 7700's on well (device 0 and 1), just not on the Juniper.

<!-- gh-comment-id:26300996 --> @magnumripper commented on GitHub (Oct 15, 2013): It does work on the 7700's on well (device 0 and 1), just not on the Juniper.
Author
Owner

@ghost commented on GitHub (Oct 17, 2013):

Not expected, since git history shows the last edit in this file was 8 months ago. So, I probably tested it using my old 6770.

I guess it is going to be necessary to deal with bad compiler TM issues again.

<!-- gh-comment-id:26546031 --> @ghost commented on GitHub (Oct 17, 2013): Not expected, since git history shows the last edit in this file was 8 months ago. So, I probably tested it using my old 6770. I guess it is going to be necessary to deal with bad compiler TM issues again.
Author
Owner

@magnumripper commented on GitHub (Oct 17, 2013):

Driver is 1214.3 == 13.6beta

<!-- gh-comment-id:26553724 --> @magnumripper commented on GitHub (Oct 17, 2013): Driver is 1214.3 == 13.6beta
Author
Owner

@ghost commented on GitHub (Oct 17, 2013):

I tried to figure out where the bug is and I failed.

For example: a command like this can stress any device(s) with the same source code:
_TYPE=0 LWS=64 GWS=1024 ../run/john -te -form=sha512crypt-opencl -dev=n

And it works everywhere but not on 6770. Lets keep the bug open and wait for a new driver (or even better, a 6770 under 13.1 Catalyst).

<!-- gh-comment-id:26554098 --> @ghost commented on GitHub (Oct 17, 2013): I tried to figure out where the bug is and I failed. For example: a command like this can stress any device(s) with the same source code: _TYPE=0 LWS=64 GWS=1024 ../run/john -te -form=sha512crypt-opencl -dev=n And it works everywhere but not on 6770. Lets keep the bug open and wait for a new driver (or even better, a 6770 under 13.1 Catalyst).
Author
Owner

@ghost commented on GitHub (May 17, 2014):

It is also failing on 14.04 AMD driver. But the driver is simply creating invalid code, I can compile the same source code on NVIDIA and (other) AMD cards. I guess AMD is not trying to keep the driver as good as it should be.

Well, I found no way to fix it. The solution has to be:

  • dear user, use only 12.06 (maybe 13.1) GPU AMD driver, for AMD 6000 cards.
  • for sha256crypt and sha512crypt, use, at least, AMD 7000 cards.
<!-- gh-comment-id:43427387 --> @ghost commented on GitHub (May 17, 2014): It is also failing on 14.04 AMD driver. But the driver is simply creating invalid code, I can compile the same source code on NVIDIA and (other) AMD cards. I guess AMD is not trying to keep the driver as good as it should be. Well, I found no way to fix it. The solution has to be: - dear user, use only 12.06 (maybe 13.1) GPU AMD driver, for AMD 6000 cards. - for sha256crypt and sha512crypt, use, at least, AMD 7000 cards.
Author
Owner

@magnumripper commented on GitHub (May 18, 2014):

Yes, we'll just list it in doc/BUGS or something (though it's not our bug but AMD's)

<!-- gh-comment-id:43436065 --> @magnumripper commented on GitHub (May 18, 2014): Yes, we'll just list it in doc/BUGS or something (though it's not our bug but AMD's)
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#127
No description provided.