Package Details: dxvk-async-git 2.4.1.r422.g62970d2-1

Git Clone URL: https://aur.archlinux.org/dxvk-async-git.git (read-only, click to copy)
Package Base: dxvk-async-git
Description: A Vulkan-based compatibility layer for Direct3D 9/10/11 - Windows DLL version)
Upstream URL: https://gitlab.com/Ph42oN/dxvk-gplasync/
Licenses: zlib
Conflicts: d9vk, dxvk
Provides: d9vk, dxvk
Submitter: giantdwarf
Maintainer: xiota
Last Packager: xiota
Votes: 6
Popularity: 0.000030
First Submitted: 2022-02-27 05:48 (UTC)
Last Updated: 2024-11-07 20:36 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 Next › Last »

davidbepo commented on 2024-11-21 18:39 (UTC)

should add d3d8 to setup_dxvk

VoodaGod commented on 2024-10-02 17:06 (UTC)

@xiota unfortunately i don't know how to answer to the flagging directly, but i disowned the package so feel free to adopt it & fix the build :)

VoodaGod commented on 2023-10-13 06:18 (UTC)

i adopted this package but i barely know what i'm doing so if anyone feels more competent i'll gladly give it up

VoodaGod commented on 2023-10-13 05:55 (UTC) (edited on 2023-10-13 05:56 (UTC) by VoodaGod)

to use master patch:

diff --git a/PKGBUILD b/PKGBUILD
index 3727c2a..4192fe6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgbase=dxvk-async-git
 pkgname=('dxvk-async-git')
-pkgver=2.2.r20.g4b108460
+pkgver=2.3.r11.ge00db245
 pkgrel=1
 pkgdesc="A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine. Windows DLL version)"
 arch=('x86_64')
