Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 25 Sep 2020 10:04:52 +0100
From: James Haigh <>
Subject: Re: Fwd: John not detecting AMD OpenCL devices on Ubuntu 20

Hi Alexander,

This worked a treat - hadn't realised that these were not part of the AMD &
OpenCL packages I had installed. I think it would be really useful if you
could add something about this requirement into the OpenCL page in the docs
for other's reference in future.

Many thanks,


On Thu, 24 Sep 2020 at 16:32, Solar Designer <> wrote:

> Hi James,
> On Thu, Sep 24, 2020 at 03:23:11PM +0100, James Haigh wrote:
> > Hoping someone might be able to help with this. Bit of a Linux amateur
> here
> > but I've set myself up a new Ubuntu install and want to get John working
> on
> > it with my AMD CPU (Ryzen 5) and GPU (RX570). Both devices support OpenCL
> > and after a lot of hassle I got them both installed within the default
> > directory at */opt/* (pastebin <>).
> >
> > When I run the *./configure* script in John's */src/* folder, it runs
> > through all the checks and outputs the list of optional features in which
> > OpenCL is not enabled (pastebin <>). Both
> > *Hashcat* and *clinfo* detect both of the devices (pastebin
> > <>), but John simply will not.
> It looks like you need this:
> sudo apt-get -y install opencl-headers
> hashcat bundles OpenCL headers with itself, whereas John currently
> expects them from the system.
> Does this help?
> > I've tried setting the 'ATISTREAMSDKROOT' environment variable, providing
> > LD & CFLAGS to the configure script, reinstallation of my openCL packages
> > (plus several hours of Googling/hoping SUDO might fix things) but nothing
> > has worked as of yet.
> Please don't override CFLAGS.  When you do, you most likely end up
> dropping our optimization flags, resulting in inefficient CPU usage.
> Please use CPPFLAGS instead.
> 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.