Skip to content
This repository has been archived by the owner on May 18, 2023. It is now read-only.

Amd ADL library not found #139

Open
riodda opened this issue Nov 12, 2017 · 26 comments
Open

Amd ADL library not found #139

riodda opened this issue Nov 12, 2017 · 26 comments

Comments

@riodda
Copy link

riodda commented Nov 12, 2017

Would be great to have a couple of tips in how to install the AMD ADL library

@jojoCoWorker
Copy link

I'm looking for answers too.... ;-)

@zzantares
Copy link

Hi @riodda did you managed to solve it? I'm experiencing the same problem here 😩

@zmcartor
Copy link

Also see same message. Launched w -asm 0 option , single mining ETH. Any help appreciated!

@theneverafter
Copy link

Getting the same message. As far as I know, this means that you are using a video card driver that doesn't include the AMD ADL library. I'm on Linux using the AMDGPU-PRO Beta Mining Driver 17.40, and that doesn't include ADL. After doing some searching, it appears that this means mining will function correctly, but Claymore can't control your settings (like overclocking) for you.

My next step here is to uninstall the AMDGPU-PRO beta driver and install the standard AMDGPU driver which does include ADL. That should give Claymore what it needs to manage overclocking.

Ideally, if Claymore would update and patch in the ADL for AMDGPU-PRO drivers, that would be the best solution for the future.

@vtodo
Copy link

vtodo commented Jan 1, 2018

Is there a workaround this?

@alichaudry
Copy link

Still an issue for me. Any ideas?

@alxcancado
Copy link

Me too! What to do? I'm on Linux, ethOS (Ubuntu)

@Ben-and-Ellen
Copy link

Tried AMD drivers 17.40 and 17.50, both report that
"AMD ADL library not found"

@chiefddj
Copy link

any solution ?

@stevebills
Copy link

dont over clock may sort it

@DemonRx
Copy link

DemonRx commented May 15, 2018

I'm looking for the ADL files as well, I just found today AMGPU-PRO 18.10 : https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx

https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-18.10-572953.tar.xz ( For Ubuntu 16.04.4 )

Anybody tested it?

@DemonRx
Copy link

DemonRx commented May 15, 2018

Looks like they included the header files (from AMD_SDK). just have to do sudo apt -f install opencl-amdgpu-{pro,pro-dev}
after you've installed the amdgpu-pro package: sudo ./amdgpu-pro-install

Afterwards, add this line for the configure script* to point to the necessary files:

CFLAGS="-O2 -Wall -march=native -I /opt/amdgpu-pro/include/" LDFLAGS="-L/opt/amdgpu-pro/lib/x86_64-linux-gnu" ./configure

@DemonRx
Copy link

DemonRx commented May 15, 2018

I placed the ADL files in a zip for ppl that need it:

https://mega.nz/#!8x4B2Ira!kOyy9ZrcvYAIaSp4iIknXxUoDnuqIBnp64KRxyndC9E

Included files:

adl_defines.h adl_sdk.h adl_structures.h readme.txt

Also found download available on sourceforge, versions available 8, 9, 10: https://sourceforge.net/projects/nicehashsgminerv5viptools/files/AMD%20Display%20Library%20%28ADL%29%20SDK/

@trace86
Copy link

trace86 commented Aug 5, 2018

Hey DemonKingx

I've followed your guide but dunno where the configure script is, can you point me to the right direction?

@DemonRx
Copy link

DemonRx commented Aug 5, 2018

Hi @trace86, could you be more specific the steps you took and more exactly what it is you were trying to do.

@MoneroCrusher
Copy link

@D3m0nKingx I think this is a general problem with the 17.40 driver. in which path are we supposed to put these ADL files?

@DemonRx
Copy link

DemonRx commented Aug 7, 2018

The ADL files are for when actually compiling the miner software.

Such as when compiling cgminer you would place the files in cgminer-3.7.2-kalroth/ADL_SDK folder then run
CFLAGS="-O2 -Wall -march=native -I /opt/amdgpu-pro/include/" LDFLAGS="-L/opt/amdgpu-pro/lib/x86_64-linux-gnu" ./configure command within cgminer-3.7.2-kalroth folder.

AFTER having installed the amdgpu pro drivers (https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx) Latest release is now v18.20 driver support for Ubuntu 16 and 18.

However with Claymore-Dual-Miner I don't actually even see a downloadable source code to actually compile the software locally ??? @MoneroCrusher

@trace86
Copy link

trace86 commented Aug 7, 2018

@D3m0nKingx I was trying to run this code but returned this

