You are not logged in.
Here are all the warnings and error messages I get, I've looked up some of them and haven't been able to find anything. Thanks in advance for help.
Offline
Where?
Offline
Oh the pastebin didn't link for some reason, sorry. https://pastebin.com/hePJMah4 here it is.
Offline
What source are you trying to build with what patch applied? Please provide step by step instructions or preferably a PKGBUILD that would allow others to repeat the process.
The john package in community is built from the jumbo source with opencl support enabled, does that not meet your needs?
Last edited by loqs (2020-11-30 00:28:26)
Offline
I was building it using the make file from this github page, https://github.com/openwall/john. I didn't realise the package had opencl support. Step by step instructions: git clone https://github.com/openwall/john.git, cd john-the-ripper/src make clean linux-x86-64-opencl.
Offline
$ git clone https://github.com/openwall/john.git
Cloning into 'john'...
remote: Enumerating objects: 70, done.
remote: Counting objects: 100% (70/70), done.
remote: Compressing objects: 100% (59/59), done.
remote: Total 92700 (delta 40), reused 11 (delta 11), pack-reused 92630
Receiving objects: 100% (92700/92700), 115.32 MiB | 4.95 MiB/s, done.
Resolving deltas: 100% (72776/72776), done.
$ cd john/src/
$ make clean linux-x86-64-opencl
make: *** No rule to make target 'clean'. Stop.
Did you skip ./configure? Also what about the patch mentioned in the thread title?
Offline
The patch is the one you get when you git clone that link, and I don't know what you mean by ./configure, there's no file of that name in the directory for john the ripper. Is there something I'm missing? And finally I didn't get the same result as you when running make clean linux-x86-64-opencl, so I don't know what's going on there.
Offline
If you start in an empty directory can you reproduce the output I posted?
Edit:
configure is https://github.com/openwall/john/blob/b … /configure
There are no files with a .patch extension in /src
What is the output of the following
git status --ignored
git describe
git remote -v
Last edited by loqs (2020-11-30 20:30:16)
Offline
I found configure, apparently it wasn't downloaded when I first git cloned it but it was this time, and after running it I got the same output as you did. These are the outputs of the commands you listed: https://imgur.com/8z0lP7w
Offline
The john package in community is built from the jumbo source with opencl support enabled, does that not meet your needs?
Please do not post images of text. With the updated git tree can you reproduce the issue? If the patch file is still applicable where can I obtain it from?
Offline
Thanks for bearing with me, I'm sorry if I haven't expressed everything clearly, there's no patch involved, I made a mistake.
You mentioned that the community package has opencl support, I didn't realise that. I think I should try to use that first instead of building it from source.
What I am trying to do is put my GPU to use to run john on a password file. The John documentation recommended to use the git link and compile with opencl support.
Installing John from the AUR seems like it would be easier than compiling it but when I did that it used my CPU instead of my GPU, do you know how I can make it use my GPU? Thanks for your help.
Offline
After installing the john package from community, what is the output of:
john --list=opencl-devices
Offline
Platform #0 name: NVIDIA CUDA, version: OpenCL 1.2 CUDA 11.1.114
Device #0 (1) name: GeForce GTX 1650
Device vendor: NVIDIA Corporation
Device type: GPU (LE)
Device version: OpenCL 1.2 CUDA
Driver version: 455.45.01 [recommended]
Native vector widths: char 1, short 1, int 1, long 1
Preferred vector width: char 1, short 1, int 1, long 1
Global Memory: 3910 MB
Global Memory Cache: 448 KB
Local Memory: 48 KB (Local)
Constant Buffer size: 64 KB
Max memory alloc. size: 977 MB
Max clock (MHz): 1680
Profiling timer res.: 1000 ns
Max Work Group Size: 1024
Parallel compute cores: 14
CUDA cores: 896 (14 x 64)
Speed index: 1505280
Warp size: 32
Max. GPRs/work-group: 65536
Compute capability: 7.5 (sm_75)
Kernel exec. timeout: yes
NVML id: 0
PCI device topology: 29:00.0
PCI lanes: 16/16
Fan speed: 37%
Temperature: 72°C
Utilization: 71%
Offline
If you run john with the option --devices=0 is OpenCL used?
Offline
john --devices=0 passwordthing
stat: --devices=0: No such file or directory
is the result
Offline
type -a john
Offline
john is /usr/bin/john
Offline
This is the output from my system with an empty file:
$ touch passwordfile
$ john --devices=0 passwordfile
Using default input encoding: UTF-8
No password hashes loaded (see FAQ)
Last edited by loqs (2020-12-03 22:46:44)
Offline
The file I'm using isn't empty, it contains hashes. I don't know why I'm getting a different output though.
Offline
What about
john --test --format=wpapsk-opencl
Offline
Device 1@ahab: GeForce GTX 1650
Benchmarking: wpapsk-opencl, WPA/WPA2/PMF/PMKID PSK [PBKDF2-SHA1 OpenCL]... DONE
Speed for cost 1 (key version [0:PMKID 1:WPA 2:WPA2 3:802.11w]) of 2
Raw: 160777 c/s real, 160777 c/s virtual, Dev#1 util: 100%
Offline
The last output appears to show working OpenCL functionality.
Offline
Weird that it doesn't work when used on an actual file.
Offline