openvibers/source.openvibe.games Commits
Fix Proton map-load crash with Source stability flags
Changes
nnew file mode 100644@@@ -0,0 +1,23 @@++// OpenVibe Proton stability config — executed BEFORE connect so these take++// effect for the first map load. Source SDK 2013's multithreaded render/anim++// paths and joystick/audio init are the common causes of intermittent map-load++// crashes under Proton/DXVK. Disable them for reliable in-game testing.++echo "==== OpenVibe Proton stability cfg loaded ===="++++// Single-threaded material system (biggest map-load crash fix under DXVK).++mat_queue_mode 0++++// Disable threaded animation / leaf-system paths that crash under Proton.++cl_threaded_bone_setup 0++cl_threaded_client_leaf_system 0++r_threaded_client_shadow_manager 0++r_queued_ropes 0++r_queued_decals 0++r_queued_post_processing 0++++// Audio: don't stall/crash when the window loses focus; safer async mix.++snd_mute_losefocus 0++++// Reduce first-frame shader/pipeline churn that can trip DXVK during load.++mat_dxlevel 90++r_3dsky 0@@@ -62,7 +62,9 @@ exec "$GE_PROTON/proton" waitforexitandrun \-game "$GAME_DIR" \-console -dev -condebug -novid -sw -w 1280 -h 720 \-port 27115 -clientport 27105 \++ -nojoy -insecure -nohltv \+developer 1 \++ +exec openvibe_proton_stability.cfg \+con_logfile openvibe_proton_console.log \+exec openvibe_proton_client.cfg \$CONNECT_ARGS
new file mode 100644
new file mode 100644
@@ -0,0 +1,23 @@
@@ -0,0 +1,23 @@
+// OpenVibe Proton stability config — executed BEFORE connect so these take
+// effect for the first map load. Source SDK 2013's multithreaded render/anim
+// paths and joystick/audio init are the common causes of intermittent map-load
+// crashes under Proton/DXVK. Disable them for reliable in-game testing.
+echo "==== OpenVibe Proton stability cfg loaded ===="
+
+// Single-threaded material system (biggest map-load crash fix under DXVK).
+mat_queue_mode 0
+
+// Disable threaded animation / leaf-system paths that crash under Proton.
+cl_threaded_bone_setup 0
+cl_threaded_client_leaf_system 0
+r_threaded_client_shadow_manager 0
+r_queued_ropes 0
+r_queued_decals 0
+r_queued_post_processing 0
+
+// Audio: don't stall/crash when the window loses focus; safer async mix.
+snd_mute_losefocus 0
+
+// Reduce first-frame shader/pipeline churn that can trip DXVK during load.
+mat_dxlevel 90
+r_3dsky 0
@@ -62,7 +62,9 @@ exec "$GE_PROTON/proton" waitforexitandrun \
@@ -62,7 +62,9 @@ exec "$GE_PROTON/proton" waitforexitandrun \
-game "$GAME_DIR" \
-game "$GAME_DIR" \
-console -dev -condebug -novid -sw -w 1280 -h 720 \
-console -dev -condebug -novid -sw -w 1280 -h 720 \
-port 27115 -clientport 27105 \
-port 27115 -clientport 27105 \
+ -nojoy -insecure -nohltv \
+developer 1 \
+developer 1 \
+ +exec openvibe_proton_stability.cfg \
+con_logfile openvibe_proton_console.log \
+con_logfile openvibe_proton_console.log \
+exec openvibe_proton_client.cfg \
+exec openvibe_proton_client.cfg \
$CONNECT_ARGS
$CONNECT_ARGS