cancel
Showing results for 
Search instead for 
Did you mean: 

Drivers & Software

daniel-qtec
Adept I

libamdocl64.so shrinked

Hi,

 

I've noticed in the latest amdgpu-pro-20.45 version, that the libamdocl64.so is way smaller than the version 20.20. What happened?

*  Downloaded file: amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz

$ md5sum amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz
cc3a6853bd49f5becea591a8e3664d17 amdgpu-pro-20.45-1188099-ubuntu-20.04.tar.xz

*  amdgpu-pro-20.20 version:

root@qt5222:~# md5sum /usr/lib/libamdocl64.so
faa913f58daaeaedd86cf19c1e4eee10 /usr/lib/libamdocl64.so

root@qt5222:~# ls -lht /usr/lib/libamdocl64.so
-rwxr-xr-x 1 root root 90M Jan 28 15:36 /usr/lib/libamdocl64.so

*  amdgpu-pro-20.45 version:

root@qt5222:~# md5sum /usr/lib/libamdocl64.so
441633253f1fc89e709793b129105a30 /usr/lib/libamdocl64.so

root@qt5222:~# ls -lht /usr/lib/libamdocl64.so
-rwxr-xr-x 1 root root 1.2M Jan 28 15:36 /usr/lib/libamdocl64.so

 

Should I use another instead?

Perhaps libamdocl-orca64.so?

Thanks!

Tags (1)
0 Kudos
6 Replies
daniel-qtec
Adept I

Re: libamdocl64.so shrinked

Info about the hardware:

* CPU: AMD Ryzen Embedded V1605B with Radeon Vega Gfx (8) @ 2.000GHz


* lspci:

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev 83)
DeviceName: Broadcom 5762
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
Kernel driver in use: amdgpu
Kernel modules: amdgpu

 

* glmark2

root@qt5222:~# DISPLAY=:0 glmark2-es2
=======================================================
glmark2 2020.04
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: AMD Ryzen Embedded V1605B with Radeon Vega Gfx (RAVEN, DRM 3.40.0, 5.11.0-rc5-qtec-standard, LLVM 9.0.1)
GL_VERSION: OpenGL ES 3.2 Mesa 20.2.6 (git-8346d1d7b8)
=======================================================

 

0 Kudos
elstaci
MVP

Re: libamdocl64.so shrinked

I am a little confused by the AMDGPU version 20.45.

I went to AMD Download page for Embedded AMD Drivers and there are two AMD Drivers: https://www.amd.com/en/support/embedded/amd-ryzen-embedded-v-series-processors/v-series-v1000-radeon...

One for Windows 10 Revision Number 20.45.01.05

One for Linux AMDGPU Pro Revision Number 2020.40.1893.

 

Screenshot 2021-01-28 123119.png

So you either downloaded the wrong Embedded AMD Driver or you downloaded your AMDGPU Pro driver from somewhere else that seems to be newer or you made a typo when you posted your driver version.

But if you still are unsure of yourself I suggest you open an Online AMD Service Request (Official AMD SUPPORT) and they will have an Embedded expert help you out from here: https://www.amd.com/en/support/contact-email-form

0 Kudos
daniel-qtec
Adept I

Re: libamdocl64.so shrinked

Thanks for your reply @elstaci .

I've downloaded the package from here:

* Link: https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-45

* option: Radeon™ Software for Linux® version 20.45 for Ubuntu 20.04.1

Previous to this version, I had this 20.20 running:

https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-20-20

Also, previous to the 20.20 I had the 19.20, 18.30...

> One for Linux AMDGPU Pro Revision Number 2020.40.1893.

That package revison number points to the official versions for the kernel LTS + mesa, libva, llvm... Right now, I'm using kernel mainline 5.11.0-rc5 which includes the latest amdgpu driver. Also I'm using the latest linux-firmware which includes support for the 20.45 version:

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/log/

Downloading above Radeon™ Software for Linux® version 20.45 & 20.20 is where I found the difference of sizes for libamdocl64.so.

Do you know if I have to change the icd loader to point to another library? or perhaps the package is corrupted?

0 Kudos
elstaci
MVP

Re: libamdocl64.so shrinked

You got me, so I suggest you open a AMD Service request and ask them directly.

The driver I posted was from AMD Download page for Embedded AMD Processors like yours. Either it hasn't be updated yet or that newer AMDGPU Pro driver is not compatible with Embedded AMD processors: https://www.amd.com/en/support

Screenshot 2021-01-28 152114.png

The Linux version I posted in the image states specifically that it is compatible with the v1000 embedded processors. while the release notes for the link in the newer version doesn't mention anything about being compatible with embedded processors.

Screenshot 2021-01-28 151837.png

Not sure if that means that it isn't compatible. just saying that it isn't listed under compatible AMD products.

AMD Support will have an Embedded specialist help you out when you contact them.

Or maybe someone else experienced with AMDGPU Pro new version can reply.

0 Kudos
daniel-qtec
Adept I

Re: libamdocl64.so shrinked

Thanks @elstaci for the reply 🙂

> Not sure if that means that it isn't compatible. just saying that it isn't listed under compatible AMD products.

I've also notice that. Supported platforms are: AMD Radeon™ RX Vega Series Graphics & AMD Radeon™ Vega Frontier Edition.

The hardware I'm using: 

AMD Ryzen Embedded V1605B with Radeon Vega Gfx (8) @ 2.000GHz

03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev 83)
DeviceName: Broadcom 5762
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series]
Kernel driver in use: amdgpu
Kernel modules: amdgpu

 

But I was using previously the 20.20 version successfully (and older) so, I don't think there is an error by using that package.

 

> AMD Support will have an Embedded specialist help you out when you contact them.

> Or maybe someone else experienced with AMDGPU Pro new version can reply.

I'll try to contact AMD through the embedded support link you've provided.

 

 

 

daniel-qtec
Adept I

Re: libamdocl64.so

Ignoring the reason why this library got shrunk... I went ahead and install the full Radeon for Linux package 20.45-1164792. But when I run clinfo I get the following error:

openat(AT_FDCWD, "/usr/lib/libamdoclsc64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

But I cannot find the libamdoclsc64.so in the Radeon for Linux package (20.45-1164792). Any idea where to locate it?

Thanks

 

strace context:

close(7) = 0
munmap(0x7faf965d6000, 53960) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=19195, ...}) = 0
mmap(NULL, 19195, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7faf96b57000
close(7) = 0
openat(AT_FDCWD, "/lib/amdoclsc64", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/amdoclsc64", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
munmap(0x7faf96b57000, 19195) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 7
fstat(7, {st_mode=S_IFREG|0644, st_size=19195, ...}) = 0
mmap(NULL, 19195, PROT_READ, MAP_PRIVATE, 7, 0) = 0x7faf96b57000
close(7) = 0
openat(AT_FDCWD, "/lib/libamdoclsc64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib/libamdoclsc64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
munmap(0x7faf96b57000, 19195) = 0
openat(AT_FDCWD, "./amdoclsc64", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "./libamdoclsc64.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
munmap(0x7faf892c5000, 88848472) = 0
futex(0x7faf9695a9c0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
close(4) = 0
getdents64(3, 0x55dcf50742d0 /* 0 entries */, 32768) = 0
close(3) = 0
futex(0x7faf96b54018, FUTEX_WAKE_PRIVATE, 2147483647) = 0
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0), ...}) = 0

 

Full strace clinfo output: https://pastebin.com/raw/5Q2jK94Y

0 Kudos