CFLAGS="-O2 -Wall -march=native -I /opt/amdgpu-pro/include/" LDFLAGS="-L/opt/amdgpu-pro/lib/x86_64-linux-gnu" ./configure
-bash: ./configure: No such file or directory

I've used apt-install to insall the headers (Looks like they included the header files (from AMD_SDK). just have to do sudo apt -f install opencl-amdgpu-{pro,pro-dev}) and I'm using Claymore currently. That's why i'm wondering where the configuration files would be installed

@DemonRx
Copy link

DemonRx commented Aug 7, 2018

@trace86 what folder are you running the code from ?

@DemonRx
Copy link

DemonRx commented Aug 7, 2018

Please note the AMD ADL library is not part of the amdgpu drivers package, this is a separate library ! Which I've uploaded https://mega.nz/#!8x4B2Ira!kOyy9ZrcvYAIaSp4iIknXxUoDnuqIBnp64KRxyndC9E and you can also get from sourceforge (https://sourceforge.net/projects/nicehashsgminerv5viptools/files/AMD%20Display%20Library%20%28ADL%29%20SDK/) v10.2

However, could you please provide me the exact error output you're getting from running the miner ? is this on windows or linux ? @trace86

@trace86
Copy link

trace86 commented Aug 7, 2018

@D3m0nKingx This is linux. I must've misunderstood then, this means I need to download the library into the miners folder, and then unzip it, and then execute sudo apt -f install opencl-amdgpu-{pro,pro-dev} ?

@DemonRx
Copy link

DemonRx commented Aug 7, 2018

This is linux. I must've misunderstood then, this means I need to download the library into the miners folder, and then unzip it, and then execute sudo apt -f install opencl-amdgpu-{pro,pro-dev} ?

Right the library goes into the miner's folder. Can you provide me a link to the actual source code to compile that you're using ?

For the amdgpu-pro drivers installation you just need to do sudo ./amdgpu-pro-install --headless --opencl=legacy,pal from within the amdgpu-pro folder you downloaded/extracted.

@trace86
Copy link

trace86 commented Aug 7, 2018

i've used the amdgpu-pro drivers from the official website here
https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx

sudo ./amdgpu-pro-install --opencl=pal

and then i've download the claymore from here
https://github.com/nanopool/Claymore-Dual-Miner/releases

That's basically it

@trace86
Copy link

trace86 commented Aug 7, 2018

This is the error message

AMD Cards available: 5
GPU #0: gfx900 (Radeon RX Vega), 8176 MB available, 64 compute units (pci bus 5:0:0)
GPU #0 recognized as Vega
GPU #1: gfx900 (Radeon RX Vega), 8176 MB available, 64 compute units (pci bus 8:0:0)
GPU #1 recognized as Vega
GPU #2: gfx900 (Radeon RX Vega), 8176 MB available, 64 compute units (pci bus 13:0:0)
GPU #2 recognized as Vega
GPU #3: gfx900 (Radeon RX Vega), 8176 MB available, 64 compute units (pci bus 16:0:0)
GPU #3 recognized as Vega
GPU #4: gfx900 (Radeon RX Vega), 8176 MB available, 56 compute units (pci bus 20:0:0)
GPU #4 recognized as Vega
POOL/SOLO version
AMD ADL library not found.
GPU #0: algorithm ASM 1

@trace86
Copy link

trace86 commented Aug 7, 2018

Yup, still giving me the same error, i've already placed the folder inside claymore forlder as claymore/ADL_SDK

~/mining/claymore$ CFLAGS="-O2 -Wall -march=native -I /opt/amdgpu-pro/include/" LDFLAGS="-L/opt/amdgpu-pro/lib/x86_64-linux-gnu" ./configure
-bash: ./configure: No such file or directory

I don't see a configure file to run though within the miner

@DemonRx
Copy link

DemonRx commented Aug 7, 2018

@trace86 @MoneroCrusher Ok so I did a strace on the miner and this is the output:

open("/lib/x86_64-linux-gnu/libatiadlxx.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libatiadlxx.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/lib/libatiadlxx.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
open("/usr/lib/libatiadlxx.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
munmap(0x7f6567dda000, 146284)          = 0
write(1, "\33[0mAMD ADL library not found.\n", 31) = 31

It's not what we thought lol, it's different set of files it's searching, but good news it's irrelevant as those files are only necessary specifically to Linux Fedora Distribution. (see, https://www.rpmfind.net/linux/RPM/rpmfusion/nonfree/fedora/updates/21/i386/xorg-x11-drv-catalyst-libs-15.9-1.fc21.i686.html )

Issue is resolved ! The miner is operating just as it should, the error can be ignored for Ubuntu :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests