mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2335] NT-opencl failing tests on latest NVidia drivers on Windows #1562
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1562
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @crioux on GitHub (Nov 14, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2335
This is on my jtrdll branch, no changes have been made to the kernel from bleeding-jumbo, however.
@crioux commented on GitHub (Nov 14, 2016):
FYI I am also compiled with NT_FULL_UNICODE, and things start working again when i'm running tests in mask mode, or with --target-encoding=UTF-8
@crioux commented on GitHub (Nov 14, 2016):
Confirmed that if you turn off NT_FULL_UNICODE that the problem still happens.
@ghost commented on GitHub (Nov 15, 2016):
Note to devs: see also https://github.com/magnumripper/JohnTheRipper/issues/1857#issuecomment-163432409
@crioux commented on GitHub (Nov 15, 2016):
The problem goes away if I uncomment the "/* Ridiculous Bug Workaround[tm] for Apple w/ Intel HD Graphics. */
"
This is for Nvidia, which recently from what I can tell, has started using the Clang compiler internally with NVCC (so has AMD )
@magnumripper commented on GitHub (Nov 15, 2016):
That sounds similar to https://github.com/magnumripper/JohnTheRipper/issues/1857#issuecomment-185054106 except the problem I saw was (I think) with UTF-8 target.
@magnumripper commented on GitHub (Nov 15, 2016):
(that's in opencl_unicode.h) OK... maybe we should use that everywhere. I don't think it harms performance much.
@magnumripper commented on GitHub (Nov 15, 2016):
What if you do this change (only) instead?
@crioux commented on GitHub (Jan 19, 2017):
The change I made for nvidia is here, this worked, without needing to monkey with the CP_LUT thing.
github.com/L0phtCrack/jtrdll@87edfbd1ca(you can ignore the first bit of the patch for CUDA_CACHE_DISABLE, that's something I put in my branch to turn off the driver-level caching of kernel compilations, which is buggy and doesn't respect when you've changed a header file and not the the .cl file itself. (might be useful to other JtR developers though)
@crioux commented on GitHub (Jan 19, 2017):
basically, putting the bit-selecting 'and' inside the shift instead of outside the shift seems to have worked around whatever optimizer bug the compiler has.
@magnumripper commented on GitHub (May 16, 2017):
@crioux I have absolutely no idea why I couldn't quite reproduce this problem until now, but today I could. Perhaps some driver update did the shit. Anyway I implemented select parts of your fixes, kudos for that.