I've finally had enough of the late-game and replay crashing and at foodlfg's suggestion, I've selected Proton 4.11 in my Steam options. I have also added the following bits to the launch options:
DXVK_HUD=1 PROTON_USE_D9VK=1 PROTON_NO_ESYNC=1 PROTON_DUMP_DEBUG_COMMANDS=1 PROTON_LOG=1
Now, this works if I run the game from Steam. I can see the HUD with FPS counter and "Vulkan 1.1.1" text. Skirmishes work fine and I see no problem.
However, the hud does not display when launching a test game from DFC. That leads me to believe that these options are not being supplied.
I have edited the run file to point to the correct subsystem and I know the correct prefix is selected, and I have exported the options as above. I also know that this run file is being executed since I am playing a wav file using alsa-utils. The sound plays just as you click "Create game" and the lobby launches.
- Code: Select all
#!/bin/bash
#Run game or given command in environment
export DXVK_HUD=1
export PROTON_USE_D9VK=1
export PROTON_NO_ESYNC=1
export PROTON_DUMP_DEBUG_COMMANDS=1
export PROTON_LOG=1
aplay /usr/share/sounds/sound-icons/cockchafer-gentleman-1.wav
cd "/home/rhianne/.local/share/Steam/steamapps/common/Supreme Commander Forged Alliance"
DEF_CMD=("/home/rhianne/.local/share/Steam/steamapps/common/Supreme Commander Forged Alliance/bin/SupremeCommander.exe")
PATH="/home/rhianne/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin/:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/bin:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" \
TERM="xterm" \
WINEDEBUG="-all" \
WINEDLLPATH="/home/rhianne/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib64/wine:/home/rhianne/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib/wine" \
LD_LIBRARY_PATH="/home/rhianne/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib64:/home/rhianne/.local/share/Steam/steamapps/common/Proton 4.11/dist/lib:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_32:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/pinned_libs_64:/usr/lib/x86_64-linux-gnu/libfakeroot:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/lib:/usr/lib:/usr/lib/i386-linux-gnu/sse2:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib/i386-linux-gnu:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/i386/lib:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/i386/usr/lib:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib/x86_64-linux-gnu:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/lib:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu:/home/rhianne/.local/share/Steam/ubuntu12_32/steam-runtime/amd64/usr/lib:" \
WINEPREFIX="/home/rhianne/.local/share/Steam/steamapps/compatdata/9420/pfx/" \
SteamGameId="9420" \
SteamAppId="9420" \
WINEDLLOVERRIDES="d3d11=n;d3d10=n;d3d10core=n;d3d10_1=n;dxgi=n" \
STEAM_COMPAT_CLIENT_INSTALL_PATH="/home/rhianne/.local/share/Steam" \
"/home/rhianne/.local/share/Steam/steamapps/common/Proton 4.11/dist/bin//wine" "${@:-${DEF_CMD[@]}}"
However, the hud does not display and my conclusion is that d9vk is not being utilized. In other words, Steam launches the game using the options and DFC does not, but I don't know where to begin digging further. Any help would be very much appreciated <3
Thanks!
Rhianne
ETA I have even tried exporting the options in the DFC runfile but still no hud.
ETA2: After some digging in the thread I downloaded d9vk from github and launched it like so, with the following output:
- Code: Select all
rhianne@Palantir:~/faf/d9vk-master$ WINEPREFIX=$HOME/.local/share/Steam/steamapps/compatdata/9420/pfx PATH=$HOME/.local/share/Steam/steamapps/common/Proton\ 4.11/dist/bin:$PATH ./setup_dxvk.sh install
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/rhianne/.local/share/Steam/steamapps/compatdata/9420/pfx' has been updated.
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/rhianne/.local/share/Steam/steamapps/compatdata/9420/pfx' has been updated.
Failed to resolve C:\windows\system32.
Two small dialogs pop up with updating status info, then nothing except the above terminal output. I have no idea whether the error messages are of any importance.