I have had wine staging 6.19 working for awhile, but decided to try a new build. wine 7.14 staging. I don't use debian or ubuntu or use any package management. This is the general outline I would follow:
1. install vulkansdk
2. build and install vkd3d
3. download wine, download staging, and apply it
4. build, and install wine staging
5. initialization/first run
6. winetricks dxvk
7. install vkd3d-proton if needed
And it was mostly working, but I was having dx12 issues. When I got 6.19 working I wasn't using generic vkd3d-proton like listed above, but a hacked version to work with Diablo II Resurrected.
So my searches brought me to:
https://wiki.winehq.org/Vkd3d
https://wiki.winehq.org/Building_a_MinG ... kd3d_build
And I am following the above as best I can.
I got up to the following section:
Build a 64-bit vkd3d installation
Code: Select all
cd vkd3d64
../vkd3d-git/configure \
--host=x86_64-w64-mingw32 \
--prefix="$HOME/wine-dirs/vkd3d64-prefix" \
WIDL="$HOME/wine-dirs/wine64p/tools/widl/widl" \
VULKAN_LIBS="-L$HOME/wine-dirs/wine64p/dlls/vulkan-1/" \
CPPFLAGS="-I$HOME/wine-dirs/vulkan-sdk/x86_64/include" \
LDFLAGS="-static-libgcc"
It does say the following:
So I createdWe use CPPFLAGS so that the compiler knows to search in the vulkan-sdk folder for the vulkan headers (-I flag). Note that you cannot pass -I/usr/include/ here to use the host headers; this will result in incorrect detection of headers like dlfcn.h. You will need to copy host headers to a separate directory.
$HOME/wine-dirs/include
And added it to the cppflags portion:
Code: Select all
CPPFLAGS="-I$HOME/wine-dirs/vulkan-sdk/x86_64/include -I$HOME/wine-dirs/include" \
Code: Select all
cp /usr/include/term.h $HOME/wine-dirs/include
cp /usr/include/ncurses_dll.h $HOME/wine-dirs/include
cp /usr/include/termios.h $HOME/wine-dirs/include
cp /usr/include/features.h $HOME/wine-dirs/include
cp /usr/include/stdc-predef.h $HOME/wine-dirs/include
cp /usr/include/gnu/stubs.h $HOME/wine-dirs/include/gnu
cp /usr/include/bits/types.h $HOME/wine-dirs/include/bits
cp /usr/include/bits/wordsize.h $HOME/wine-dirs/include/bits
cp /usr/include/bits/typesizes.h $HOME/wine-dirs/include/bits