openwall / openwall/john

bitcoin-opencl fails self test on Arc B60

Open
#5,977 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

I am not convinced this is caused by JtR alone, so this bug is just a heads up.
Bitcoin opencl format is failing self test on Intel GPUs, unless we limit LWS to 14 or smaller.
Here is an example on Arc B60:

$ ./john -test -format=bitcoin-opencl
Bitcoin-opencl
Device 1: Intel(R) Arc(TM) Pro B60 Graphics
Benchmarking: Bitcoin-opencl, Bitcoin Core [SHA512 AES OpenCL]... FAILED (cmp_all(1))

$ LWS=14  ./john -test -format=bitcoin-opencl
Device 1: Intel(R) Arc(TM) Pro B60 Graphics
Benchmarking: Bitcoin-opencl, Bitcoin Core [SHA512 AES OpenCL]...(1280 blocks)
DONE
Speed for cost 1 (iteration count) of 200460
Raw:    2333 c/s real, 2327 c/s virtual

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with ./john -test -format=bitcoin-opencl on an Intel Arc B60, then repeat with LWS=14 as shown in the issue. Investigate the bitcoin-opencl self-test path and OpenCL behavior; done means determining why larger LWS values fail and whether the self test passes without the workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
performance, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.