Hello. This should already be possible when NVAPI is enabled with DXVK_NVAPI_DRIVER_VERSION. See https://github.com/jp7677/dxvk-nvapi#tweaks-debugging-and-troubleshooting
Tho documenting this in the proton readme might be nice or having some built in overrides for apps that do this.
DXVK_NVAPI_DRIVER_VERSIONx1 2022-11PROTON_ENABLE_NVAPI=1x1 2022-11PROTON_HIDE_NVIDIA_GPU=0x1 2022-11PROTON_REPORT_NVIDIA_DRIVER_VERSION=5.16.94`x1 2022-11
Some of the games released by the Playstation Company on steam will refuse to enable DLSS unless the following options are passed:
PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 %command% -nolauncherThis allows for these games to detect that an Nvidia GPU is in use, but sometimes they query the wrong driver version.
I can have Nvidia 5.25 installed, but these games will produce an error message with the following:
`Your GPU NVIDIA Geforce RTX 3090 is compatible with the name, but for the best experience we recommend using newer drivers (at least 5.16.94). The game may have visual problems or stability issues on your current driver (version [Some Random Junk]). Please download the latest drivers from your GPU manufacturer website'
This indicates to me that the game believes it is running on an older driver version. The game runs fine, and this enables DLSS, but it would be nice to have an environment variable that manually sets the reported driver version to get around errors like this.
Something like
PROTON_REPORT_NVIDIA_DRIVER_VERSION=5.16.94to silence these errors.