Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <16d5ca49e37.100e61c1a224330.5429019416442405787@loudiron.com>
Date: Mon, 23 Sep 2019 08:42:35 +0300
From: Xosted <xosted@...diron.com>
To: <john-users@...ts.openwall.com>
Subject: Re:John doesn't detect my second graphics card

Hello,


For some reason, when I switched my screens from one graphics card to the other, John was able to detect the new one.


The question left is if I can restore a task to use both devices and how?

Thank you
Regards


---- On Mon, 23 Sep 2019 00:12:28 +0300 xosted@...diron.com wrote ----


Hello,



I have installed John on a AMD box running Ubuntu 18.10 and configured it to use OpenCL.

All this works fine.



I added a second graphics card to the system by plugging it in. It is detected by the system as shown here:

lspci -k | grep VGA
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Baffin [Radeon RX 460/560D / Pro 450/455/460/555/560] (rev cf)

06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] (rev e7)


However John doesn't seem to see it:

./john --list=opencl-devices
Platform #0 name: AMD Accelerated Parallel Processing, version: OpenCL 2.1 AMD-APP (2766.4)

    Device #0 (1) name:     Baffin

    Board name:             AMD Radeon (TM) RX 460 Graphics

    Device vendor:          Advanced Micro Devices, Inc.

    Device type:            GPU (LE)

    Device version:         OpenCL 1.2 AMD-APP (2766.4)

    Driver version:         2766.4 - AMDGPU-Pro  

    Native vector widths:   char 4, short 2, int 1, long 1

    Preferred vector width: char 4, short 2, int 1, long 1

    Global Memory:          843 MB

    Global Memory Cache:    16 KB

    Local Memory:           32 KB (Local)

    Constant Buffer size:   616 MB

    Max memory alloc. size: 616 MB

    Max clock (MHz):        1224

    Profiling timer res.:   1 ns

    Max Work Group Size:    256

    Parallel compute cores: 14

    Stream processors:      896  (14 x 64)

    Speed index:            1096704

    SIMD width:             16

    Wavefront width:        64

    PCI device topology:    01:00.0



Platform #1 name: Portable Computing Language, version: OpenCL 1.2 pocl 1.1 None+Asserts, LLVM 6.0.0, SPIR, SLEEF, DISTRO, POCL_DEBUG

    Device #0 (2) name:     pthread-AMD FX-8370E Eight-Core Processor

    Device vendor:          AuthenticAMD

    Device type:            CPU (LE)

    Device version:         OpenCL 1.2 pocl HSTR: pthread-x86_64-pc-linux-gnu-bdver1

    Driver version:         1.1 

    Native vector widths:   char 16, short 16, int 8, long 4

    Preferred vector width: char 16, short 16, int 8, long 4

    Global Memory:          30019 MB

    Global Memory Cache:    2 MB

    Local Memory:           1 MB (Global)

    Constant Buffer size:   1 MB

    Max memory alloc. size: 8 GB

    Max clock (MHz):        2135

    Profiling timer res.:   1 ns

    Max Work Group Size:    4096

    Parallel compute cores: 8

    Speed index:            68320


What could be the reason? I tried recompiling John but it did not fix it.



Additionally, I have a long time running task which I have used a session for. Will I be able to restore the session for it to use both devices? Will I be forced to restart from scratch?



Regards

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.