Skip to content

Commit b58713a

Browse files
authored
dlss: add script to switch to latest dlss preset (#135)
* dlss: add script to switch to latest dlss preset Signed-off-by: Peter Jung <[email protected]> * dlss-swapper: Add exec Signed-off-by: Peter Jung <[email protected]> --------- Signed-off-by: Peter Jung <[email protected]>
1 parent 012a488 commit b58713a

File tree

2 files changed

+25
-0
lines changed

2 files changed

+25
-0
lines changed

usr/bin/dlss-swapper

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/bash
2+
3+
# This forces Nvidia DLSS to use the latest preset for SR, RR and framegen + updates the dlss dlls via ngx
4+
5+
export PROTON_ENABLE_NGX_UPDATER=1
6+
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE=on
7+
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE=on
8+
export DXVK_NVAPI_DRS_NGX_DLSS_FG_OVERRIDE=on
9+
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest
10+
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest
11+
12+
# applied variables, now execute the rest of the command
13+
exec "$@"

usr/bin/dlss-swapper-dll

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/bash
2+
3+
# This forces Nvidia DLSS to use the latest preset for SR, RR and framegen + skips ngx updater
4+
5+
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE=on
6+
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE=on
7+
export DXVK_NVAPI_DRS_NGX_DLSS_FG_OVERRIDE=on
8+
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest
9+
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest
10+
11+
# applied variables, now execute the rest of the command
12+
exec "$@"

0 commit comments

Comments
 (0)