protonscr

setup_dxvk.sh fails on wine64 only setup (without wow64)

dxvkclosed
doitsujin/dxvk#2921 · opened 2022-09-14 by okias · updated 2022-11-25 · 3 comments · github
Ookias 2022-09-14 github

https://github.com/doitsujin/dxvk/blob/v1.10.3/setup_dxvk.sh#L63

By looking at the script, it seems that when wine is symlinked to wine64 then system32 dxvk dlls are overwritten by  syswow64.

Maybe looking for wine32 instead of wine could make sense?

Possible solutions:

- look for wine32 instead of wine
 - write the native 64-bit version as last (so overwrite 32-bit, which gets pointed into the same location as 64-bit)
 - determine whether or not the paths are identical.

Ddoitsujin maintainer 2022-09-14 github

We haven't really supported this because there's no real use case for it. Yes, it can be fixed, but it is very, very very low on the priority list.

  • determine whether or not the paths are identical.

This is probably the best way to go about it, but we have to consider pure 32-bit prefixes too.

Ookias 2022-09-14 github
sed -i 's/wine="wine"/wine="wine32"/' setup_dxvk.sh

I currently patched it like this and does work. Yeah, it's as you say, it seems that minimum of people using pure wine64.

BBlisto91 2022-11-25 github

Upstream links