Package Base Details: dxvk-git

Git Clone URL: https://aur.archlinux.org/dxvk-git.git (read-only, click to copy)
Keywords: dxvk
Submitter: ssorgatem
Maintainer: ssorgatem (niobium93)
Last Packager: ssorgatem
Votes: 21
Popularity: 0.000000
First Submitted: 2018-01-24 19:41 (UTC)
Last Updated: 2023-10-16 15:53 (UTC)

Packages (1)

Pinned Comments

ssorgatem commented on 2018-06-22 06:24 (UTC) (edited on 2019-02-26 15:49 (UTC) by ssorgatem)

This package provides Windows binaries of the DXVK dlls. They work on wine and should work on Windows too. If you don't specifically want Windows binaries and you want to just use DXVK on wine, the winelib package is a better approach and much easier to build (dxvk-winelib-git).

To enable DXVK in a wineprefix, do the following (with the WINEPREFIX variable properly set):

setup_dxvk install

In order to uninstall DXVK from a wineprefix:

setup_dxvk uninstall

Latest Comments

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

unknown78 commented on 2022-10-21 18:51 (UTC) (edited on 2022-10-21 18:56 (UTC) by unknown78)

I get the following error:

==> Starting prepare()...
Submodule 'include/native/directx' (https://github.com/Joshua-Ashton/mingw-directx headers) registered for path 'include/native/directx'
Submodule 'include/spirv' (https://github.com/KhronosGroup/SPIRV-Headers.git) registered for path 'include/spirv'
Submodule 'include/vulkan' (https://github.com/KhronosGroup/Vulkan-Headers) registered for path 'include/vulkan'
Cloning into '/home/*****/install/dxvk-git/src/dxvk/include/native/directx'...
fatal: transport 'file' not allowed
fatal: clone of '/home/*****/install/dxvk-git/src/mingw-directx-headers' into submodule path '/home/*****/install/dxvk-git/src/dxvk/include/native/directx' failed
Failed to clone 'include/native/directx'. Retry scheduled
Cloning into '/home/*****/install/dxvk-git/src/dxvk/include/spirv'...
fatal: transport 'file' not allowed
fatal: clone of '/home/*****/install/dxvk-git/src/SPIRV-Headers' into submodule path '/home/*****/install/dxvk-git/src/dxvk/include/spirv' failed
Failed to clone 'include/spirv'. Retry scheduled
Cloning into '/home/*****/install/dxvk-git/src/dxvk/include/vulkan'...
fatal: transport 'file' not allowed
fatal: clone of '/home/*****/install/dxvk-git/src/Vulkan-Headers' into submodule path '/home/*****/install/dxvk-git/src/dxvk/include/vulkan' failed
Failed to clone 'include/vulkan'. Retry scheduled
Cloning into '/home/****/install/dxvk-git/src/dxvk/include/native/directx'...
fatal: transport 'file' not allowed
fatal: clone of '/home/*****/install/dxvk-git/src/mingw-directx-headers' into submodule path '/home/*****/install/dxvk-git/src/dxvk/include/native/directx' failed
Failed to clone 'include/native/directx' a second time, aborting
==> ERROR: A failure occurred in prepare().```

niobium93 commented on 2022-09-01 02:57 (UTC)

-D enable_tests=false is no longer valid and needs to be removed.

harre commented on 2022-08-31 21:04 (UTC) (edited on 2022-08-31 21:06 (UTC) by harre)

Started failing build today:

==> Starting build()...
The Meson build system
Version: 0.63.1
Source dir: /home/markus/.cache/yay/dxvk-git/src/dxvk
Build dir: /home/markus/.cache/yay/dxvk-git/src/build/x64
Build type: cross build

dxvk/meson.build:1:0: ERROR: Unknown options: "enable_tests"

A full log can be found at /home/markus/.cache/yay/dxvk-git/src/build/x64/meson-logs/meson-log.txt
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: dxvk-git (dxvk-mingw-git)

pongo1231 commented on 2022-08-23 22:09 (UTC)

Builds fine now, thanks for the update!

ssorgatem commented on 2022-08-23 20:54 (UTC)

@loathingkernel thank you for your suggestion. Is it working properly now?

loathingkernel commented on 2022-08-23 20:34 (UTC) (edited on 2022-08-23 20:35 (UTC) by loathingkernel)

The way the submodules are cloned is utterly erroneous, in the source array you are not cloning the repository and the only reason it works is because the wrong submodule names are configured in prepare. This way the submodules are still cloned over the internet and not locally in prepare which is what the guidelines suggest against.

The correct way/syntax is the following

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"
)
prepare() {
    cd dxvk

    git submodule init include/{native/directx,vulkan,spirv}
    git config submodule.include/native/directx.url "$srcdir/mingw-directx-headers"
    git config submodule.include/vulkan.url "$srcdir/Vulkan-Headers"
    git config submodule.include/spirv.url "$srcdir/SPIRV-Headers"
    git submodule update include/{native/directx,vulkan,spirv}
}

FabioLolix commented on 2022-08-22 16:02 (UTC)

Git submodules need to be configured https://wiki.archlinux.org/title/VCS_package_guidelines#Git_submodules

arzeth commented on 2022-08-22 14:15 (UTC) (edited on 2022-08-22 14:17 (UTC) by arzeth)

prepare() {
    cd dxvk
    git submodule update --init --recursive
    cd ..
}

(or something like that) must be added.

pongo1231 commented on 2022-08-22 09:39 (UTC)

Doesn't seem to build anymore.

dxvk/meson.build:119:0: ERROR: Include dir ./include/vulkan/include does not exist.