mirror of
https://github.com/openwall/john.git
synced 2026-12-03 20:43:49 +07:00
[GH-ISSUE #836] Opencl issues with PCI id mapping on Windows #446
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#446
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 @jfoug on GitHub (Oct 29, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/836
This section of opencl-common.c fails, but if I comment it out things are fine. (around line 330)
If this code is NOT required, then why should it be allowed to cause jtr to fail?
@jfoug commented on GitHub (Oct 29, 2014):
With the above code, I get this:
@magnumripper commented on GitHub (Oct 29, 2014):
That's a new one. No we should definitely not fail hard on that. This code is tested on a number of Intel CPU drivers - what version are you using?
The PCI info is required for proper matching of devices <-> sensor readings from AMD and nvidia GPUs. For Intel, we don't need it at all but I have never seen this problem and I do test several drivers. Incuding the ones on well, bull and super.
@magnumripper commented on GitHub (Oct 29, 2014):
Does --list=opencl-devices also fail?
@magnumripper commented on GitHub (Oct 29, 2014):
The function called, get_pci_info(), even have this
So something is not right.
@magnumripper commented on GitHub (Oct 29, 2014):
Is this Windows or Linux?
@jfoug commented on GitHub (Oct 29, 2014):
$ ../run/john --list=opencl-devices
This is Win7-64
@magnumripper commented on GitHub (Oct 29, 2014):
Step the get_pci_info() function and see why it does not return CL_SUCCESS
@jfoug commented on GitHub (Oct 29, 2014):
Again, this is with that code commented out that has problems on this machine
@magnumripper commented on GitHub (Oct 29, 2014):
I bet
10d966efixes it. But I can't really see why it's needed.@jfoug commented on GitHub (Oct 29, 2014):
Line 283 is the return. So clGetDeviceInfo() does not return suucess and then cpu_intel() returns false
@jfoug commented on GitHub (Oct 29, 2014):
I added this to the return
and it shows:
sequential_id=0 and ret-30
@jfoug commented on GitHub (Oct 29, 2014):
10d966eworks the same as my original comment it out method. I am sure the call still fails, it is just that it does not fail with a fatal error now.@magnumripper commented on GitHub (Oct 29, 2014):
Well not exactly the same. In
10d966eit will work as intended with an AMD or nvidia GPU and Linux as OS...@magnumripper commented on GitHub (Oct 30, 2014):
So it's not about the CPU, it fails mapping PCI id to GPU too. This is also seen in the list output. Perhaps the Windows driver lacks that functionality. Error -30 is CL_INVALID_VALUE
@magnumripper commented on GitHub (Oct 30, 2014):
Anyway, until we try to add sensors support to Windows builds, this is closed.