Ryzen 2400G and errors/wrong driver warnings/slow performance
#1
Hey everyone. So I'm running a Windows 10 on Ryzen 2400G and using the Adrenalin 20.1.3 (WHQL) drivers.


Checking another thread here (https://hashcat.net/forum/thread-7513.html), my hashcat -I feedback is a little different, hashcat will only find one device:


Code:
hashcat64.exe -I
hashcat (v5.1.0) starting...

OpenCL Info:

Platform ID #1
  Vendor  : Advanced Micro Devices, Inc.
  Name    : AMD Accelerated Parallel Processing
  Version : OpenCL 2.1 AMD-APP (3004.8)

  Device ID #1
    Type          : GPU
    Vendor ID      : 1
    Vendor        : Advanced Micro Devices, Inc.
    Name          : gfx902
    Version        : OpenCL 2.0 AMD-APP (3004.8)
    Processor(s)  : 11
    Clock          : 1251
    Memory        : 4048/7212 MB allocatable
    OpenCL Version : OpenCL C 2.0
    Driver Version : 3004.8 (PAL,HSAIL)

If I perform a benchmark test I will get some random warnings during its run, such as "adl_Overdrive_Caps(): -8" and "Device #1: ATTENTION! Open CL kernel self-test failed".

I've tried both v5.1.0 stable and v5.1.0+1755 beta, but the outcome was the same.

Any suggestions? Thanks!
Reply
#2
install the Intel CPU OpenCL Runtime from https://software.intel.com/en-us/article...pu-section

Yeah, the Intel Runtime also works for your AMD Ryzen
Reply
#3
(03-20-2020, 08:29 PM)philsmd Wrote: install the Intel CPU OpenCL Runtime from https://software.intel.com/en-us/article...pu-section

Yeah, the Intel Runtime also works for your AMD Ryzen

Oh, well.

So, I did install the Intel Runtime and now my -I returns this:

Code:
hashcat64.exe -I
hashcat (v5.1.0) starting...

OpenCL Info:

Platform ID #1
  Vendor  : Advanced Micro Devices, Inc.
  Name    : AMD Accelerated Parallel Processing
  Version : OpenCL 2.1 AMD-APP (3004.8)

  Device ID #1
    Type          : GPU
    Vendor ID      : 1
    Vendor        : Advanced Micro Devices, Inc.
    Name          : gfx902
    Version        : OpenCL 2.0 AMD-APP (3004.8)
    Processor(s)  : 11
    Clock          : 1251
    Memory        : 4048/7212 MB allocatable
    OpenCL Version : OpenCL C 2.0
    Driver Version : 3004.8 (PAL,HSAIL)

Platform ID #2
  Vendor  : Intel(R) Corporation
  Name    : Intel(R) CPU Runtime for OpenCL(TM) Applications
  Version : OpenCL 2.1 WINDOWS

  Device ID #2
    Type          : CPU
    Vendor ID      : 8
    Vendor        : Intel(R) Corporation
    Name          : AMD Ryzen 5 2400G with Radeon Vega Graphics
    Version        : OpenCL 2.1 (Build 0)
    Processor(s)  : 8
    Clock          : 0
    Memory        : 3571/14284 MB allocatable
    OpenCL Version : OpenCL C 2.0
    Driver Version : 18.1.0.0920

But unfortunately, when trying to run a benchmark I'll still get the same errors and the bench run will freeze the system after 5 mins or so.

I'm really lost here Sad
Reply
#4
try with your CPU Only (for testing purposes) with

hashcat -m 2500 -D 1 -b


what hash type are you talking about ? WPA or -m 15900 (DPAPI v2)
Reply
#5
(03-21-2020, 08:10 PM)philsmd Wrote: try with your CPU Only (for testing purposes) with

hashcat -m 2500 -D 1 -b


what hash type are you talking about ? WPA or -m 15900 (DPAPI v2)

stable:

Code:
hashcat64.exe -m 2500 -D 1 -b
hashcat (v5.1.0) starting in benchmark mode...

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

OpenCL Platform #1: Advanced Micro Devices, Inc.
================================================
* Device #1: gfx902, skipped.

OpenCL Platform #2: Intel(R) Corporation
========================================
* Device #2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 3571/14284 MB allocatable, 8MCU

Benchmark relevant options:
===========================
* --opencl-device-types=1
* --optimized-kernel-enable

Hashmode: 2500 - WPA-EAPOL-PBKDF2 (Iterations: 4096)

Speed.#2.........:    6630 H/s (76.87ms) @ Accel:1024 Loops:256 Thr:1 Vec:8

Started: Sun Mar 22 17:31:18 2020
Stopped: Sun Mar 22 17:31:23 2020

beta:

Code:
hashcat.exe -m 2500 -D 1 -b
hashcat (v5.1.0-1755-gddb641b8) starting in benchmark mode...

Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.

./OpenCL/m02500-optimized.cl: Optimized kernel requested but not needed - falling back to pure kernel
OpenCL API (OpenCL 2.1 AMD-APP (3004.8)) - Platform #1 [Advanced Micro Devices, Inc.]
=====================================================================================
* Device #1: gfx902, skipped

OpenCL API (OpenCL 2.1 WINDOWS) - Platform #2 [Intel(R) Corporation]
====================================================================
* Device #2: AMD Ryzen 5 2400G with Radeon Vega Graphics, 14220/14284 MB (3571 MB allocatable), 8MCU

Benchmark relevant options:
===========================
* --opencl-device-types=1
* --optimized-kernel-enable

Hashmode: 2500 - WPA-EAPOL-PBKDF2 (Iterations: 4095)

Speed.#2.........:    7267 H/s (70.21ms) @ Accel:1024 Loops:256 Thr:1 Vec:8

Started: Sun Mar 22 18:00:23 2020
Stopped: Sun Mar 22 18:00:39 2020

I'm actually going to use for md5 hashes, as part of a college paper. But since I want to go as far as possible in passwords length, the performance issue would have a big impact.
Reply
#6
What performance issue are you talking about? 7 kH/s seems ok for your CPU.
Reply