Skip to content

Commit c6c0f73

Browse files
Bot Updating Templated Files
1 parent fabeb1f commit c6c0f73

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

README.md

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

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

122124
##### Intel & AMD (Open Source Drivers)
123125

@@ -132,8 +134,6 @@ For Intel and AMD GPUs.
132134
- DRINODE=/dev/dri/renderD128
133135
- DRI_NODE=/dev/dri/renderD128
134136
```
135-
136-
137137
### SealSkin Compatibility
138138
139139
This container is compatible with [SealSkin](https://sealskin.app).
@@ -154,12 +154,14 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
154154
| Variable | Description |
155155
| :----: | --- |
156156
| 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 |
157+
| SELKIES_DESKTOP | If set to true and in Wayland mode, a simple panel will be initialized with labwc |
157158
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default `8080` |
158159
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default `8181` |
159160
| CUSTOM_WS_PORT | Internal port the container listens on for websockets if it needs to be swapped from the default 8082 |
160161
| CUSTOM_USER | HTTP Basic auth username, abc is default. |
161162
| DRI_NODE | **Encoding GPU**: Enable VAAPI/NVENC stream encoding and use the specified device IE `/dev/dri/renderD128` |
162163
| DRINODE | **Rendering GPU**: Specify which GPU to use for EGL/3D acceleration IE `/dev/dri/renderD129` |
164+
| 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` |
163165
| PASSWORD | HTTP Basic auth password, abc is default. If unset there will be no auth |
164166
| SUBFOLDER | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/` |
165167
| TITLE | The page title displayed on the web browser, default "Selkies" |

0 commit comments

Comments
 (0)