Steam-Headless / docker-steam-headless

A Headless Steam Docker image supporting NVIDIA GPU and accessible via Web UI
GNU General Public License v2.0
730 stars 79 forks source link

Enable DLSS with Nvidia Cards #103

Closed ApfelBirneKreis closed 3 months ago

ApfelBirneKreis commented 7 months ago

Is your feature request related to a problem?

Currently on my 3060 and the latest steam headless i can not enable dlss

What is your feature request?

Enable DLSS functionality with nvidia cards

Are there any workarounds?

No response

Additional Context

No response

alansari commented 7 months ago

Just need to add this to your launch command:

PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 %command%

You can do it globally by adding it as an env variable for the container but it's not recommended at all as there will be dragons.

ApfelBirneKreis commented 7 months ago

@alansari how would this env variable look? whats the key for it?

alansari commented 7 months ago

If you are using unRAID you can just add it to the template. The key would be PROTON_ENABLE_NVAPI and value 1. Portainer, yacht, or compose, add it to the stack.env or .env file. Again I strongly recommend against this. Just use proton-ge and enable it for the games that require it.

ApfelBirneKreis commented 7 months ago

Worked :)

ApfelBirneKreis commented 5 months ago

PROTON_HIDE_NVIDIA_GPU=0 PROTON_ENABLE_NVAPI=1 %command% This suddenly does not work anymore!