Skip to content

Fail to install VKD3D using affinity-nix winetricks #100

@ogdenwebb

Description

@ogdenwebb

Describe the bug

I found that to get Hardware Acceleration working inside Affinity on Nix you need to install DXVK and VKD3D inside Wine prefix. More workarounds rather suggest to enable VKD3D if any problems are presented. DXVK was installed completely fine with affinity-nix, but with VKD3D it doesn't work.

Steps To Reproduce

Run affinity-v3 winetricks vkd3d

Console log

❯ affinity-v3 winetricks vkd3d --verbose
Executing cd /nix/store/h1i0v4bx9c4qlvymy073azvk6aizv5rl-winetricks-20250102/bin
------------------------------------------------------
warning: Unknown file arch of /nix/store/xp1wd0k3fhv6a0salj4rxarv4d1s3lmr-wine-symlink/bin/wine.
------------------------------------------------------
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
warning: WoW64 type could not be detected.
------------------------------------------------------
Using winetricks 20250102 - sha256sum: c4fe841320708d2576706dd788576e806a1bfc778bdbef5e4c378b325659a932 with wine-9.14 and WINEARCH=win64
Executing w_do_call vkd3d
------------------------------------------------------
warning: Unknown file arch of /nix/store/xp1wd0k3fhv6a0salj4rxarv4d1s3lmr-wine-symlink/bin/wine.
------------------------------------------------------
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
warning: WoW64 type could not be detected.
------------------------------------------------------
Executing load_vkd3d
Executing rm -f /tmp/winetricks.2JTiiZqE/release.json
grep: warning: stray \ before /
------------------------------------------------------
warning: Please refer to vkd3d-proton version 3.0b release notes... See: https://github.com/HansKristian-Work/vkd3d-proton/releases/tag/3.0b
------------------------------------------------------
------------------------------------------------------
warning: Please refer to current vkd3d-proton base graphics driver requirements... See: https://github.com/HansKristian-Work/vkd3d-proton#drivers
------------------------------------------------------
Executing cd /home/ogden/.local/share/affinity-v3/dosdevices/c:/windows/temp
Executing tar --use-compress-program=unzstd -xvf /home/ogden/.cache/winetricks/vkd3d/vkd3d-proton-3.0b.tar.zst
tar (child): unzstd: Cannot exec: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
------------------------------------------------------
warning: Note: command tar --use-compress-program=unzstd -xvf /home/ogden/.cache/winetricks/vkd3d/vkd3d-proton-3.0b.tar.zst returned status 2. Aborting.
------------------------------------------------------

Environment

  • OS: NixOS unstable.

zstd package is installed on my system.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions