Skip to content

Commit e31a047

Browse files
committed
docs: document non-root GPU access for Turnip
Add a note to the Turnip section (EN and zh-CN) explaining that non-root users must be added to the droidspaces-gpu group to access the GPU device nodes. Signed-off-by: ravindu644 <droidcasts@protonmail.com>
1 parent 9d6b861 commit e31a047

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

Documentation/Graphics-and-Audio.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ Near-native hardware acceleration for **Qualcomm Adreno GPUs** using the open-so
164164
165165
4. Run a GUI application inside the container - Turnip GPU acceleration will be active.
166166
167+
> [!NOTE]
168+
>
169+
> **Permission Management (Non-Root Users):** If you are using a non-root user, you must grant them access to the GPU device nodes: `sudo usermod -aG droidspaces-gpu <your_username>`
170+
167171
---
168172
169173
<a id="pulseaudio"></a>

Documentation/zh-CN/Graphics-and-Audio.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,11 @@ Droidspaces 会自动启动 X 服务器和 VirGL 服务器,并将 `DISPLAY=:5`
164164
165165
4. 在容器内运行 GUI 程序 — Turnip GPU 加速将自动生效。
166166
167+
> [!NOTE]
168+
>
169+
> **权限管理(非 root 用户):** 如果你使用的是非 root 用户,则必须授予其访问 GPU 设备节点的权限:
170+
`sudo usermod -aG droidspaces-gpu <your_username>`
171+
167172
---
168173
169174
<a id="pulseaudio"></a>

0 commit comments

Comments
 (0)