https://bugs.winehq.org/show_bug.cgi?id=57947
Bug ID: 57947 Summary: Wine 10.2 and newer breaks setup_dxvk.sh script by installing x86 dlls to system32 Product: Wine Version: 10.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: miov01@protonmail.com Distribution: ---
Created attachment 78196 --> https://bugs.winehq.org/attachment.cgi?id=78196 setup script for dxvk
Hello.
While I am aware that on the dxvk github page the setup_dxvk.sh script is no longer included, this script has been used by many people including myself in projects distributed to other users. So it is ideal that the setup script continues to work with the wine mainline at least for a while longer. (since this issue came out of nowhere without warning)
Since the 10.2 wine-staging or wine 10.2 release and newer, wine has been unable to install dxvk into the prefix using the setup_dxvk.sh script which I will be attaching here.
The regression is due to a change in wine which results in the script copying the x86 dll's to the system32 directory for x64 dlls.
After that the script stops and does not touch the syswow64 directory.
Output of the script looks as such:
```sh WINEPREFIX="$PWD/prefix" bash setup_dxvk.sh install renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/dxgi.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/dxgi.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/dxgi.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/dxgi.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d9.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d9.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/d3d9.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d9.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d10core.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d10core.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/d3d10core.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d10core.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d11.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d11.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/d3d11.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d11.dll' ```
while in 10.1 it looks like this ```sh WINEPREFIX="$PWD/prefix" bash setup_dxvk.sh install renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/dxgi.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/dxgi.dll.old' '/home/mrman/Documents/vulkan/dxvk/x64/dxgi.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/dxgi.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/dxgi.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/dxgi.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/dxgi.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/dxgi.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d9.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d9.dll.old' '/home/mrman/Documents/vulkan/dxvk/x64/d3d9.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d9.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d9.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d9.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/d3d9.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d9.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d10core.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d10core.dll.old' '/home/mrman/Documents/vulkan/dxvk/x64/d3d10core.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d10core.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d10core.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d10core.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/d3d10core.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d10core.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d11.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d11.dll.old' '/home/mrman/Documents/vulkan/dxvk/x64/d3d11.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/system32/d3d11.dll' renamed '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d11.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d11.dll.old' '/home/mrman/Documents/vulkan/dxvk/x32/d3d11.dll' -> '/home/mrman/Documents/vulkan/dxvk/prefix/dosdevices/c:/windows/syswow64/d3d11.dll' ```