openvibers/source.openvibe.games Commits

Fix Win32 tier3 linker input and Proton DXVK async crash

CO Copilot committed 2 Jul 2026 · 64234bbf89 · 2 files, +7 −2

tier3.lib was missing from the Win32 compat-lib stub list, causing
LNK1181 on the HL2MP client link (same class of fix as the prior
tier0/vstdlib/steam_api/libz stubs). Also default DXVK_ASYNC=0 for the
Proton client launcher: async shader compilation was racing swapchain
teardown on first launch and intermittently killing hl2.exe right
after the first frame with no error trace.

Changes

ddiff --git a/tools/build-sdk-windows.ps1 b/tools/build-sdk-windows.ps1
iindex c0cfffe..3134605 100644
---- a/tools/build-sdk-windows.ps1
++++ b/tools/build-sdk-windows.ps1
@@@ -918,7 +918,8 @@ function Ensure-OpenVibeWin32ImportCompatibilityLibs {
"tier0.lib",
"vstdlib.lib",
"steam_api.lib",
-- "libz.lib"
++ "libz.lib",
++ "tier3.lib"
)
foreach ($libName in $compatLibs) {
ddiff --git a/tools/run-client-proton.sh b/tools/run-client-proton.sh
iindex 254f6d2..2ce12ac 100755
---- a/tools/run-client-proton.sh
++++ b/tools/run-client-proton.sh
@@@ -51,7 +51,11 @@ export STEAM_COMPAT_CLIENT_INSTALL_PATH="$STEAM_PATH"
export STEAM_COMPAT_DATA_PATH="$STEAM_COMPAT_DATA"
export SteamAppId="${SteamAppId:-243750}"
export PROTON_LOG="${OPENVIBE_PROTON_LOG:-${PROTON_LOG:-1}}"
--export DXVK_ASYNC="${DXVK_ASYNC:-1}"
++
++# DXVK_ASYNC=1 races async shader pipeline compilation against DXVK swapchain
++# teardown on first launch; hl2.exe intermittently dies right after the first
++# frame with no error trace. Default off for reliability.
++export DXVK_ASYNC="${DXVK_ASYNC:-0}"
exec "$GE_PROTON/proton" waitforexitandrun \
"$HL2_EXE" \