Package Details: amdvlk-git 2024.Q2.3.r0.10c37d4-1

Git Clone URL: https://aur.archlinux.org/amdvlk-git.git (read-only, click to copy)
Package Base: amdvlk-git
Description: AMD's standalone Vulkan driver
Upstream URL: https://github.com/GPUOpen-Drivers
Licenses: MIT
Conflicts: amdvlk, vulkan-amdvlk
Provides: amdvlk, vulkan-amdvlk, vulkan-driver
Submitter: haagch
Maintainer: marijns
Last Packager: marijns
Votes: 22
Popularity: 0.000000
First Submitted: 2017-12-22 13:02 (UTC)
Last Updated: 2024-08-11 22:02 (UTC)

Required by (71)

Sources (0)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

haagch commented on 2020-03-24 15:06 (UTC)

Well it builds but vkCreateInstance() segfaults. This doesn't seem to be the fault of the package though.

haagch commented on 2020-03-24 15:00 (UTC)

One of the comaintainers moved the build over to using repo. The wsa repo apparently was unused anyway so I cleaned it up a little. Took relatively long because Telekom has terrible connection to AWS/Github again and apparently they don't care about negotiating for actual acceptable peering.

gardotd426 commented on 2020-03-24 14:29 (UTC) (edited on 2020-03-24 14:39 (UTC) by gardotd426)

@haagch After diving into the PKGBUILD a little more, I'm more confused than when I started, haha. So, for some reason, you're using https://github.com/GPUOpen-Drivers/wsa as the git repo, which has not been updated in two years. But later on down in the repo, you do a repo-init of the CORRECT repository, which is at https://github.com/GPUOpen-Drivers/AMDVLK. Why are you building this in such a convoluted way? Not only that, but there's yet another issue with the PKGBUILD, and that's the included patch. It doesn't work, and manual intervention is required (which I'm sure you're aware is against policy, manual intervention should never be required in a PKGBUILD). Here's the relevant output during the build:


Cloning into 'wsa'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
repo: Updating release signing keys to keyset ver 2.3
Downloading Repo source from https://gerrit.googlesource.com/git-repo
remote: Counting objects: 2, done
remote: Finding sources: 100% (135/135)
remote: Total 135 (delta 53), reused 135 (delta 53)
Receiving objects: 100% (135/135), 275.34 KiB | 2.75 MiB/s, done.
Resolving deltas: 100% (53/53), completed with 7 local objects.
From https://gerrit.googlesource.com/git-repo
   d38300c..cfc8111  master     -> origin/master
   0b57eed..d957ec6  stable     -> origin/stable
 * [new tag]         v2.4       -> v2.4
 * [new tag]         v2.4.1     -> v2.4.1
Downloading manifest from https://github.com/GPUOpen-Drivers/AMDVLK.git
Server does not provide clone.bundle; ignoring.

Your identity is: Matt <gardotd426@gmail.com>
If you want to change this, please re-run 'repo init' with --config-name

repo has been initialized in /tmp/makepkg/amdvlk-git/src
Server does not provide clone.bundle; ignoring.
Server does not provide clone.bundle; ignoring.
Server does not provide clone.bundle; ignoring.
Server does not provide clone.bundle; ignoring.
Server does not provide clone.bundle; ignoring.
Server does not provide clone.bundle; ignoring.
Server does not provide clone.bundle; ignoring.
Server does not provide clone.bundle; ignoring.
Fetching projects: 100% (8/8), done.
Updating files: 100% (88717/88717), done.
Checking out projects: 100% (8/8), done.
repo sync has finished successfully.
/tmp/makepkg/amdvlk-git/src/drivers/llpc /tmp/makepkg/amdvlk-git/src
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From b37631a8216051f4c5916f48570ff4ad3c1091c4 Mon Sep 17 00:00:00 2001
|From: Matt Coffin <mcoffin13@gmail.com>
|Date: Sat, 9 Nov 2019 10:50:55 -0700
|Subject: [PATCH] build: Remove forced -Werror option
|
|---
| CMakeLists.txt | 3 ---
| 1 file changed, 3 deletions(-)
|
|diff --git a/CMakeLists.txt b/CMakeLists.txt
|index fb44edb..5ec3b72 100644
|--- a/CMakeLists.txt
|+++ b/CMakeLists.txt
--------------------------
File to patch:

And like I said, the actual source repo in the PKGBUILD, the wsa repo, is 2 years old at this point. Is there some reason it's done this way instead of just cloning the AMDVLK repo and building the actual AMDVLK driver?

haagch commented on 2020-03-24 13:14 (UTC)

2 years? I could swear just a few months back when I updated it, it was still active. Let's see.

gardotd426 commented on 2020-03-24 01:22 (UTC)

What is going on with this? Is this orphaned? Why is this being built against a git that's not been updated in 2 years? The actual AMDVLK git at https://github.com/GPUOpen-Drivers/AMDVLK is updated constantly, there are updates from a few hours ago. The branch this PKGBUILD builds against is completely dead.

farnoy commented on 2019-11-12 08:39 (UTC)

Upstream has added a new dependency on CWPack

mcoffin commented on 2019-09-05 15:50 (UTC)

Per @lod's comments, I'm working on a fix for this, but it's a large change, so I will send out a patch for the PKGBUILD via email for those interested and all maintainers/co-maintainers of this package before we land it. It will also introduce the tagged version of the *-git package naming scheme (hopefully, if I get my way :) ). Thanks for the comments @lod.

lod commented on 2019-07-29 10:58 (UTC)

Doesn't -DBUILD_XLIB_XRANDR_SUPPORT=On depend on xrandr 1.6? So it should depend on libxrandr-git.

And you only need to remove Werror from pal/shared/gpuopen/cmake/AMD.cmake

And like mentioned before, wsa is deprecated and it is integrated into Pal already.

haagch commented on 2019-06-24 11:23 (UTC)

Apologies for not updating the PKGBUILD in a while. I was hoping one of the comaintainers would do it because I've been unable to build amdvlk for a while, always got something like /usr/include/c++/9.1.0/cstdlib:75:15: fatal error: stdlib.h: No such file or directory

Now I've been getting this with vanilla llvm and decided to spend some time tracking it down, and fix it in the PKGBUILD. Now I can finally build it again.

And yes, this is set to the dev branch intentionally to get the very latest changes. Someone made an amdvlk package for the stable releases.

Sinistar commented on 2019-06-21 23:54 (UTC)

wsa in not needed, it is now built into pal.