Skip to content

Commit 6192d69

Browse files
authored
Merge pull request #368 from linuxserver/selkies-gpu-note
add notes about clamping when a GPU is in use
2 parents 32bd104 + e069699 commit 6192d69

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

  • ansible/roles/documentation/templates/README_SNIPPETS

ansible/roles/documentation/templates/README_SNIPPETS/SELKIES.j2

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,21 @@ SealSkin is a self-hosted, client-server platform that provides secure authentic
8383
* **SealSkin Server:** [Get it Here](https://github.com/linuxserver/docker-sealskin)
8484
* **Browser Extension:** [Install Here](https://chromewebstore.google.com/detail/sealskin-isolation/lclgfmnljgacfdpmmmjmfpdelndbbfhk)
8585

86+
### All GPU Acceleration - use sane resolutions
87+
88+
When using 3d acceleration via Nvidia DRM or DRI3 it is important to clamp the virtual display to a reasonable max resolution. This can be achieved with the environment setting:
89+
90+
* `-e MAX_RESOLUTION=3840x2160`
91+
92+
This will set the total virtual framebuffer to 4K, you can also set a manual resolution to achieve this.
93+
By default the virtual monitor in the session is 16K to support large monitors and dual display configurations. Leaving it this large has no impact on CPU based performance but costs GPU memory usage and memory bandwidth when leveraging one for acceleration. If you have performance issues in an accelerated session, try clamping the resolution to 1080p and work up from there:
94+
95+
```
96+
-e SELKIES_MANUAL_WIDTH=1920
97+
-e SELKIES_MANUAL_HEIGHT=1080
98+
-e MAX_RESOLUTION=1920x1080
99+
```
100+
86101
### DRI3 GPU Acceleration
87102

88103
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:

0 commit comments

Comments
 (0)