Posts by jlavi

1) Message boards : GPUs : [Linux] Trick to use AMDGPU-Pro OpenCL capabilities without installing the whole propertary driver stack (Message 76566)
Posted 21 Mar 2017 by jlavi
Post:
├── libdrm_amdgpu.so.1

libdrm_amdgpu.so.1 should be a symbolic link pointing to libdrm_amdgpu.so.1.0.0 instead of regular file. Well, a beauty and style issue, both ways work. When copying with cp alone without d/a option, the link was copied as a file. The missing link was the reason for segfaults.

I have RX480. I've tested clinfo both distribution version (clinfo -l is nice) and AMD's version, cl-demo (from OpenCLHowto), MemtestCL, Darktable ("darktable -d opencl" is very informing), Boinc command line version and Hashcat (hashcat -I is good) and they all work with OpenCL. Agisoft Photoscan also works after editing its startup script so that LD_LIBRARY_PATH is not written over.

With MemtestCL I got random block errors with 16.40 but no errors with 16.60. These errors have been seen in the past and it was then a synchronization bug in memtestCL which was fixed in 2012 by adding a barrier. Possibly the 16.40 had buggy barrier implementation.
2) Message boards : GPUs : [Linux] Trick to use AMDGPU-Pro OpenCL capabilities without installing the whole propertary driver stack (Message 76526)
Posted 18 Mar 2017 by jlavi
Post:
Got it working, I guess. At least it doesn't crash and clinfo is reporting sensible data. I copied steps from install script here: https://aur.archlinux.org/packages/opencl-amd/

And my tree loks like:
/opt/amdgpu-pro/
└── lib64
├── libamdocl12cl64.so
├── libamdocl64.so
├── libdrm_amdgpu.so.1
└── libdrm_amdgpu.so.1.0.0
3) Message boards : GPUs : [Linux] Trick to use AMDGPU-Pro OpenCL capabilities without installing the whole propertary driver stack (Message 76524)
Posted 18 Mar 2017 by jlavi
Post:
Germano, could you please show the output from 'tree /opt/amdgpu-pro'?

Tried to follow the recipe and darktable crashes before it even gets started. Obviously something is wrong in my setup. I am using amdgpu-pro-16.60-379184 with RX 480.




Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.