Skip to content

Commit 729b95b

Browse files
authored
Selkies update (#346)
* update snippet to contain DRI3 information * quote key
1 parent 8357373 commit 729b95b

File tree

1 file changed

+20
-0
lines changed
  • ansible/roles/documentation/templates/README_SNIPPETS

1 file changed

+20
-0
lines changed

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

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
2727
| `START_DOCKER` | If set to `false`, the privileged Docker-in-Docker setup will not start automatically. |
2828
| `DISABLE_IPV6` | Set to `true` to disable IPv6 support in the container. |
2929
| `LC_ALL` | Sets the container's locale, e.g., `fr_FR.UTF-8`. |
30+
| `DRINODE` | If mounting in /dev/dri for DRI3 GPU Acceleration allows you to specify the device to use IE `/dev/dri/renderD128` |
3031
| `NO_DECOR` | If set, applications will run without window borders, suitable for PWA usage. |
3132
| `NO_FULL` | If set, applications will not be automatically fullscreened. |
3233
| `DISABLE_ZINK` | If set, Zink-related environment variables will not be configured when a video card is detected. |
@@ -39,6 +40,7 @@ This container is based on [Docker Baseimage Selkies](https://github.com/linuxse
3940
| :----: | --- |
4041
| `--privileged` | Starts a Docker-in-Docker (DinD) environment. For better performance, mount the Docker data directory from the host, e.g., `-v /path/to/docker-data:/var/lib/docker`. |
4142
| `-v /var/run/docker.sock:/var/run/docker.sock` | Mounts the host's Docker socket to manage host containers from within this container. |
43+
| `--device /dev/dri:/dev/dri` | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated applications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |
4244

4345
### Language Support - Internationalization
4446

@@ -55,6 +57,24 @@ To launch the desktop session in a different language, set the `LC_ALL` environm
5557
* `-e LC_ALL=nl_NL.UTF-8` - Netherlands
5658
* `-e LC_ALL=it_IT.UTF-8` - Italian
5759

60+
### DRI3 GPU Acceleration
61+
62+
For accelerated apps or games, render devices can be mounted into the container and leveraged by applications using:
63+
64+
`--device /dev/dri:/dev/dri`
65+
66+
This feature only supports **Open Source** GPU drivers:
67+
68+
| Driver | Description |
69+
| :----: | --- |
70+
| Intel | i965 and i915 drivers for Intel iGPU chipsets |
71+
| AMD | AMDGPU, Radeon, and ATI drivers for AMD dedicated or APU chipsets |
72+
| NVIDIA | nouveau2 drivers only, closed source NVIDIA drivers lack DRI3 support |
73+
74+
The `DRINODE` environment variable can be used to point to a specific GPU.
75+
76+
DRI3 will work on aarch64 given the correct drivers are installed inside the container for your chipset.
77+
5878
{% if show_nvidia is defined %}### Nvidia GPU Support
5979

6080
**Note: Nvidia support is not available for Alpine-based images.**

0 commit comments

Comments
 (0)