Repository: ravindu644/Droidspaces-OSS
Author: ravindu644
Event: Git Push
Commit Message:
hardware: implement unified droidspaces-gpu group for GPU access
All mirrored hardware nodes (/dev/dri/renderD*, /dev/kgsl-3d0,
/dev/dma_heap, etc.) are now chowned to a single group (droidspaces-gpu,
GID 786) instead of inheriting arbitrary host GIDs. setup_gpu_groups()
creates this group on boot and ensures root is a member. Users can be
added manually:
sudo usermod -aG droidspaces-gpu $USER
newgrp droidspaces-gpu
Removes the per-host-GID gpu_<gid> group logic and the UID 1000
auto-detection - no longer needed now that all nodes share one group.
Signed-off-by: ravindu644 <droidcasts@protonmail.com>