Package Details: dxvk-mingw 3.1.1-1

Git Clone URL: https://aur.archlinux.org/dxvk-mingw.git (read-only, click to copy)
Package Base: dxvk-mingw
Description: Vulkan-based implementation of D3D9, D3D10 and D3D11 for Linux / Wine, MingW version
Upstream URL: https://github.com/doitsujin/dxvk
Licenses: zlib/libpng
Conflicts: dxvk
Provides: dxvk
Submitter: loathingkernel
Maintainer: loathingkernel
Last Packager: loathingkernel
Votes: 14
Popularity: 0.156862
First Submitted: 2019-12-16 17:34 (UTC)
Last Updated: 2026-10-02 13:58 (UTC)

Pinned Comments

loathingkernel commented on 2019-12-16 19:48 (UTC) (edited on 2019-12-16 19:49 (UTC) by loathingkernel)

This package contains three patches which are not applied by default. Feel free to read the documentation inside the PKGBUILD on what they do and how to enable them.

Don't report issues with these patches enabled to the dxvk creator before posting here. If you do, please be aware that they will probably close your issue nevertheless.

Latest Comments

1 2 3 4 5 Next › Last »

Korialo commented on 2026-10-02 21:29 (UTC) (edited on 2026-10-02 21:30 (UTC) by Korialo)

@loathingkernel A suggestion for the license, use Zlib instead zlib/libpng :

https://spdx.org/licenses/Zlib.html

https://opensource.org/license/zlib

Maybe for the next release.

loathingkernel commented on 2026-10-02 14:17 (UTC) (edited on 2026-10-02 14:18 (UTC) by loathingkernel)

@ChrisTX

violates shellcheck rule SC2206. Basically, doing this produces very weird results in bash in many cases.

Cases we do not care about here to be clear. The problem shellcheck describes happens with spaces, Both -march and -mtune are unspaced arguments with = as a separator, there is no splitting happening here. Furthermore later on we are looking to split at = to assign them to the named array. Shellcheck is technically right, but it is irrelevant in this case given what this is trying to filter.

HurricanePootis commented on 2026-09-25 07:30 (UTC)

@ChrisTX

You're wrong about the licensing needing to be custom:zlib. Arch Linux uses SPDX license identifiers. Zlib is part of the SDPX license list, so just Zlib can be listed.

ChrisTX commented on 2026-07-05 01:53 (UTC) (edited on 2026-07-05 01:54 (UTC) by ChrisTX)

Two points:

  1. the license() should be custom:zlib, see here.

  2. This line in the PKGBUILD:

local -a split=($CFLAGS)

violates shellcheck rule SC2206. Basically, doing this produces very weird results in bash in many cases. I'd recommend just simplifying the entire block instead into this:

  local -rA flags=(
    [march]="nocona"
    [mtune]="core-avx2"
  )
  local -a tuneflags
  for flagname in "${!flags[@]}"; do
    [[ $CFLAGS =~ -$flagname=([^ ]+) ]]
    tuneflags+=("-${flagname}=${BASH_REMATCH[1]:-${flags[$flagname]}}")
  done

  CFLAGS="-O3 ${tuneflags[*]} -pipe -mno-avx"
  CXXFLAGS="-O3 ${tuneflags[*]} -pipe -mno-avx"

This is faster, shellcheck clean and easily extendable as well as it would just take changes to the flags array.

With that all it took to build 3.0 for me was bumping the pkgver to 3.0.

LarryDave commented on 2025-01-15 14:42 (UTC)

Why is it not recommended to use -march=native? Why is AVX bad?

I want to use -march=rocketlake and -mtune=rocketlake for example. I'd really like to know.

GrabbenD commented on 2024-05-06 16:43 (UTC)

Thank you for the clarification @loathingkernel

I know some projects set a default optimization level and I agree that using developer's/upstream preference makes the most sense!

I feel genuinely blind, where does DXVK set -O3 optimization level as the default?

loathingkernel commented on 2024-04-17 06:13 (UTC)

@GrabbenD no, because this package builds Windows binaries through cross-compilation. Some compiler and linker options from makepkg.conf are not supported by MingW. So this package cannot use any compiler/linker options from it.

At the same time, because it is meant to be loaded by Wine, certain combinations will interfere with that. As such this package inherits only -march from makepkg.conf at this moment. -O3 is the default from DXVK and that is why it is forced instead of -O2

GrabbenD commented on 2024-04-16 21:48 (UTC)

How come this package forces O3? Isn't it more intuitive to use user's /etc/makepkg.conf (like march=native)?

loathingkernel commented on 2024-04-01 12:31 (UTC)

@reteo you can edit the pkgbuild and replace the first checksum with 'SKIP'

reteo commented on 2024-03-29 19:40 (UTC)

Is there anything I can do to fix this, or should I wait for an update for pacman?