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
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
+
86
101
### DRI3 GPU Acceleration
87
102
88
103
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
0 commit comments