[GH-ISSUE #2710] PGP WDE OpenCL format fails on nvidia #1746

Closed
opened 2026-10-15 04:23:57 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @magnumripper on GitHub (Aug 28, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2710

See https://github.com/magnumripper/JohnTheRipper/pull/2701#issuecomment-324954533 (and follow-ups). Seems to be a driver bug. I'll try rewriting the code without using SHA1-CTX (should be faster as well) when I got the time.

Originally created by @magnumripper on GitHub (Aug 28, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2710 See https://github.com/magnumripper/JohnTheRipper/pull/2701#issuecomment-324954533 (and follow-ups). Seems to be a driver bug. I'll try rewriting the code without using SHA1-CTX (should be faster as well) when I got the time.
bsakaguchi 2026-10-15 04:23:57 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@magnumripper commented on GitHub (Sep 1, 2017):

It was our bug. Fixed in f09bb77a

<!-- gh-comment-id:326589788 --> @magnumripper commented on GitHub (Sep 1, 2017): It was our bug. Fixed in f09bb77a
Author
Owner

@magnumripper commented on GitHub (Sep 2, 2017):

It still fails on Super (I did drop all caches, ie. rm -fr /.nv/ComputeCache)

Device 6: GeForce GTX TITAN X
Benchmarking: pgpwde-opencl [SHA1 OpenCL]... (32xOMP) OpenCL UNKNOWN OPENCL ERROR (-9999) error in common-opencl.c:1820 - Error creating command queue

Same with dev 7 (old Titan). This is nvidia 361.28. When I fixed the bug I was running a Titan X on latest Ubuntu LTS nvidia driver, whatever that was, and it worked like a champ (all formats do).

Anyway, dmesg seem to indicate we still have some alignment issue on Super.

<!-- gh-comment-id:326735191 --> @magnumripper commented on GitHub (Sep 2, 2017): It still fails on Super (I did drop all caches, ie. `rm -fr /.nv/ComputeCache`) ``` Device 6: GeForce GTX TITAN X Benchmarking: pgpwde-opencl [SHA1 OpenCL]... (32xOMP) OpenCL UNKNOWN OPENCL ERROR (-9999) error in common-opencl.c:1820 - Error creating command queue ``` Same with dev 7 (old Titan). This is nvidia 361.28. When I fixed the bug I was running a Titan X on latest Ubuntu LTS nvidia driver, whatever that was, and it worked like a champ (all formats do). Anyway, dmesg seem to indicate we still have some alignment issue on Super.
Author
Owner

@magnumripper commented on GitHub (Sep 2, 2017):

Similar alignment issue in PUT_UINT32BE fixed in 78b55424. It now works fine on Super.

<!-- gh-comment-id:326736240 --> @magnumripper commented on GitHub (Sep 2, 2017): Similar alignment issue in PUT_UINT32BE fixed in 78b55424. It now works fine on Super.
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#1746
No description provided.