Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Fri, 14 Jun 2019 00:46:56 -0400
From: billwhittaker@...e-mail.net
To: john-users@...ts.openwall.com
Subject: Re: Unable to use OpenCL on arm64v8/debian stretch

> Before we even start to think about that, you need to upgrade to latest 
> release, which is 1.9.0-jumbo-1.


	As directed, I have compiled 1.9.0-jumbo-1 from openwall.
	I see no change, but do have additional information.

wget https://www.openwall.com/john/k/john-1.9.0-jumbo-1.tar.gz
tar -zxf john-1.9.0-jumbo-1.tar.gz
cd john-1.9.0-jumbo-1/src
./configure --enable-mpi
...
Target CPU ................................. aarch64 ASIMD, 64-bit LE
AES-NI support ............................. no
Target OS .................................. linux-gnu
Cross compiling ............................ no
Legacy arch header ......................... arm64le.h

Optional libraries/features found:
Memory map (share/page large files) ........ yes
Fork support ............................... yes
OpenMP support ............................. yes (not for fast formats)
OpenCL support ............................. yes
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) ......... yes
ZTEX USB-FPGA module 1.15y support ......... no

make -s clean && make -sj6
../run/john --test=0 --format=CPU
All 404 formats passed self-tests!

../run/john --test --format=wpapsk-opencl
Device 1@...i: Mali-T860
Benchmarking: wpapsk-opencl, WPA/WPA2/PMF/PMKID PSK [PBKDF2-SHA1 OpenCL]... 0: OpenCL CL_INVALID_PROGRAM_EXECUTABLE (-45) error in opencl_wpapsk_fmt_plug.c:270 - Error creating kernel

../run/john --test --format=opencl
Device 1@...i: Mali-T860
Benchmarking: sha1crypt-opencl, (NetBSD) [PBKDF1-SHA1 OpenCL 4x]... DONE
Speed for cost 1 (iteration count) of 64000 and 40000
Raw:	12.5 c/s real, 2560 c/s virtual

Benchmarking: KeePass-opencl [SHA256 AES/Twofish/ChaCha OpenCL]...


../run/john --test --format=opencl
john-1.9.0-jumbo-1/src$ ../run/john --list=opencl-devices
Platform #0 name: ARM Platform, version: OpenCL 1.2 v1.r14p0-01rel0-git(966ed26).f44c85cb3d2ceb87e8be88e7592755c3
    Device #0 (1) name:     Mali-T860
    Device vendor:          ARM
    Device type:            GPU (LE)
    Device version:         OpenCL 1.2 v1.r14p0-01rel0-git(966ed26).f44c85cb3d2ceb87e8be88e7592755c3
    Driver version:         1.2 
    Native vector widths:   char 16, short 8, int 4, long 2
    Preferred vector width: char 16, short 8, int 4, long 2
    Global Memory:          919 MB
    Global Memory Cache:    256 KB
    Local Memory:           32 KB (Global)
    Constant Buffer size:   64 KB
    Max memory alloc. size: 229 MB
    Max clock (MHz):        200
    Profiling timer res.:   1000 ns
    Max Work Group Size:    256
    Parallel compute cores: 4
    Stream processors:      8  (4 x 2)
    Speed index:            1600

Powered by blists - more mailing lists

Your e-mail address:

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