[GH-ISSUE #393] mscash2-opencl fails on 6770 #129

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

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

Originally assigned to: @sayan1an on GitHub.

It still blatantly ignores device limits:

Device 2: Juniper (AMD Radeon HD 6770 Green Edition)
OpenCL error (CL_INVALID_BUFFER_SIZE) in file (common_opencl_pbkdf2.c) at line (182) - (Create Buffer FAILED)
Originally created by @magnumripper on GitHub (Oct 15, 2013). Original GitHub issue: https://github.com/openwall/john/issues/393 Originally assigned to: @sayan1an on GitHub. It still blatantly ignores device limits: ``` Device 2: Juniper (AMD Radeon HD 6770 Green Edition) OpenCL error (CL_INVALID_BUFFER_SIZE) in file (common_opencl_pbkdf2.c) at line (182) - (Create Buffer FAILED) ```
bsakaguchi 2026-10-14 02:53:41 +07:00
Author
Owner

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

It fails the same even using --test=0 or setting a low GWS variable - apparently it still ignores those too.

<!-- gh-comment-id:26300597 --> @magnumripper commented on GitHub (Oct 15, 2013): It fails the same even using --test=0 or setting a low GWS variable - apparently it still ignores those too.
Author
Owner

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

Same problem on 9600GT:

Device 0: GeForce 9600 GT
OpenCL error (CL_OUT_OF_RESOURCES) in file (common_opencl_pbkdf2.c) at line (441) - (Sync FAILED)
<!-- gh-comment-id:26442078 --> @magnumripper commented on GitHub (Oct 16, 2013): Same problem on 9600GT: ``` Device 0: GeForce 9600 GT OpenCL error (CL_OUT_OF_RESOURCES) in file (common_opencl_pbkdf2.c) at line (441) - (Sync FAILED) ```
Author
Owner

@sayan1an commented on GitHub (Oct 18, 2013):

On Wed, Oct 16, 2013 at 11:28 PM, magnum notifications@github.com wrote:

Same problem on 9600GT:

Device 0: GeForce 9600 GT
OpenCL error (CL_OUT_OF_RESOURCES) in file (common_opencl_pbkdf2.c) at line (441) - (Sync FAILED)

—
Reply to this email directly or view it on GitHubhttps://github.com/magnumripper/JohnTheRipper/issues/393#issuecomment-26442078
.

I'll look into it ASAP.

<!-- gh-comment-id:26595716 --> @sayan1an commented on GitHub (Oct 18, 2013): On Wed, Oct 16, 2013 at 11:28 PM, magnum notifications@github.com wrote: > Same problem on 9600GT: > > Device 0: GeForce 9600 GT > OpenCL error (CL_OUT_OF_RESOURCES) in file (common_opencl_pbkdf2.c) at line (441) - (Sync FAILED) > > — > Reply to this email directly or view it on GitHubhttps://github.com/magnumripper/JohnTheRipper/issues/393#issuecomment-26442078 > . > > I'll look into it ASAP.
Author
Owner

@sayan1an commented on GitHub (Oct 23, 2013):

On Fri, Oct 18, 2013 at 7:05 PM, Sayantan Datta std2048@gmail.com wrote:

On Wed, Oct 16, 2013 at 11:28 PM, magnum notifications@github.com wrote:

Same problem on 9600GT:

Device 0: GeForce 9600 GT
OpenCL error (CL_OUT_OF_RESOURCES) in file (common_opencl_pbkdf2.c) at line (441) - (Sync FAILED)

—
Reply to this email directly or view it on GitHubhttps://github.com/magnumripper/JohnTheRipper/issues/393#issuecomment-26442078
.

I'll look into it ASAP.

Fixed Now.

std2048@well:~/JohnTheRipper/run$ ./john -te -format=mscash2-opencl -dev=gpu
Device 0: Bonaire (AMD Radeon HD 7700 Series)
Optimal Work Group Size:128
Kernel Execution Speed (Higher is better):0.744924
Optimal Global Work Size:122880
Device 1: Capeverde (AMD Radeon HD 7700 Series)
Optimal Work Group Size:128
Kernel Execution Speed (Higher is better):0.350035
Optimal Global Work Size:180224
Device 2: Juniper (AMD Radeon HD 6770 Green Edition)
Optimal Work Group Size:256
Kernel Execution Speed (Higher is better):0.235967
Optimal Global Work Size:221184
Benchmarking: mscash2-opencl, M$ Cache Hash 2 (DCC2) [PBKDF2-SHA1
OpenCL]... DONE
Raw: 84421 c/s real, 26777 c/s virtual

Regards,
Sayantan

<!-- gh-comment-id:26932083 --> @sayan1an commented on GitHub (Oct 23, 2013): On Fri, Oct 18, 2013 at 7:05 PM, Sayantan Datta std2048@gmail.com wrote: > On Wed, Oct 16, 2013 at 11:28 PM, magnum notifications@github.com wrote: > > > Same problem on 9600GT: > > > > Device 0: GeForce 9600 GT > > OpenCL error (CL_OUT_OF_RESOURCES) in file (common_opencl_pbkdf2.c) at line (441) - (Sync FAILED) > > > > — > > Reply to this email directly or view it on GitHubhttps://github.com/magnumripper/JohnTheRipper/issues/393#issuecomment-26442078 > > . > > > > I'll look into it ASAP. Fixed Now. std2048@well:~/JohnTheRipper/run$ ./john -te -format=mscash2-opencl -dev=gpu Device 0: Bonaire (AMD Radeon HD 7700 Series) Optimal Work Group Size:128 Kernel Execution Speed (Higher is better):0.744924 Optimal Global Work Size:122880 Device 1: Capeverde (AMD Radeon HD 7700 Series) Optimal Work Group Size:128 Kernel Execution Speed (Higher is better):0.350035 Optimal Global Work Size:180224 Device 2: Juniper (AMD Radeon HD 6770 Green Edition) Optimal Work Group Size:256 Kernel Execution Speed (Higher is better):0.235967 Optimal Global Work Size:221184 Benchmarking: mscash2-opencl, M$ Cache Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL]... DONE Raw: 84421 c/s real, 26777 c/s virtual Regards, Sayantan
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#129
No description provided.