Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 22 Jan 2024 18:10:17 +0100
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: Using OpenCL with Radeon RX 6800 XT on Linux

On Mon, Jan 22, 2024 at 01:42:09PM +0900, SHINODA, Daisuke wrote:
> I would like to use John The Ripper using OpenCL with Radeon RX 6800 XT 
> on Linux. But I cannot.
> 
> [CPU] AMD Ryzen 9 3900
> [GPU] AMD Radeon RX 6800 XT
> [OS] Linux Mint 21.2 Cinnamon 64 bit
> [GPU Driver] amdgpu-install_5.7.50702-1_all.deb
> 
> I have compiled John The Ripper like the following.

Are you using our latest off GitHub?

> $ ./john --format=ZIP-opencl --test
> No OpenCL devices found

> I have checked if OpenCL is working like the following.
> 
> $ clinfo
> Number of platforms:				 1
>   Platform Profile:				 FULL_PROFILE
>   Platform Version:				 OpenCL 2.1 AMD-APP (3590.0)
>   Platform Name:				 AMD Accelerated Parallel 
>   Processing
>   Platform Vendor:				 Advanced Micro Devices, Inc.
>   Platform Extensions:				 cl_khr_icd 
>   cl_amd_event_callback
> 
> 
>   Platform Name:				 AMD Accelerated Parallel 
>   Processing
> Number of devices:				 0
> $

You have found out that OpenCL is _not_ working - you have 0 devices
there, including when probing via clinfo.  So the problem is not
limited to John the Ripper.

I don't know what exactly it is, but maybe you're missing an ICD file
for the "driver" under /etc/OpenCL/vendors - but I guess the package was
supposed to provide it?  Also, since /opt/rocm-5.7.2 and its
subdirectories are not normally on the system's library search paths,
you might need "export LD_LIBRARY_PATH=/opt/rocm-5.7.2/lib" or such.
These are just some guesses, which could as well be wrong.

Hopefully someone else who tried specifically
amdgpu-install_5.7.50702-1_all.deb or similar could provide more
specific advice.

Alexander

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.