From c7a3d46bbc96a9bb0e63c526e74de7bccf7bf498 Mon Sep 17 00:00:00 2001 From: gnattu Date: Thu, 23 Jan 2025 16:58:23 +0800 Subject: [PATCH 1/2] Remove user setting for rkmpp docker That parameter in the command provided will cause permission issues even though those devices are accessible by the user provided in host. To use a non-root user requires extra config but let's remove the outright wrong config for now. --- docs/general/administration/hardware-acceleration/rockchip.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/general/administration/hardware-acceleration/rockchip.md b/docs/general/administration/hardware-acceleration/rockchip.md index 12949c86f..1cd8a3ca0 100644 --- a/docs/general/administration/hardware-acceleration/rockchip.md +++ b/docs/general/administration/hardware-acceleration/rockchip.md @@ -188,7 +188,6 @@ What you need to do is to pass the **device files** of VPU from host to Docker a :::note Root permission is required. - ::: 1. Use Docker command line: (the extensive device names between `for...done` is used to ensure backward compatiblity) @@ -200,7 +199,6 @@ Root permission is required. --volume /path/to/config:/config \ --volume /path/to/cache:/cache \ --volume /path/to/media:/media \ - --user 1000:1000 \ --net=host \ --restart=unless-stopped \ `for dev in dri dma_heap mali0 rga mpp_service \ From 221599b55897e2205bca584fdb2d315bcae36abf Mon Sep 17 00:00:00 2001 From: gnattu Date: Thu, 23 Jan 2025 17:00:11 +0800 Subject: [PATCH 2/2] Fix newline --- docs/general/administration/hardware-acceleration/rockchip.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/general/administration/hardware-acceleration/rockchip.md b/docs/general/administration/hardware-acceleration/rockchip.md index 1cd8a3ca0..cafd0d247 100644 --- a/docs/general/administration/hardware-acceleration/rockchip.md +++ b/docs/general/administration/hardware-acceleration/rockchip.md @@ -188,6 +188,7 @@ What you need to do is to pass the **device files** of VPU from host to Docker a :::note Root permission is required. + ::: 1. Use Docker command line: (the extensive device names between `for...done` is used to ensure backward compatiblity)