Contents
Note
There are many libraries provided by this package that have the same name and serve the same purpose. The info below covers the unique libraries. Check the “Contents” section of either libglvnd-1.7.0 and/or Mesa-24.2.5.
The AMDGPU PRO proprietary driver contains userland drivers and libraries, providing hardware acceleration encoding, EGL, OpenGL, GLES, and Vulkan support.
Xorg Libraries, GPU Kernel Options and Firmware, and Wget-1.24.5 (for getting the .deb files in the installation instructions)
libglvnd-1.7.0, Vulkan-Loader-1.3.300, and Wayland-1.23.1
If you are doing multilib, follow both the x86_64 and i686 instructions.
First create a list of all the files to download that will be downloaded using Wget-1.24.5:
cat >> x86_64-amdgpu-pro-wget-list << "EOF"
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/a/amf-amdgpu-pro/amf-amdgpu-pro_1.4.34-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/liba/libamdenc-amdgpu-pro/libamdenc-amdgpu-pro_1.0-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libegl1-amdgpu-pro-oglp_24.10-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgl1-amdgpu-pro-oglp-dri_24.10-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgl1-amdgpu-pro-oglp-ext_24.10-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgl1-amdgpu-pro-oglp-gbm_24.10-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgl1-amdgpu-pro-oglp-glx_24.10-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgles1-amdgpu-pro-oglp_24.10-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgles2-amdgpu-pro-oglp_24.10-1787253.22.04_amd64.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/v/vulkan-amdgpu-pro/vulkan-amdgpu-pro_24.10-1787253.22.04_amd64.deb
EOF
Download and unpack the drivers by following the instructions below:
mkdir -pv x86_64-amdgpu-pro cd x86_64-amdgpu-pro wget --continue --input-file=../x86_64-amdgpu-pro-wget-list for deb in *.deb; do ar x $deb tar -xf data.tar.xz rm -rf *.tar.xz debian-binary dists done install -d usr/lib/amdgpu-pro install -d usr/share/drirc.d cp -r opt/amdgpu-pro/lib/x86_64-linux-gnu/* usr/lib cp -r usr/lib/x86_64-linux-gnu/* usr/lib cp -r opt/amdgpu-pro/lib/x86_64-linux-gnu/* usr/lib/amdgpu-pro mv opt/amdgpu-pro/lib/xorg usr/lib/amdgpu-pro cp -r opt/amdgpu/share/drirc.d/* usr/share/drirc.d cp -r usr/lib/amdgpu-pro/* usr/lib cp -r opt/amdgpu-pro/etc/vulkan usr/share mv usr/share/vulkan/icd.d/amd_icd64.json usr/share/vulkan/icd.d/amd_pro_icd64.json mv usr/lib/amdvlk64.so usr/lib/amdvlkpro64.so sed -i "s#/opt/amdgpu-pro/lib/x86_64-linux-gnu/amdvlk64.so#/usr/lib/amdvlkpro64.so#" \ usr/share/vulkan/icd.d/amd_pro_icd64.json rm -rf opt/amdgpu-pro/lib/x86_64-linux-gnu rm -rf usr/lib/x86_64-linux-gnu rm -rf opt/amdgpu-pro/lib/x86_64-linux-gnu rm -rf opt/amdgpu-pro/share/drirc.d rm -rf usr/lib/amdgpu-pro rm -rf opt/amdgpu-pro/etc/vulkan rm -rf etc opt
Now install the driver by running the following commands as the
root user:
cp -Rv usr/* /usr ldconfig
When using a 32-bit CPU, you will lose support for AMF and AMDENC support, which is a big reason to use the proprietary driver in the first place. Consider upgrading your CPU to the x86_64 architecture.
First create a list of all the files to download that will be downloaded using Wget-1.24.5:
cat >> i386-amdgpu-pro-wget-list << "EOF"
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libegl1-amdgpu-pro-oglp_24.10-1787253.22.04_i386.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgl1-amdgpu-pro-oglp-dri_24.10-1787253.22.04_i386.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgl1-amdgpu-pro-oglp-glx_24.10-1787253.22.04_i386.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgles1-amdgpu-pro-oglp_24.10-1787253.22.04_i386.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libgles2-amdgpu-pro-oglp_24.10-1787253.22.04_i386.deb
https://repo.radeon.com/amdgpu/6.1.3/ubuntu/pool/proprietary/v/vulkan-amdgpu-pro/vulkan-amdgpu-pro_24.10-1787253.22.04_i386.deb
EOF
Download and unpack the drivers by following the instructions below:
mkdir -pv i386-amdgpu-pro
cd i386-amdgpu-pro
wget --continue --input-file=../i386-amdgpu-pro-wget-list
for deb in *.deb; do
ar x $deb
tar -xf data.tar.xz
rm -rf *.tar.xz debian-binary dists
done
install -d usr/lib32/amdgpu-pro
install -d usr/share/drirc.d
cp -r opt/amdgpu-pro/lib/i386-linux-gnu/* usr/lib32
cp -r usr/lib/i386-linux-gnu/* usr/lib32
cp -r opt/amdgpu-pro/lib/i386-linux-gnu/* usr/lib32/amdgpu-pro
cp -r opt/amdgpu/share/drirc.d/* usr/share/drirc.d
cp -r usr/lib32/amdgpu-pro/* usr/lib32
cp -r opt/amdgpu-pro/etc/vulkan usr/share
mv usr/share/vulkan/icd.d/amd_icd32.json usr/share/vulkan/icd.d/amd_pro_icd32.json
mv usr/lib32/amdvlk32.so usr/lib32/amdvlkpro32.so
sed -i "s#/opt/amdgpu-pro/lib/i386-linux-gnu/amdvlk32.so#/usr/lib32/amdvlkpro32.so#" \
usr/share/vulkan/icd.d/amd_pro_icd32.json
rm -rf usr/lib
rm -rf usr/lib32/amdgpu-pro
rm -rf etc opt
case $(uname -m) in
i686)
mv -v usr/lib32 usr/lib
;;
esac
Now install the driver by running the following commands as the
root user:
cp -Rv usr/* /usr ldconfig
There are many libraries provided by this package that have the same name and serve the same purpose. The info below covers the unique libraries. Check the “Contents” section of either libglvnd-1.7.0 and/or Mesa-24.2.5.