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
| DRI_NODE | **Encoding GPU**: Enable VAAPI/NVENC stream encoding and use the specified device IE `/dev/dri/renderD128` |
11
11
| DRINODE | **Rendering GPU**: Specify which GPU to use for EGL/3D acceleration IE `/dev/dri/renderD129` |
12
+
| AUTO_GPU | If set to true and in Wayland mode, we will automatically use the first GPU available for encoding and rendering IE `/dev/dri/renderD128` |
12
13
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
13
14
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
14
15
| TITLE | The page title displayed on the web browser, default "Selkies" |
@@ -196,7 +197,9 @@ To use hardware acceleration in Wayland mode, we distinguish between the card us
196
197
* `DRINODE`: The path to the GPU used for **Rendering** (EGL).
197
198
* `DRI_NODE`: The path to the GPU used for **Encoding** (VAAPI/NVENC).
198
199
199
-
If both variables point to the same device, the container will automatically enable **Zero Copy** encoding, significantly reducing CPU usage and latency.
200
+
If both variables point to the same device, the container will automatically enable **Zero Copy** encoding, significantly reducing CPU usage and latency. If they are set to different devices one will be used for **Rendering** and one for **Encoding** with a cpu readback.
201
+
202
+
You can also use the environment variable `AUTO_GPU=true`, with this set the first card detected in the container (IE `/dev/dri/renderD128`) will be used and configured for **Zero Copy**.
200
203
201
204
##### Intel & AMD (Open Source Drivers)
202
205
@@ -219,16 +222,18 @@ For Intel and AMD GPUs.
219
222
220
223
**Note: Nvidia support is not available for Alpine-based images.**
221
224
225
+
**Note: Nvidia frames have issues with hardware decoders in Chromium browsers you need to navigate to `chrome://flags/#disable-accelerated-video-decode` and toggle it to `Disabled` for smooth playback**
226
+
222
227
**Prerequisites:**
223
228
224
229
1. **Driver:** Proprietary drivers **580 or higher** are required. **Crucially, you should install the driver using the `.run` file downloaded directly from the Nvidia website.**
225
230
* **Unraid:** Use the production branch from the Nvidia Driver Plugin.
226
231
227
-
2. **Kernel Parameter:** You must set `nvidia-drm.modeset=1` in your host bootloader.
232
+
2. **Kernel Parameter:** You must set `nvidia-drm.modeset=1 nvidia_drm.fbdev=1` in your host bootloader.
228
233
* **Standard Linux (GRUB):** Edit `/etc/default/grub` and add the parameter to your existing `GRUB_CMDLINE_LINUX_DEFAULT` line:
* **Unraid (Syslinux):** Edit the file `/boot/syslinux/syslinux.cfg` and add `nvidia-drm.modeset=1` to the end of the `append` line for the Unraid OS boot entry.
245
+
* **Unraid (Syslinux):** Edit the file `/boot/syslinux/syslinux.cfg` and add `nvidia-drm.modeset=1 nvidia_drm.fbdev=1` to the end of the `append` line for the Unraid OS boot entry.
241
246
242
247
3. **Hardware Initialization:** **On headless systems, the Nvidia video card requires a physical dummy plug inserted into the GPU so that DRM initializes properly.**
0 commit comments