-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/bash | ||
|
||
# This forces Nvidia DLSS to use the latest preset for SR, RR and framegen + updates the dlss dlls via ngx | ||
|
||
export PROTON_ENABLE_NGX_UPDATER=1 | ||
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE=on | ||
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE=on | ||
export DXVK_NVAPI_DRS_NGX_DLSS_FG_OVERRIDE=on | ||
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest | ||
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest | ||
|
||
# applied variables, now execute the rest of the command | ||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/bash | ||
|
||
# This forces Nvidia DLSS to use the latest preset for SR, RR and framegen + skips ngx updater | ||
|
||
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE=on | ||
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE=on | ||
export DXVK_NVAPI_DRS_NGX_DLSS_FG_OVERRIDE=on | ||
export DXVK_NVAPI_DRS_NGX_DLSS_RR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest | ||
export DXVK_NVAPI_DRS_NGX_DLSS_SR_OVERRIDE_RENDER_PRESET_SELECTION=render_preset_latest | ||
|
||
# applied variables, now execute the rest of the command | ||
exec "$@" |