@@ -26,7 +26,7 @@ sha256sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
-            '5ea0fbf7fddb45a8575ff001793011a594d999aaeb66ef95378bca950c844300'
+            'SKIP'
             '0f688815530ab5e8cc89b9b45d9b1d66cd8cd5a7770fb8249339af555a30dfe7')

 pkgver() {
@@ -43,7 +43,7 @@ prepare() {
     git config submodule.include/spirv.url "$srcdir/SPIRV-Headers"
     git -c protocol.file.allow=always submodule update include/{native/directx,vulkan,spirv}

-    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/dxvk-gplasync-2.2-2.patch"
+    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/patches/dxvk-gplasync-master.patch"
 }

 build() {

diff --git a/dxvk-async-env.conf b/dxvk-async-env.conf
index e416524..f796a1e 100644
--- a/dxvk-async-env.conf
+++ b/dxvk-async-env.conf
@@ -1 +1,2 @@
-DXVK_ASYNC=1 
+DXVK_ASYNC=1
+DXVK_GPLASYNCCACHE=1

VoodaGod commented on 2023-06-28 09:36 (UTC)

Ph42oN now offers a patch for dxvk master:

diff --git a/PKGBUILD b/PKGBUILD
index 3727c2a..b2f0926 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgbase=dxvk-async-git
 pkgname=('dxvk-async-git')
-pkgver=2.2.r20.g4b108460
+pkgver=2.2.r114.g0f4458e1
 pkgrel=1
 pkgdesc="A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine. Windows DLL version)"
 arch=('x86_64')
@@ -18,7 +18,7 @@ source=("git+https://github.com/doitsujin/dxvk.git"
         "git+https://github.com/Joshua-Ashton/mingw-directx-headers.git"
         "git+https://github.com/KhronosGroup/Vulkan-Headers.git"
         "git+https://github.com/KhronosGroup/SPIRV-Headers.git"
-        "git+https://gitlab.com/Ph42oN/dxvk-gplasync.git"
+        "git+https://gitlab.com/Ph42oN/dxvk-gplasync.git#branch=test"
         "dxvk-async-env.conf"
         "setup_dxvk.sh")
 sha256sums=('SKIP'
@@ -26,7 +26,7 @@ sha256sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
-            '5ea0fbf7fddb45a8575ff001793011a594d999aaeb66ef95378bca950c844300'
+            'SKIP'
             '0f688815530ab5e8cc89b9b45d9b1d66cd8cd5a7770fb8249339af555a30dfe7')

 pkgver() {
@@ -43,7 +43,8 @@ prepare() {
     git config submodule.include/spirv.url "$srcdir/SPIRV-Headers"
     git -c protocol.file.allow=always submodule update include/{native/directx,vulkan,spirv}

-    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/dxvk-gplasync-2.2-2.patch"
+    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/patches/dxvk-gplasync-master.patch"
+    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/patches/global-dxvk.conf.patch"
 }

 build() {
diff --git a/dxvk-async-env.conf b/dxvk-async-env.conf
index e416524..f796a1e 100644
--- a/dxvk-async-env.conf
+++ b/dxvk-async-env.conf
@@ -1 +1,2 @@
-DXVK_ASYNC=1 
+DXVK_ASYNC=1
+DXVK_GPLASYNCCACHE=1

VoodaGod commented on 2023-06-24 18:38 (UTC) (edited on 2023-06-24 18:39 (UTC) by VoodaGod)

i made some changes to apply the newest patch to the v2.2 tag & set the env variable to enable shadercache with async:

diff --git a/PKGBUILD b/PKGBUILD
index 3727c2a..920f543 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@

 pkgbase=dxvk-async-git
 pkgname=('dxvk-async-git')
-pkgver=2.2.r20.g4b108460
+pkgver=2.2.r0.gcae0a1ce
 pkgrel=1
 pkgdesc="A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine. Windows DLL version)"
 arch=('x86_64')
@@ -14,7 +14,7 @@ provides=("dxvk" "d9vk" "dxvk=$pkgver")
 makedepends=('ninja' 'meson>=0.43' 'glslang' 'mingw-w64-gcc' 'git' 'wine')
 conflicts=('d9vk-mingw-git' 'd9vk-bin' 'd9vk-winelib-git' "dxvk-bin" "dxvk-git" "dxvk-wine32-git" "dxvk-wine64-git" "dxvk-win32-git" "dxvk-win64-git" "dxvk-winelib-git" "dxvk-mingw-git")
 options=(!strip !buildflags staticlibs)
-source=("git+https://github.com/doitsujin/dxvk.git"
+source=("git+https://github.com/doitsujin/dxvk.git#tag=v2.2"
         "git+https://github.com/Joshua-Ashton/mingw-directx-headers.git"
         "git+https://github.com/KhronosGroup/Vulkan-Headers.git"
         "git+https://github.com/KhronosGroup/SPIRV-Headers.git"
@@ -26,7 +26,7 @@ sha256sums=('SKIP'
             'SKIP'
             'SKIP'
             'SKIP'
-            '5ea0fbf7fddb45a8575ff001793011a594d999aaeb66ef95378bca950c844300'
+            'SKIP'
             '0f688815530ab5e8cc89b9b45d9b1d66cd8cd5a7770fb8249339af555a30dfe7')

 pkgver() {
@@ -43,7 +43,8 @@ prepare() {
     git config submodule.include/spirv.url "$srcdir/SPIRV-Headers"
     git -c protocol.file.allow=always submodule update include/{native/directx,vulkan,spirv}

-    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/dxvk-gplasync-2.2-2.patch"
+    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/patches/dxvk-gplasync-2.2-4.patch"
+    patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/patches/global-dxvk.conf.patch"
 }

 build() {
diff --git a/dxvk-async-env.conf b/dxvk-async-env.conf
index e416524..f796a1e 100644
--- a/dxvk-async-env.conf
+++ b/dxvk-async-env.conf
@@ -1 +1,2 @@
-DXVK_ASYNC=1 
+DXVK_ASYNC=1
+DXVK_GPLASYNCCACHE=1

niobium93 commented on 2023-06-09 11:53 (UTC)

I no longer use this so I have disowned it. Unless you're stuck on outdated Nvidia drivers you probably shouldn't use this anymore. Up-to-date Nvidia and Mesa/RADV support graphics pipeline libraries now which eliminates shader compilation stutter without causing visual artifacts like the async hack does. If you're on Intel you will get GPL support in the next major Mesa version - I suggest using mesa-git in the mean time.

patlefort commented on 2023-06-09 11:15 (UTC)

Patches have moved: https://gitlab.com/Ph42oN/dxvk-gplasync/-/commit/d7c7228e73a70befe1fc2752058adb75b2f723bc

Pook commented on 2023-06-07 01:31 (UTC) (edited on 2023-06-07 01:37 (UTC) by Pook)

Currently this can not build against 2.2.r35.gf3fb5ba3-1 The issue was reported by another user upstream here: https://gitlab.com/Ph42oN/dxvk-gplasync/-/issues/13

You can patch the PKGBUILD with a text file, which in my case I named quick_patch.txt in the PKGBUILD directory.

--- PKGBUILD    2023-06-06 20:33:15.170289707 -0500
+++ PKGBUILD.new        2023-06-06 20:29:45.353620734 -0500
@@ -3,7 +3,7 @@

 pkgbase=dxvk-async-git
 pkgname=('dxvk-async-git')
-pkgver=2.2.r20.g4b108460
+pkgver=2.2.r35.gf3fb5ba3
 pkgrel=1
 pkgdesc="A Vulkan-based compatibility layer for Direct3D 9/10/11 which allows running 3D applications on Linux using Wine. Windows DLL version)"
 arch=('x86_64')
@@ -43,7 +43,9 @@
     git config submodule.include/spirv.url "$srcdir/SPIRV-Headers"
     git -c protocol.file.allow=always submodule update include/{native/directx,vulkan,spirv}

+    sed -e '/tearFree/d' -i src/dxvk/dxvk_options.cpp
     patch --forward --strip=1 --input="${srcdir}/dxvk-gplasync/dxvk-gplasync-2.2-2.patch"
+    sed -e '14 i tearFree              = config.getOption<Tristate>("dxvk.tearFree",               Tristate::Auto);' -i src/dxvk/dxvk_options.cpp
 }

 build() {

You can apply this quick and dirty fix with:

patch < quick_patch.txt