You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/images/docker-steam.md
+49-2Lines changed: 49 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -45,8 +45,19 @@ The application can be accessed at:
45
45
>[!NOTE]
46
46
>This image is for a web accessible version of Steam to be played through a web browser it is in development and has oddities, if you want a fully flushed out Moonlight couch solution please consider [Wolf](https://games-on-whales.github.io/wolf/stable/user/quickstart.html) or another non Docker solution. Moonlight clients have major advantages over using a web browser.
47
47
48
-
>[!NOTE]
49
-
>NVIDIA is not working yet, for now this image is only for Intel/AMD graphics cards.
48
+
## GPU Support
49
+
50
+
Using an Intel/AMD GPU is usually as easy as just passing `--device /dev/dri:/dev/dri`.
51
+
If you have multiple GPUs you need to pass both the setting for the render node and the encoder IE for the second GPU:
52
+
53
+
```
54
+
-e DRINODE=/dev/dri/renderD129 \
55
+
-e DRI_NODE=/dev/dri/renderD129
56
+
```
57
+
58
+
Nvidia support only works on 580 and up full proprietary drivers (no MIT/GPL) with `nvidia-drm.modeset=1` kernel parameter set. You must ensure the card is initialized before running a container so on headless systems run `nvidia-modprobe --modeset` from the host even with this kernel parameter set, this only needs to be run once per boot.
59
+
60
+
These modifications for NVIDIA are for Wayland to function properly and have nothing to do with the Docker runtime. If you are using compose it is important to run `sudo nvidia-ctk runtime configure --runtime=docker` this is a persistent setting and only needs to run once.
50
61
51
62
## Gamepad support
52
63
@@ -182,6 +193,41 @@ The `DRINODE` environment variable can be used to point to a specific GPU.
182
193
183
194
DRI3 will work on aarch64 given the correct drivers are installed inside the container for your chipset.
184
195
196
+
### Nvidia GPU Support
197
+
198
+
**Note: Nvidia support is not available for Alpine-based images.**
199
+
200
+
Nvidia GPU support is available by leveraging Zink for OpenGL. When a compatible Nvidia GPU is passed through, it will also be **automatically utilized for hardware-accelerated video stream encoding** (using the `x264enc` full-frame profile), significantly reducing CPU load.
201
+
202
+
Enable Nvidia support with the following runtime flags:
203
+
204
+
| Flag | Description |
205
+
| :----: | --- |
206
+
|`--gpus all`| Passes all available host GPUs to the container. This can be filtered to specific GPUs. |
207
+
|`--runtime nvidia`| Specifies the Nvidia runtime, which provides the necessary drivers and tools from the host. |
208
+
209
+
For Docker Compose, you must first configure the Nvidia runtime as the default on the host:
0 commit comments