Howto update amd drivers: Difference between revisions
Jump to navigation
Jump to search
Mandulete1 (talk | contribs) No edit summary |
Mandulete1 (talk | contribs) |
||
Line 73: | Line 73: | ||
= references = | = references = | ||
* https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-23-20 | * https://www.amd.com/en/support/kb/release-notes/rn-amdgpu-unified-linux-23-20 | ||
* https://repo.radeon.com/amdgpu |
Latest revision as of 14:02, 27 September 2023
clone git repo for amdgpu-pro-installer:
git clone https://aur.archlinux.org/amdgpu-pro-installer.git cd amdgpu-pro-installer
edit PKGBUILD:
major=23.20 major_short=23.20 minor=1654522 ubuntu_ver=22.04 repo_folder_ver=5.7
change amf-amdgpu-pro version:
sed -i 's/1.4.30/1.4.31/g' PKGBUILD
get files sha256sum using this script:
cat > /tmp/header.txt << EOF sha256sums=(feb74796c3152cbafaba89d96e68a152f209bd3058c7eb0413cbe1ab0764e96f e32801c38b475cd8df17a407726b86db3de26410f563d688325b4d4314fc5354 EOF
cat > getsha256sum << 'EOF' #!/bin/bash major=23.20 major_short=23.20 minor=1654522 ubuntu_ver=22.04 repo_folder_ver=5.7 FILES="amf-amdgpu-pro_1.4.31-${minor}.${ubuntu_ver}_amd64.deb libamdenc-amdgpu-pro_1.0-${minor}.${ubuntu_ver}_amd64.deb libegl1-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_i386.deb libegl1-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_amd64.deb libgl1-amdgpu-pro-oglp-dri_${major_short}-${minor}.${ubuntu_ver}_i386.deb libgl1-amdgpu-pro-oglp-dri_${major_short}-${minor}.${ubuntu_ver}_amd64.deb libgl1-amdgpu-pro-oglp-ext_${major_short}-${minor}.${ubuntu_ver}_amd64.deb libgl1-amdgpu-pro-oglp-gbm_${major_short}-${minor}.${ubuntu_ver}_amd64.deb libgl1-amdgpu-pro-oglp-glx_${major_short}-${minor}.${ubuntu_ver}_i386.deb libgl1-amdgpu-pro-oglp-glx_${major_short}-${minor}.${ubuntu_ver}_amd64.deb libgles1-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_i386.deb libgles1-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_amd64.deb libgles2-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_i386.deb libgles2-amdgpu-pro-oglp_${major_short}-${minor}.${ubuntu_ver}_amd64.deb vulkan-amdgpu-pro_${major_short}-${minor}.${ubuntu_ver}_i386.deb vulkan-amdgpu-pro_${major_short}-${minor}.${ubuntu_ver}_amd64.deb" for u in ${FILES}; do sha256sum ${u} >> /tmp/sha256sum.txt; done cat /tmp/sha256sum.txt |awk '{print $1}'|sed 's/^/ /g' >> /tmp/header.txt && rm /tmp/sha256sum.txt cat /tmp/header.txt |sed '$s/$/)/g' EOF
run makepkg, you should get sha256sum failed:
makepkg
run getsha256sum script:
bash getsha256sum
replace packages sha256sum on PKGBUILD:
sha256sums=(feb74796c3152cbafaba89d96e68a152f209bd3058c7eb0413cbe1ab0764e96f e32801c38b475cd8df17a407726b86db3de26410f563d688325b4d4314fc5354 6486b32a80f9243996b24917ac7cb8a6cea78f280ca94604d96b28c530e82aa2 6c1a74a635b2de70850cc831638cc63176a8abb5d6811d23888a367432fa2b63 6b142ad1319141660e73305a13c866a7924064681263dcc8424fd402f3b8f830 49794cfd3d2b1226365b19882da4237626da7fe7157b51b560f83b5eb75b2a52 be25a5fe4efeb91066ec345613e373193b7cd3db22201045f34cbd1d7f47b2ba 54754f38b1f6306d4863439263c1b09ca183c948ddce63230d0b83636ec45d05 57244d45f35d89823b2fe3c55386d8dd3233478802f9e6359be460cb5d6a8239 d659cedd625b6c16ee3d26c7f825aa1769243e43b666afd73214bbcb3429a485 f774d763a53fcfec605214c4058a653d26c6fb479457260a0781aee8af9b8708 010bb70ef8353fbb12a614857e8b4778de3150b6c18ddff5e270d03029eb47e6 8b1a6066d8a8d0a08ff5abf1998be223caa24cb5f1203185d85a93ba8e727fef b96b60631c11aea3a0b599fdbedcc9ad77db3161cf071daeccb763db2807a0e7 c5e6aec8fd970dbc2bdcd5504abc3db3ef8bdaa9666b66542151e30d83cccd3a 282117b91ff682b4a0a04e448aaa6d371f6c0f9f15efa0d1378c6af007df55c9 66cdd60fe04da5b6efcdd628b6c8c63584963f053c22aa1df8959a2ff5d77c3f 6b2ae59acc61319ae6ec5fc68534324dc9ed8bfe6a70812bd2945a37f3e0d905)
create the binary package and install:
makepkg -si