Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 26 Mar 2016 09:13:01 +0100
From: Marc Brinkmann <marc.brinkmann@...il.com>
To: john-users@...ts.openwall.com
Subject: Error running mscash2-opencl on GeForce GTX 770M

Dear John-Users,
i have trouble running a opencl-session on my Nvidia GPU powered Notebook.
John is up-to-date as i speak, i pulled git-code and rebuilt it.
This is, what happens,
[Code]
~/JohnTheRipper/run$ optirun ./john domain.txt --format=mscash2-opencl
--session=domain-opencl
./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by ./john)
Using default input encoding: UTF-8
Loaded 10 password hashes with 10 different salts (mscash2-opencl, MS Cache
Hash 2 (DCC2) [PBKDF2-SHA1 OpenCL])
Device 0: GeForce GTX 770M
Press 'q' or Ctrl-C to abort, almost any other key for status
OpenCL CL_OUT_OF_RESOURCES error in opencl_mscash2_helper_plug.c:525 -
Error in Get Event Info
[/Code]

I googled the error and found this, but don't know what to do with it :(
http://stackoverflow.com/questions/27629372/cl-out-of-resources-error-on-nvidia
http://stackoverflow.com/questions/17633727/opencl-ridiculous-cl-out-of-resources

Some OpenCL Jobs are working on my system, some seem to be a problem:
[Code]
~/JohnTheRipper/run$ optirun ./john --test --format=opencl
./john: /usr/lib/x86_64-linux-gnu/libOpenCL.so.1: no version information
available (required by ./john)
Device 0: GeForce GTX 770M
Benchmarking: sha1crypt-opencl, (NetBSD) [PBKDF1-SHA1 OpenCL 2x]... DONE
Speed for cost 1 (iteration count) of 64000 and 40000
Raw:    4800 c/s real, 4770 c/s virtual

Benchmarking: oldoffice-opencl, MS Office <= 2003 [MD5/SHA1 RC4 OpenCL]...
DONE
Speed for cost 1 (hash type) of 1 and 0
Warning: "Many salts" test limited: 25/256
Many salts:     768000 c/s real, 768000 c/s virtual
Only one salt:  760396 c/s real, 760396 c/s virtual

Benchmarking: PBKDF2-HMAC-MD4-opencl [PBKDF2-MD4 OpenCL 2x]... DONE
Speed for cost 1 (iterations) of 1000
Raw:    756184 c/s real, 756184 c/s virtual

Benchmarking: PBKDF2-HMAC-MD5-opencl [PBKDF2-MD5 OpenCL 2x]... DONE
Speed for cost 1 (iterations) of 1 and 1000
Raw:    669148 c/s real, 675840 c/s virtual

Benchmarking: PBKDF2-HMAC-SHA1-opencl [PBKDF2-SHA1 OpenCL]... DONE
Speed for cost 1 (iterations) of 1000
Raw:    221405 c/s real, 221405 c/s virtual

Benchmarking: rar-opencl, RAR3 (length 5) [SHA1 OpenCL AES]... (8xOMP)
Build log:
ptxas info    : 0 bytes gmem
ptxas info    : Compiling entry function 'RarHashLoop' for 'sm_30'
ptxas info    : Function properties for RarHashLoop
ptxas         .     3584 bytes stack frame, 0 bytes spill stores, 0 bytes
spill loads
ptxas info    : Used 46 registers, 344 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function 'RarFinal' for 'sm_30'
ptxas info    : Function properties for RarFinal
ptxas         .     0 bytes stack frame, 0 bytes spill stores, 0 bytes
spill loads
ptxas info    : Used 32 registers, 332 bytes cmem[0], 4 bytes cmem[2]
ptxas info    : Compiling entry function 'RarInit' for 'sm_30'
ptxas info    : Function properties for RarInit
ptxas         .     0 bytes stack frame, 0 bytes spill stores, 0 bytes
spill loads
ptxas info    : Used 8 registers, 328 bytes cmem[0]
DONE
Raw:    4278 c/s real, 4266 c/s virtual

Benchmarking: RAR5-opencl [PBKDF2-SHA256 OpenCL]... Build log:
ptxas info    : 0 bytes gmem, 936 bytes cmem[3]
ptxas info    : Compiling entry function 'pbkdf2_sha256_loop' for 'sm_30'
ptxas info    : Function properties for pbkdf2_sha256_loop
ptxas         .     24 bytes stack frame, 20 bytes spill stores, 20 bytes
spill loads
ptxas info    : Used 63 registers, 328 bytes cmem[0], 20 bytes cmem[2]
ptxas info    : Compiling entry function 'pbkdf2_sha256_kernel' for 'sm_30'
ptxas info    : Function properties for pbkdf2_sha256_kernel
ptxas         .     160 bytes stack frame, 0 bytes spill stores, 0 bytes
spill loads
ptxas info    : Used 56 registers, 332 bytes cmem[0], 20 bytes cmem[2]
ptxas info    : Function properties for hmac_sha256
ptxas         .     64 bytes stack frame, 0 bytes spill stores, 0 bytes
spill loads
DONE
Speed for cost 1 (iteration count) of 32768
Raw:    2625 c/s real, 2630 c/s virtual

Benchmarking: truecrypt-opencl, TrueCrypt AES256_XTS [RIPEMD160 OpenCL]...
(8xOMP) Build log:
ptxas info    : 0 bytes gmem
ptxas info    : Compiling entry function 'pbkdf2_ripemd160' for 'sm_30'
ptxas info    : Function properties for pbkdf2_ripemd160
ptxas         .     88 bytes stack frame, 0 bytes spill stores, 0 bytes
spill loads
ptxas info    : Used 50 registers, 332 bytes cmem[0]
DONE
Raw:    19200 c/s real, 18618 c/s virtual

