Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 21 Aug 2020 20:43:54 +0000
From: freeroute <freeroute@...tonmail.ch>
To: "john-users@...ts.openwall.com" <john-users@...ts.openwall.com>
Subject: OpenCl lib not detected

I had a fully working system with GPU support.
Today I did a full reinstall from the github repository and I noticed there is no GPU support.
Output of /usr/local/src/john/src# ./configure
Configured for building John the Ripper jumbo:

Target CPU ................................. x86_64 AVX2, 64-bit LE
AES-NI support ............................. run-time detection
Target OS .................................. linux-gnu
Cross compiling ............................ no
Legacy arch header ......................... x86-64.h

Optional libraries/features found:
Memory map (share/page large files) ........ yes
Fork support ............................... yes
OpenMP support ............................. yes (not for fast formats)
OpenCL support ............................. no
Generic crypt(3) format .................... yes
libgmp (PRINCE mode and faster SRP formats)  yes
128-bit integer (faster PRINCE mode) ....... yes
libz (pkzip and some other formats) ........ yes
libbz2 (gpg2john extra decompression logic)  yes
libpcap (vncpcap2john and SIPdump) ......... yes
OpenMPI support (default disabled) ......... no
ZTEX USB-FPGA module 1.15y support ......... no

Install missing libraries to get any needed features that were omitted.
Configure finished.  Now "make -s clean && make -sj4" to compile.
I read the /john/doc/INSTALL-OPENCL file.
It says: "The new autoconf (./configure) should find your OpenCL installation and
enable it.  If it doesn't, you may need to pass some parameters about where
it's located..."
So what parameters should I give to enable it?
Output of: sudo updatedb && locate CL/cl.h && locate libOpenCL.so
[sudo] password for freeroute:
/usr/include/CL/cl.h
/usr/include/CL/cl.hpp
/usr/local/cuda-11.0/targets/x86_64-linux/include/CL/cl.h
/usr/local/cuda-11.0/targets/x86_64-linux/include/CL/cl.hpp
/usr/local/src/hashcat/deps/OpenCL-Headers/CL/cl.h
/etc/alternatives/opencl-libOpenCL.so
/etc/alternatives/opencl-libOpenCL.so.1
/etc/alternatives/opencl-libOpenCL.so.2.0
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1
/usr/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so.1
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so.1.0
/usr/local/cuda-11.0/targets/x86_64-linux/lib/libOpenCL.so.1.0.0
/usr/share/man/man7/libOpenCL.so.7.gz
/var/lib/dpkg/alternatives/opencl-libOpenCL.so
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/19.08/6c6ea4e13681b61c07658c0f890beab7b27ef4dfa5567f2d2b7286d6e47a246c/files/lib/x86_64-linux-gnu/libOpenCL.so.1
/var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/19.08/6c6ea4e13681b61c07658c0f890beab7b27ef4dfa5567f2d2b7286d6e47a246c/files/lib/x86_64-linux-gnu/libOpenCL.so.1.0.0

Note: I updated the drivers according this https://hashcat.net/forum/thread-9313-post-49247.html#pid49247, but OpenCl still not recognized by JtR. Hashcat working well.
Output of: uname -a
Linux hashcat.sytes.net 5.4.0-42-generic #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Thank you.

Sent with ProtonMail Secure Email.
Content of type "text/html" skipped

Download attachment "publickey - freeroute@...tonmail.ch - 0xDA223267.asc" of type "application/pgp-keys" (1794 bytes)

Download attachment "signature.asc" of type "application/pgp-signature" (510 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.