hashcat Forum
oclHashcat bug? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Deprecated; Ancient Versions (https://hashcat.net/forum/forum-46.html)
+--- Forum: Very old oclHashcat Support (https://hashcat.net/forum/forum-21.html)
+--- Thread: oclHashcat bug? (/thread-6.html)



oclHashcat bug? - mastercracker - 05-02-2010

Great work with oclhashcat. Finally a GPU cracker that support some Wordlists. From the few test I have done, the speed is amazing. With 1 GPU, I have cracked in minutes what it took me several hours with 3 CPU. I have however a question or a bug report. How do you select many GPUs for the cracking? Here's what I have as GPUs:

GPU 1: Cheap motherboard CUDA gpu
GPU 2: GTS250
GPU 3: GTX260

Here's the setting I have tried:

-d 1 --> Works but slow (device 2 and 3 are skipped)
-d 2 --> Works fast (device 1 and 3 are skipped)
-d 3 --> Crash (None are skipped until it crashes on #3)
No -d --> Crash (None are skipped until it crashes on #3)
-d 1 -d 2 --> Works fast (device 1 and 3 are skipped)
-d 12 --> All skipped (no device found)


So probably the problem comes from the GTX260 since it does not work alone. But if it would work, what would be the right settings to choose only device 2 and 3?

Thanks
Additional info... It seems like diminishing the n to 1 or removing both the -d and -n will sometimes make it works. Most of the time it will crash but sometimes it will start properly and crash at the very end.


RE: oclHashcat bug? - atom - 05-02-2010

(05-02-2010, 05:52 AM)mastercracker Wrote: Great work with oclhashcat. Finally a GPU cracker that support some Wordlists. From the few test I have done, the speed is amazing. With 1 GPU, I have cracked in minutes what it took me several hours with 3 CPU. I have however a question or a bug report. How do you select many GPUs for the cracking? Here's what I have as GPUs:

GPU 1: Cheap motherboard CUDA gpu
GPU 2: GTS250
GPU 3: GTX260

Here's the setting I have tried:

-d 1 --> Works but slow (device 2 and 3 are skipped)
-d 2 --> Works fast (device 1 and 3 are skipped)
-d 3 --> Crash (None are skipped until it crashes on #3)
No -d --> Crash (None are skipped until it crashes on #3)
-d 1 -d 2 --> Works fast (device 1 and 3 are skipped)
-d 12 --> All skipped (no device found)


So probably the problem comes from the GTX260 since it does not work alone. But if it would work, what would be the right settings to choose only device 2 and 3?

Thanks
Additional info... It seems like diminishing the n to 1 or removing both the -d and -n will sometimes make it works. Most of the time it will crash but sometimes it will start properly and crash at the very end.

welcome mastercracker to hashcat Smile

i have to admit, the devicemask system is a bit user-unfriendly.
i will improve it in the next version and make it easier to use.
in the next release it will work this way:

-d 1,2,4 (using cards 1, 2 and 4 but not 3)

in the meanwhile, here is how it currently working:
each of your gpus gets an id assigned, starting with 0.

the 1st card gets 1 << 0 = 1
the 2nd card gets 1 << 1 = 2
the 3rd card gets 1 << 2 = 4
the 4th card gets 1 << 3 = 8

you can use the LSH function in calculator.

now just add the values together.
to run only #2 and #3 card the mask is 6.

but, it seems that this function has a bug and will not work.
this means, you have currently no chance to filter out #1.
i've not realized that before since you're the first user with more than two gpus.
so i'll fix this asap and send you a beta version.

then there is the problem that it crashes in card #3, the GTX260.
i am not sure why it crashes and whether or not this is related to the devicemask problem.
if you have some time come to IRC so we can try to trace the problem.

--
atom