Benchmarking: lotus5-opencl, Lotus Notes/Domino 5 [OpenCL]... Build log:
ptxas info    : 0 bytes gmem
ptxas info    : Compiling entry function 'lotus5' for 'sm_30'
ptxas info    : Function properties for lotus5
ptxas         .     64 bytes stack frame, 0 bytes spill stores, 0 bytes
spill loads
ptxas info    : Used 35 registers, 1028 bytes smem, 332 bytes cmem[0]
OpenCL CL_INVALID_COMMAND_QUEUE error in opencl_lotus5_fmt_plug.c:300 -
Shit hit fan
m
[/Code]

Here are some information about my system:
~/JohnTheRipper/run$ lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor PCI Express x16 Controller (rev 06)
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor
Integrated Graphics Controller (rev 06)
00:03.0 Audio device: Intel Corporation Xeon E3-1200 v3/4th Gen Core
Processor HD Audio Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB xHCI (rev 04)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series
Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB EHCI #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High
Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family
PCI Express Root Port #1 (rev d4)
00:1c.1 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family
PCI Express Root Port #2 (rev d4)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family
PCI Express Root Port #3 (rev d4)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family
PCI Express Root Port #4 (rev d4)
00:1d.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset
Family USB EHCI #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM87 Express LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset
Family 6-port SATA Controller 1 [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus
Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GK106M [GeForce GTX
770M] (rev a1)
03:00.0 PCI bridge: Texas Instruments XIO2213A/B/XIO2221 PCI Express to PCI
Bridge [Cheetah Express] (rev 01)
04:00.0 FireWire (IEEE 1394): Texas Instruments XIO2213A/B/XIO2221
IEEE-1394b OHCI Controller [Cheetah Express] (rev 01)
05:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device
5289 (rev 01)
05:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd.
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
06:00.0 Network controller: Intel Corporation Centrino Advanced-N 6235 (rev
24)

~/JohnTheRipper/run$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 8.3 (jessie)
Release:        8.3
Codename:       jessie

~/JohnTheRipper/run$ uname -a
Linux nerberd 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u4
(2016-02-29) x86_64 GNU/Linux

AMDAPPSDK is installed in version 3.0

NVidia Drivers are installed from repository:
~/JohnTheRipper/run$ dpkg -l | grep nvidia
ii  bumblebee-nvidia
3.2.1-7                               amd64        NVIDIA Optimus support
using the proprietary NVIDIA driver
ii  glx-alternative-nvidia
0.5.1                                 amd64        allows the selection of
NVIDIA as GLX provider
ii  libegl1-nvidia:amd64
340.96-1                              amd64        NVIDIA binary EGL
libraries
ii  libgl1-nvidia-glx:amd64
340.96-1                              amd64        NVIDIA binary OpenGL
libraries
ii  libgl1-nvidia-glx:i386
340.96-1                              i386         NVIDIA binary OpenGL
libraries
ii  libgl1-nvidia-glx-i386
340.96-1                              i386         NVIDIA binary OpenGL
32-bit libraries
ii  libgles1-nvidia:amd64
340.96-1                              amd64        NVIDIA binary OpenGL|ES
1.x libraries
ii  libgles2-nvidia:amd64
340.96-1                              amd64        NVIDIA binary OpenGL|ES
2.x libraries
ii  libnvidia-compiler:amd64
340.96-1                              amd64        NVIDIA runtime compiler
library
ii  libnvidia-eglcore:amd64
340.96-1                              amd64        NVIDIA binary EGL core
libraries
ii  libnvidia-ml1:amd64
340.96-1                              amd64        NVIDIA Management
Library (NVML) runtime library
ii  nvidia-alternative
340.96-1                              amd64        allows the selection of
NVIDIA as GLX provider
ii  nvidia-driver
340.96-1                              amd64        NVIDIA metapackage
ii  nvidia-driver-bin
340.96-1                              amd64        NVIDIA driver support
binaries
ii  nvidia-installer-cleanup
20141201+1                            amd64        cleanup after driver
installation with the nvidia-installer
ii  nvidia-kernel-common
20141201+1                            amd64        NVIDIA binary kernel
module support files
ii  nvidia-kernel-dkms
340.96-1                              amd64        NVIDIA binary kernel
module DKMS source
ii  nvidia-libopencl1:amd64
340.96-1                              amd64        NVIDIA OpenCL ICD Loader
library
ii  nvidia-modprobe
340.46-1                              amd64        utility to load NVIDIA
kernel modules and create device nodes
ii  nvidia-opencl-common
340.96-1                              amd64        NVIDIA OpenCL driver
ii  nvidia-opencl-dev:amd64
6.0.37-5                              amd64        NVIDIA OpenCL
development files
ii  nvidia-opencl-icd:amd64
340.96-1                              amd64        NVIDIA OpenCL
installable client driver (ICD)
ii  nvidia-settings
340.46-2                              amd64        tool for configuring the
NVIDIA graphics driver
ii  nvidia-support
20141201+1                            amd64        NVIDIA binary graphics
driver support files
ii  nvidia-vdpau-driver:amd64
340.96-1                              amd64        Video Decode and
Presentation API for Unix - NVIDIA driver
ii  xserver-xorg-video-nvidia
340.96-1                              amd64        NVIDIA binary Xorg driver


Would you please be so kind and tell me
- if you need any more system information
- what i can do to make it run :)

Thanks for your time.

Regards
Marc

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.