CalculatešŸ§Forum

Amdgpu-pro Opencl Installation

#1

Just made a fresh install of Calculate Linux. Trying to install the dev-libs/amdgpu-pro-opencl 18.20 package, using the flags abi_x86_64 and accepting the amd64 keywords, i get

000270 *** process completed ***
000271 *** ACCEPT_KEYWORDS='~amd64' emerge --nospinner =dev-libs/amdgpu-pro-opencl-18.20.684755 ***
000272 
000273 Local copy of remote index is up-to-date and will be used.
000274 
000275  * IMPORTANT: 10 news items need reading for repository 'gentoo'.
000276  * Use eselect news read to view new items.
000277 
000278 Calculating dependencies  ... done!
000279 >>> Verifying ebuild manifests
000280 >>> Emerging (1 of 1) dev-libs/amdgpu-pro-opencl-18.20.684755::gentoo
000281 >> Failed to emerge dev-libs/amdgpu-pro-opencl-18.20.684755, Log file:
000282 >>>  '/var/calculate/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.684755/temp/build.log'
000283 >>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.85, 4.35, 6.84
000284 
000285 !!! dev-libs/amdgpu-pro-opencl-18.20.684755 has fetch restriction turned on.
000286 !!! This probably means that this ebuild's files must be downloaded
000287 !!! manually.  See the comments in the ebuild for more information.
000288 
000289  * Fetch failed for 'dev-libs/amdgpu-pro-opencl-18.20.684755', Log file:
000290  *  '/var/calculate/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.684755/temp/build.log'
000291  * Package:    dev-libs/amdgpu-pro-opencl-18.20.684755
000292  * Repository: gentoo
000293  * Maintainer: marecki@gentoo.org
000294  * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU
000295  * FEATURES:   network-sandbox preserve-libs sandbox usersandbox
000296  * Please download the Radeon Software for Linux Driver 18.20 for Ubuntu 16 from
000297  *     https://support.amd.com/en-us/kb-articles/Pages/Radeon-Software-for-Linux-Release-Notes.aspx
000298  * The archive should then be placed into your distfiles directory.
000299 
000300  * Messages for package dev-libs/amdgpu-pro-opencl-18.20.684755:
000301 
000302  * Fetch failed for 'dev-libs/amdgpu-pro-opencl-18.20.684755', Log file:
000303  *  '/var/calculate/tmp/portage/dev-libs/amdgpu-pro-opencl-18.20.684755/temp/build.log'
000304 *** process completed ***

I have a RX580, need the proprietary opencl drivers for Blender. Iā€™m installing the packages via porthole.

#2

You should download the driver archive yourself from the site by agreeing to the license.
Copy the archive to directory /var/calculate/remote/distfiles/

#3

The Drivers are only available through RPMS or deb files. How can i compile them on calculate?

#4

However, Portage can install such packages if there is no other alternative:

wget https://www2.ati.com/drivers/linux/amdgpu-pro-18.20-684755-ubuntu-16.04.tar.xz -P /var/calculate/remote/distfiles
emerge -av dev-libs/amdgpu-pro-opencl
Mastodon Mastodon