Package Details: amd-vulkan-prefixes 2-1

Git Clone URL: https://aur.archlinux.org/amd-vulkan-prefixes.git (read-only, click to copy)
Package Base: amd-vulkan-prefixes
Description: Select needed vulkan implementation with vk_radv, vk_amdvlk or vk_pro prefix
Upstream URL: https://gitlab.com/AndrewShark/amd-vulkan-prefixes
Licenses: GPL
Submitter: Ashark
Maintainer: Ashark
Last Packager: Ashark
Votes: 9
Popularity: 0.035161
First Submitted: 2022-03-18 20:52 (UTC)
Last Updated: 2024-06-04 22:57 (UTC)

Latest Comments

Ashark commented on 2024-06-08 22:42 (UTC)

Make a clean build, i.e. remove amd_vulkan_prefixes.sh, so it gets redownloaded.

d2_ricci commented on 2024-06-08 22:36 (UTC)

Aur (1) Old Version New Version Make Only aur/amd-vulkan-prefixes 2-1 No

:: Proceed with installation? [Y/n]:

:: Downloading PKGBUILDs... PKGBUILDs up to date ==> Making package: amd-vulkan-prefixes 2-1 (Sat 08 Jun 2024 03:34:53 PM PDT) ==> Retrieving sources... -> Found amd_vulkan_prefixes.sh -> Found amd_vulkan_prefixes.bash-completion ==> Validating source files with sha256sums... amd_vulkan_prefixes.sh ... FAILED amd_vulkan_prefixes.bash-completion ... Passed ==> ERROR: One or more files did not pass the validity check! error: failed to download sources for 'amd-vulkan-prefixes-2-1': error: packages failed to build: amd-vulkan-prefixes-2-1

Ashark commented on 2024-06-08 15:08 (UTC)

Wdym "isn't redownloaded"? Rebuild the package.

WOFall commented on 2024-06-08 15:05 (UTC)

amd_vulkan_prefixes.sh isn't redownloaded leading to a checksum error. Maybe just source the whole repo?

Ashark commented on 2024-06-04 22:58 (UTC)

@HurricanePootis Updated in script itself.

HurricanePootis commented on 2024-06-04 22:30 (UTC)

Hello, you just need to replace the variable name. I have made a patch script to do so.

diff --git a/PKGBUILD b/PKGBUILD
index 8f22fd2..5f0e6fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,10 +8,14 @@ license=('GPL')
 url="https://gitlab.com/AndrewShark/amd-vulkan-prefixes"
 source=(https://gitlab.com/AndrewShark/amd-vulkan-prefixes/-/raw/main/amd_vulkan_prefixes.sh
         https://gitlab.com/AndrewShark/amd-vulkan-prefixes/-/raw/main/amd_vulkan_prefixes.bash-completion)
-sha256sums=("0ae2ff8bac00b0ce0330bafcfc8142576f432706843f6a681d357e410fdafae3"
-            "aaf96ea2ae87c7dab678e8a33986199256312dd70004aec87b5fd0f8b65ebaef")
+sha256sums=('0ae2ff8bac00b0ce0330bafcfc8142576f432706843f6a681d357e410fdafae3'
+            'aaf96ea2ae87c7dab678e8a33986199256312dd70004aec87b5fd0f8b65ebaef')


+prepare() {
+    sed -i 's/VK_ICD_FILENAMES/VK_DRIVER_FILES/g' "${srcdir}"/amd_vulkan_prefixes.sh
+}
+
 package() {
     install -Dm755 "${srcdir}"/amd_vulkan_prefixes.sh "${pkgdir}"/usr/bin/vk_radv
     install -Dm755 "${srcdir}"/amd_vulkan_prefixes.sh "${pkgdir}"/usr/bin/vk_amdvlk

As of now, VK_ICD_FILENAMES is depricated. And, if you set radv to be the default system wide with VK_DRIVER_FILES, such as the arch wiki says to do, this script won't work if you want to use the amdvlk for a select software with vk_amdvlk.

Ashark commented on 2024-01-31 23:15 (UTC)

@Score_Under Just need to plainly replace variable name?

Score_Under commented on 2024-01-31 22:56 (UTC)

VK_ICD_FILENAMES should be considered deprecated in favour of VK_DRIVER_FILES:

https://github.com/KhronosGroup/Vulkan-Loader/blob/main/docs/LoaderDriverInterface.md#overriding-the-default-driver-discovery