Skip to content

Commit e196d29

Browse files
Bot Updating Templated Files
1 parent d61d033 commit e196d29

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ To use hardware acceleration in Wayland mode, we distinguish between the card us
104104
* `DRINODE`: The path to the GPU used for **Rendering** (EGL).
105105
* `DRI_NODE`: The path to the GPU used for **Encoding** (VAAPI/NVENC).
106106

107-
If both variables point to the same device, the container will automatically enable **Zero Copy** encoding, significantly reducing CPU usage and latency.
107+
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.
108+
109+
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**.
108110

109111
##### Intel & AMD (Open Source Drivers)
110112

@@ -119,8 +121,6 @@ For Intel and AMD GPUs.
119121
- DRINODE=/dev/dri/renderD128
120122
- DRI_NODE=/dev/dri/renderD128
121123
```
122-
123-
124124
### SealSkin Compatibility
125125
126126
This container is compatible with [SealSkin](https://sealskin.app).
@@ -141,12 +141,14 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
141141
| Variable | Description |
142142
| :----: | --- |
143143
| PIXELFLUX_WAYLAND | **Experimental** If set to true the container will initialize in Wayland mode running [Smithay](https://github.com/Smithay/smithay) and Labwc while enabling zero copy encoding with a GPU |
144+
| SELKIES_DESKTOP | If set to true and in Wayland mode, a simple panel will be initialized with labwc |
144145
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default `3000` |
145146
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default `3001` |
146147
| CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082 |
147148
| CUSTOM_USER | HTTP Basic auth username, abc is default. |
148149
| DRI_NODE | **Encoding GPU**: Enable VAAPI/NVENC stream encoding and use the specified device IE `/dev/dri/renderD128` |
149150
| DRINODE | **Rendering GPU**: Specify which GPU to use for EGL/3D acceleration IE `/dev/dri/renderD129` |
151+
| 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` |
150152
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
151153
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
152154
| TITLE | The page title displayed on the web browser, default "Selkies" |

0 commit comments

Comments
 (0)