Tried to recompile from source to update it, but failed to build.
Anyone got to compile properly?
From taking a look at the Ubuntu repos that are used for extracting the binaries, there seems to be a newer version located under the 6.2.3 branch1. I'm not sure exactly why 6.1.3 is being used in the PKGBUILD currently though, so there might be a good reason for not updating to use this branch.
That being said, I was able to get the new version packaged and installed with these changes to the PKGBUILD:
diff --git a/PKGBUILD b/PKGBUILD
index c351d1b..cda4dab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,11 +4,11 @@
# Autogenerated from AMD's Packages file
# with https://github.com/Ashark/archlinux-amdgpu-pro/blob/master/gen-PKGBUILD.py
-major=24.10
-major_short=24.10
-minor=1787253
+major=24.20
+major_short=24.20
+minor=2044449
ubuntu_ver=22.04
-repo_folder_ver=6.1.3
+repo_folder_ver=6.2.3
pkgbase=amdgpu-pro-installer
pkgname=(
@@ -27,7 +27,7 @@ groups=('Radeon_Software_for_Linux')
source=(progl::https://raw.githubusercontent.com/Ashark/archlinux-amdgpu-pro/master/progl
progl.bash-completion::https://raw.githubusercontent.com/Ashark/archlinux-amdgpu-pro/master/progl.bash-completion
- https://repo.radeon.com/amdgpu/${repo_folder_ver}/ubuntu/pool/proprietary/a/amf-amdgpu-pro/amf-amdgpu-pro_1.4.34-${minor}.${ubuntu_ver}_amd64.deb
+ https://repo.radeon.com/amdgpu/${repo_folder_ver}/ubuntu/pool/proprietary/a/amf-amdgpu-pro/amf-amdgpu-pro_1.4.35-${minor}.${ubuntu_ver}_amd64.deb
https://repo.radeon.com/amdgpu/${repo_folder_ver}/ubuntu/pool/proprietary/liba/libamdenc-amdgpu-pro/libamdenc-amdgpu-pro_1.0-${minor}.${ubuntu_ver}_amd64.deb
https://repo.radeon.com/amdgpu/${repo_folder_ver}/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libegl1-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_i386.deb
https://repo.radeon.com/amdgpu/${repo_folder_ver}/ubuntu/pool/proprietary/o/oglp-amdgpu-pro/libegl1-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_amd64.deb
@@ -106,7 +106,7 @@ package_amf-amdgpu-pro () {
"amdgpu-dkms-firmware: Warning unspecified optdep description"
"amdgpu-dkms: Warning unspecified optdep description")
- extract_deb "${srcdir}"/amf-amdgpu-pro_1.4.34-${minor}.${ubuntu_ver}_amd64.deb
+ extract_deb "${srcdir}"/amf-amdgpu-pro_1.4.35-${minor}.${ubuntu_ver}_amd64.deb
extract_deb "${srcdir}"/libamdenc-amdgpu-pro_1.0-${minor}.${ubuntu_ver}_amd64.deb
move_libdir "opt/amdgpu-pro/lib/x86_64-linux-gnu" "usr/lib"
move_copyright
Pinned Comments
mesmer commented on 2022-12-23 04:31 (UTC) (edited on 2023-05-28 19:28 (UTC) by mesmer)
IF PROBLEM HAPPEN
this package is our try to put amdgpu in ARCH, but this could break or have problems as amd update and change their packages for ubuntu
if anything happens you can always download a older tag in https://github.com/Ashark/archlinux-amdgpu-pro/releases and get the PKGBUILD there, and use makepkg with that build while we update or try to fix :)
ALWAYS USE LINUX-FIRMWARE-GIT IF LATEST DRIVER FAIL BEFORE ISSUE SOME ERROR
https://aur.archlinux.org/packages/linux-firmware-git
Ashark commented on 2019-12-09 20:52 (UTC) (edited on 2022-12-06 08:45 (UTC) by Ashark)
PKGBUILD generator is located here: https://github.com/Ashark/archlinux-amdgpu-pro
AMDGPU PRO wiki page: https://wiki.archlinux.org/index.php/AMDGPU_PRO
New versions will appear here: https://repo.radeon.com/amdgpu/.