Hi,
so I gave it another go trying to use the closed source opencl stack and failed again, I just don't see what I'm doing wrong.
First, my distribution is Exherbo, so not exactly officially supported, but in principle, it should work, I think.
Second, my kernel (4.16) is self-compiled, with the following config (excerpt):
mesa is 18.0.2 (for the moment) and ddx is xf86-video-amdgpu 18.0.1. llvm (does it matter for orca?) is 5.0.1.
APU is a Kaveri:
Now I downloaded the Ubuntu version and had a look at the deb files and their deps.
Turns out, I need the contents of these files:
Extracted them and did end up with this file list:
Looks about right to me, those two libs don't have any other amdgpu-related link-time deps afaics.
Added /opt/amdgpu-pro/bin to PATH and /opt/amdgpu-pro/lib/x86_64-linux-gnu to LDPATH and wanted to see if it works, so I run clinfo (doesn't matter if as root or normal user):
Am I doing something wrong? :/
so I gave it another go trying to use the closed source opencl stack and failed again, I just don't see what I'm doing wrong.
First, my distribution is Exherbo, so not exactly officially supported, but in principle, it should work, I think.
Second, my kernel (4.16) is self-compiled, with the following config (excerpt):
Code:
# CONFIG_DRM_RADEON is not set CONFIG_DRM_AMDGPU=y # CONFIG_DRM_AMDGPU_SI is not set CONFIG_DRM_AMDGPU_CIK=y # CONFIG_DRM_AMDGPU_USERPTR is not set # CONFIG_DRM_AMDGPU_GART_DEBUGFS is not set # # ACP (Audio CoProcessor) Configuration # CONFIG_DRM_AMD_ACP=y # # Display Engine Configuration # # CONFIG_DRM_AMD_DC is not set CONFIG_DRM_AMD_DC_PRE_VEGA=y
APU is a Kaveri:
Code:
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R7 Graphics] (prog-if 00 [VGA controller]) Subsystem: ASRock Incorporation Kaveri [Radeon R7 Graphics] Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 29 Region 0: Memory at c0000000 (64-bit, prefetchable) [size=256M] Region 2: Memory at d0000000 (64-bit, prefetchable) [size=8M] Region 4: I/O ports at f000 [size=256] Region 5: Memory at feb00000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: amdgpu
Turns out, I need the contents of these files:
Code:
amdgpu-core_18.10-572953_all.deb amdgpu-pro-core_18.10-572953_all.deb clinfo-amdgpu-pro_18.10-572953_amd64.deb opencl-orca-amdgpu-pro-icd_18.10-572953_amd64.deb
Code:
/opt /opt/amdgpu-pro /opt/amdgpu-pro/bin /opt/amdgpu-pro/bin/clinfo /opt/amdgpu-pro/lib /opt/amdgpu-pro/lib/x86_64-linux-gnu /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl-orca64.so /opt/amdgpu-pro/lib/x86_64-linux-gnu/libamdocl12cl64.so /etc /etc/OpenCL /etc/OpenCL/vendors /etc/OpenCL/vendors/amdocl-orca64.icd
Added /opt/amdgpu-pro/bin to PATH and /opt/amdgpu-pro/lib/x86_64-linux-gnu to LDPATH and wanted to see if it works, so I run clinfo (doesn't matter if as root or normal user):
Code:
clinfo zsh: segmentation fault (core dumped) clinfo
Comment