Skip to content

Commit d3c027a

Browse files
Bot Updating Documentation
1 parent 2d2c83a commit d3c027a

1 file changed

Lines changed: 18 additions & 14 deletions

File tree

docs/images/docker-bitcoin-knots.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -66,20 +66,28 @@ The web interface includes a terminal with passwordless `sudo` access. Any user
6666

6767
While not generally recommended, certain legacy environments specifically those with older hardware or outdated Linux distributions may require the deactivation of the standard seccomp profile to get containerized desktop software to run. This can be achieved by utilizing the `--security-opt seccomp=unconfined` parameter. It is critical to use this option only when absolutely necessary as it disables a key security layer of Docker, elevating the potential for container escape vulnerabilities.
6868

69-
### Hardware Acceleration & The Move to Wayland
69+
### FullColor 4:4:4 Encoding
7070

71-
We are currently transitioning our desktop containers from X11 to Wayland. While X11 is still the default, we strongly encourage users to test the new Wayland mode.
71+
If you notice blurry text, particularly light text on a black background, you can send true 8-bit color to the browser by enabling the **FullColor 4:4:4** encoding in the sidebar, or by using the jpeg encoding mode.
7272

73-
**Important:** GPU acceleration support for X11 is being deprecated. Future development for hardware acceleration will focus entirely on the Wayland stack.
73+
**Note on Hardware Acceleration:** Currently, only Nvidia GPUs support encoding this color profile in **Zero Copy** mode. If FullColor 4:4:4 is enabled on Intel or AMD GPUs, the system will fall back to CPU encoding. This forces the CPU to read the pixels back from the GPU, which will cause a significant decrease in performance.
7474

75-
To enable Wayland mode, set the following environment variable:
75+
### Hardware Acceleration & Wayland
7676

77-
* `-e PIXELFLUX_WAYLAND=true`
77+
We have transitioned our desktop containers from X11 to a modern Wayland stack, which is now the default.
7878

79-
**Why use Wayland?**
79+
**Hardware Fallback Note:** On `x86_64` architecture, the Wayland stack requires a processor with AVX2 support (Intel Haswell generation or newer). If your processor lacks AVX2 (such as older CPUs or certain low-end Celerons), the container will automatically fall back to X11.
80+
81+
**Important:** GPU acceleration support for X11 is deprecated. Future development for hardware acceleration is focused entirely on the Wayland stack.
82+
83+
If you experience compatibility issues and need to manually disable Wayland (forcing a fallback to X11), you can do so by setting the following environment variable:
84+
85+
* `-e PIXELFLUX_WAYLAND=false`
86+
87+
**Why Wayland?**
8088

8189
* **Zero Copy Encoding:** When configured correctly with a GPU, the frame is rendered and encoded on the video card without ever being copied to the system RAM. This drastically lowers CPU usage and latency.
82-
* **Modern Stack:** Single-application containers utilize **Labwc** (replacing Openbox) and full desktop containers use **KDE Plasma Wayland**, providing a more modern and secure compositing environment while retaining the same user experience.
90+
* **Modern Stack:** Single-application containers utilize **Labwc** (replacing Openbox) and full desktop containers use **KDE Plasma Wayland**, providing a more modern, performant, and secure compositing environment while retaining the same user experience.
8391

8492
#### GPU Configuration
8593

@@ -110,12 +118,8 @@ For Intel and AMD GPUs.
110118
111119
##### Nvidia (Proprietary Drivers)
112120
113-
**Note: Nvidia support is currently considered experimental, driver changes can break it at any time.**
114-
115121
**Note: Nvidia support is not available for Alpine-based images.**
116122
117-
**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**
118-
119123
**Prerequisites:**
120124
121125
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.**
@@ -186,7 +190,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
186190

187191
| Variable | Description |
188192
| :----: | --- |
189-
| 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 |
193+
| PIXELFLUX_WAYLAND | 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 |
190194
| SELKIES_DESKTOP | If set to true and in Wayland mode, a simple panel will be initialized with labwc |
191195
| CUSTOM_PORT | Internal port the container listens on for http if it needs to be swapped from the default `3000` |
192196
| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default `3001` |
@@ -237,14 +241,14 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
237241

238242
When using 3d acceleration via Nvidia DRM or DRI3 in X11 mode, it is important to clamp the virtual display to a reasonable max resolution to avoid memory exhaustion or poor performance.
239243

240-
* `-e MAX_RESOLUTION=3840x2160`
244+
* `-e MAX_RES=3840x2160`
241245

242246
This will set the total virtual framebuffer to 4K. By default, the virtual monitor is 16K. If you have performance issues in an accelerated X11 session, try clamping the resolution to 1080p and work up from there:
243247

244248
```bash
245249
-e SELKIES_MANUAL_WIDTH=1920
246250
-e SELKIES_MANUAL_HEIGHT=1080
247-
-e MAX_RESOLUTION=1920x1080
251+
-e MAX_RES=1920x1080
248252
```
249253

250254

0 commit comments

Comments
 (0)