Revisiting the previous blog and freshly reinstalling Fedora Design Suite due to a busted boot, I look at the official guideline from AMD Driver for Red Hat Enterprise Linux 7.2 and write a way to improve the process of installing on Fedora 29 in this example.
Extracting the tarball contains the following:
Executing the command
Upon closer look, the script failed to created a temporary repository on /var/opt/amdgpu-pro-local probably explaining why amdgpu metapackage name failed to display. Someone should investigate and provide a fix. At least, we find out Fedora support is available but unofficial.
Due to its design, Gnome Software only allows one click package per installation, not by selection, so terminal remains the logical option.
Learning the new version on AMD Radeon 18.40 driver no longer needs dkms for installing OpenCL, the process is much easier without requiring kernel-devel package. The following dependencies are now:
Selecting all above dependencies overrides it and completes the installation despite a failure of a scriptlet from amdgpu-core. OpenCL now available will be automatically detected by applications like Blender, Darktable,LibreOffice and Gimp.
We learned it is possible to install AMD version of OpenCL on Fedora. We also learn it is possible to retrace the spec file using rpmrebuild -e -p command. Additionally, we also find out the open source amdpgu and the pro version can coexist.
All test done on HP Envy x360 Ryzen 2500U with integrated Vega8 using Vega56 driver for CentOS 7.5 from the official AMD website.
Extracting the tarball contains the following:
- amdgpu-install
- amdgpu-pro-install symlink to amdgpu
- doc folder
- repodata folder
- RPMS folder containing rpm package
Executing the command
./amdgpu-install -opencl=pal --headless
sadly failed on Fedora on that line:./amdgpu-install -y --opencl=pal --headless
Last metadata expiration check: 0:30:51 ago on Mon 19 Nov 2018 07:13:43 PM PST.
No match for argument: amdgpu
Upon closer look, the script failed to created a temporary repository on /var/opt/amdgpu-pro-local probably explaining why amdgpu metapackage name failed to display. Someone should investigate and provide a fix. At least, we find out Fedora support is available but unofficial.
Due to its design, Gnome Software only allows one click package per installation, not by selection, so terminal remains the logical option.
Learning the new version on AMD Radeon 18.40 driver no longer needs dkms for installing OpenCL, the process is much easier without requiring kernel-devel package. The following dependencies are now:
- amdgpu-core (core metapackage)
- amdgpu-pro-core (metapackage of amdgpu-pro)
- clinfo-amdgpu-pro
- libopencl-amdgpu-pro
- opencl-amdgpu-pro-icd
if [ $(rpm --eval 0%%{?rhel}) != "07" ] ; then
>&2 echo "ERROR: This package can only be installed on EL7."
exit 1
fi
Selecting all above dependencies overrides it and completes the installation despite a failure of a scriptlet from amdgpu-core. OpenCL now available will be automatically detected by applications like Blender, Darktable,LibreOffice and Gimp.
We learned it is possible to install AMD version of OpenCL on Fedora. We also learn it is possible to retrace the spec file using rpmrebuild -e -p command. Additionally, we also find out the open source amdpgu and the pro version can coexist.
All test done on HP Envy x360 Ryzen 2500U with integrated Vega8 using Vega56 driver for CentOS 7.5 from the official AMD website.
Comments