Claymore-Dual-Miner icon indicating copy to clipboard operation
Claymore-Dual-Miner copied to clipboard

Amd ADL library not found

Open riodda opened this issue 7 years ago • 26 comments

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

riodda avatar Nov 12 '17 10:11 riodda

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

jojoCoWorker avatar Nov 20 '17 15:11 jojoCoWorker

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

zzantares avatar Nov 27 '17 18:11 zzantares

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

zmcartor avatar Dec 16 '17 07:12 zmcartor

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.

theneverafter avatar Dec 29 '17 06:12 theneverafter

Is there a workaround this?

vtodo avatar Jan 01 '18 15:01 vtodo

Still an issue for me. Any ideas?

alichaudry avatar Jan 19 '18 02:01 alichaudry

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

alxcancado avatar Feb 10 '18 16:02 alxcancado

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

Ben-and-Ellen avatar Mar 07 '18 20:03 Ben-and-Ellen

any solution ?

chiefddj avatar Mar 25 '18 23:03 chiefddj

dont over clock may sort it

stevebills avatar May 07 '18 19:05 stevebills

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 avatar May 15 '18 01:05 DemonRx

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 avatar May 15 '18 02:05 DemonRx

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/

DemonRx avatar May 15 '18 03:05 DemonRx

Hey DemonKingx

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

trace86 avatar Aug 05 '18 06:08 trace86

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

DemonRx avatar Aug 05 '18 10:08 DemonRx

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

MoneroCrusher avatar Aug 07 '18 00:08 MoneroCrusher

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

DemonRx avatar Aug 07 '18 01:08 DemonRx

@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

trace86 avatar Aug 07 '18 04:08 trace86

@trace86 what folder are you running the code from ?

DemonRx avatar Aug 07 '18 04:08 DemonRx

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

DemonRx avatar Aug 07 '18 04:08 DemonRx

@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} ?

trace86 avatar Aug 07 '18 04:08 trace86

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.

DemonRx avatar Aug 07 '18 05:08 DemonRx

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 avatar Aug 07 '18 05:08 trace86

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 avatar Aug 07 '18 05:08 trace86

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

trace86 avatar Aug 07 '18 05:08 trace86

@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 :)

DemonRx avatar Aug 07 '18 05:08 DemonRx