From 1c6deec5b19b5e777da1604f6a790a2741cc83de Mon Sep 17 00:00:00 2001 From: Marc Date: Sat, 27 Jul 2024 19:04:30 +0200 Subject: [PATCH] updated gamerunner --- gamerunner.cfg | 29 +++++++++++++++++++---------- gamerunner.sh | 3 +++ 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/gamerunner.cfg b/gamerunner.cfg index 2e9b1ad..bc171ff 100644 --- a/gamerunner.cfg +++ b/gamerunner.cfg @@ -1,13 +1,21 @@ -# 0=off(default safe) 1=on(might not load or cause crashes) 2=forced(might cause crashes) +# 0=off(default safe) 1=on(ENV mdoe) 2=with_dlsym(so preload mode) MANGOHUD=2 -USE_GAMEMODE=1 USE_DLSYM=1 -#Un comment for forced RTX support -#VKD3D_CONFIG=dxr,dxr11 +USE_GAMEMODE=1 PROTON_ENABLE_NVAPI=1 -#Not useful in most modern games, allows to tell the game you have an nvidia gpu -#PROTON_HIDE_NVIDIA_GPU=0 +#Enable latency flex if your system supports it +#LFX=1 + +#Un comment for RTX support (deprecated) +#VKD3D_CONFIG=dxr,dxr11 + +#Enable dxvk async if your version of proton support it +DXVK_ASYNC=1 + +#Not useful in most modern game, allows to tell the game you have an nvidia gpu +PROTON_HIDE_NVIDIA_GPU=0 + # Update automatically the Nvidia NGX framework, this cause lots of problem, The finals crash with it #PROTON_ENABLE_NGX_UPDATER=1 @@ -24,9 +32,8 @@ mesa_glthread=true __GL_MaxFramesAllowed=1 # Large BAR(Smart access memory) on any AMD hardware ( please use it only on suported hardware ) -#RADV_PERFTEST=sam +RADV_PERFTEST=sam -# Force a specific icd # Put here the icd of your igpu (radv / amdvlk / intel ). full path required ! # RADV @@ -38,6 +45,8 @@ __GL_MaxFramesAllowed=1 # INTEL (useless to specify leave it commented out) # MESA_ICD="/usr/share/vulkan/icd.d/intel_icd.x86_64.json:/usr/share/vulkan/icd.d/intel_icd.i686.json" -# Mostly untested -# Do not trust it with nvidia gpus +#Mostly untested GAMESCOPE=0 + +#Falsify the nvidia driver version, usefull for nvapi on amd and latency flex +# DXVK_NVAPI_DRIVER_VERSION=49729 diff --git a/gamerunner.sh b/gamerunner.sh index e3814bf..49e91b3 100755 --- a/gamerunner.sh +++ b/gamerunner.sh @@ -77,6 +77,9 @@ else export PROTON_HIDE_NVIDIA_GPU export PROTON_ENABLE_NGX_UPDATER export MANGOHUD + export LFX + export DXVK_NVAPI_DRIVER_VERSION + export DXVK_ASYNC if [ "$#" -eq 0 ]; then programname=`basename "$0"`