Package Details: libdxvk 3.0.1-1

Git Clone URL: https://aur.archlinux.org/libdxvk.git (read-only, click to copy)
Package Base: libdxvk
Description: Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux
Upstream URL: https://github.com/doitsujin/dxvk
Licenses: zlib
Provides: libdxvk_d3d10core.so, libdxvk_d3d11.so, libdxvk_d3d8.so, libdxvk_d3d9.so, libdxvk_dxgi.so
Submitter: DavidHusicka
Maintainer: HurricanePootis
Last Packager: HurricanePootis
Votes: 3
Popularity: 0.001395
First Submitted: 2021-08-11 14:46 (UTC)
Last Updated: 2026-07-05 21:29 (UTC)

Pinned Comments

Latest Comments

1 2 Next › Last »

amiablechief commented on 2026-06-30 17:03 (UTC) (edited on 2026-07-03 18:05 (UTC) by amiablechief)

Edit: I finally got it to work after a prompting session with Claude. Seems there is an incompatibility using --flto=auto along with gcc 16.1.1's libstdc++.a static archive (results in COMDAT/LTO errors). This causes the linkers (I tried lld/wild/mold -which is what I use in /etc/makepkg.conf) to break. You have to comment out

-static-libgcc -static-libstdc++

in libdxvk's meson.build file and then recompile locally with

makepkg --noextract -si

This is probably just me (seeing as no one else has reported problems), but be grateful for any help to resolve this error I'm running into:

[320/320] Linking target src/d3d8/libdxvk_d3d8.so.0.30000
FAILED: [code=1] src/d3d8/libdxvk_d3d8.so.0.30000
c++  -o src/d3d8/libdxvk_d3d8.so.0.30000 src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_buffer.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_device.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_interface.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_main.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_multithread.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_options.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_shader.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_state_block.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_surface.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_swapchain.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_texture.cpp.o src/d3d8/libdxvk_d3d8.so.0.30000.p/d3d8_volume.cpp.o -Wl,--as-needed -Wl,--no-undefined -shared -fPIC -Wl,-soname,libdxvk_d3d8.so.0 -Wl,--build-id -static-libgcc -static-libstdc++ -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -fuse-ld=mold -flto=auto -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto '-Wl,-rpath,$ORIGIN/../d3d9' -Wl,--start-group src/d3d9/libdxvk_d3d9.so.0.30000 src/util/libutil.a subprojects/dxbc-spirv/libdxbc_spv.a src/dxvk/libdxvk.a src/spirv/libspirv.a src/wsi/libwsi.a subprojects/libdisplay-info/libdisplay-info.a src/vulkan/libvkcommon.a -Wl,--version-script /home/chief/.cache/yay/libdxvk/src/libdxvk/src/d3d8/d3d8.sym -pthread -ldl -lm -Wl,--end-group
mold: error: /usr/lib/libstdc++.a(fs_path.o):(.text._ZNSt23_Sp_counted_ptr_inplaceINSt10filesystem7__cxx1116filesystem_error5_ImplESaIS3_ELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info): std::_Sp_make_shared_tag::_S_ti()::__tag refers to a discarded COMDAT section probably due to an ODR violation
mold: error: /usr/lib/libstdc++.a(fs_path.o):(.text._ZNKSt12__shared_ptrIKNSt10filesystem7__cxx1116filesystem_error5_ImplELN9__gnu_cxx12_Lock_policyE2EE14_M_get_deleterERKSt9type_info): std::_Sp_make_shared_tag::_S_ti()::__tag refers to a discarded COMDAT section probably due to an ODR violation
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: libdxvk-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
libdxvk - exit status 4

Newk-B commented on 2025-07-23 22:29 (UTC) (edited on 2025-07-23 22:35 (UTC) by Newk-B)

Submodule path 'include/native/directx': checked out '9df86f2341616ef1888ae59919feaa6d4fad693d'
Submodule path 'include/spirv': checked out '8b246ff75c6615ba4532fe4fde20f1be090c3764'
Submodule path 'include/vulkan': checked out '234c4b7370a8ea3239a214c9e871e4b17c89f4ab'
Submodule path 'subprojects/libdisplay-info': checked out '275e6459c7ab1ddd4b125f28d0440716e4888078'
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: unable to auto-detect email address (got 'newk@athlonlx.(none)')
==> ERROR: A failure occurred in prepare().
    Aborting...

the pinned comment from two years ago about using pgp seemed not to affect the enduser untill recent update, can someone please elaborate how to pass the identification verification?

eclairevoyant commented on 2023-05-22 20:14 (UTC)

I don't know what any of that means other than I can't really help you then.

Baerbeisser commented on 2023-05-22 20:10 (UTC) (edited on 2023-05-22 20:11 (UTC) by Baerbeisser)

I'm on Artix, which has now independent repos. Can i fix this myself in the PKGBUILD?

eclairevoyant commented on 2023-05-22 19:40 (UTC)

switched to tag revision per guidelines, if that doesn't fix it you might have to delete your local cached copy of the repo

Baerbeisser commented on 2023-05-22 19:31 (UTC)

Huh, now it says

==> Verifying source file signatures with gpg...
    dxvk git repo ... Passed
==> Extracting sources...
  -> Creating working copy of dxvk git repo...
fatal: invalid reference: v2.2
==> ERROR: Failure while creating working copy of dxvk git repo
    Aborting...

jorgicio commented on 2023-05-04 04:28 (UTC)

Hi.

Since GCC is updated to 13 version, this patch is needed in order to build this package.

https://github.com/doitsujin/dxvk/commit/1a5afc77b1859e6c7e31b55e11ece899e3b5295a.patch

eclairevoyant commented on 2023-02-06 06:03 (UTC)

https://stackoverflow.com/questions/16158158/what-is-the-public-url-for-the-github-public-keys

Baerbeisser commented on 2023-02-05 16:21 (UTC) (edited on 2023-02-05 16:23 (UTC) by Baerbeisser)

you will need to import the dev's signing key from GitHub

Ok, i find nothing on github.com/doitsujin/dxvk. How do i get the signing key? Do i need to generate it somehow?

Btw, afterwards pacman-key --recv-keys <key> is correct, yes?

eclairevoyant commented on 2023-01-31 04:48 (UTC) (edited on 2023-01-31 04:48 (UTC) by eclairevoyant)

Renaming a source is unnecessary here, especially in the last case where you're renaming the source to itself which makes no sense. But thanks for catching the missing modules.