-
In docker, when I enable Intel's core display for hardware encoding, my uid must be set to root, otherwise hardware decoding cannot be performed. Will this cause security issues? Or is there something wrong with my configuration? maybe like emby,use GIDLIST # A comma-separated list of additional GIDs to run emby as (default: 2) to solve it |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
As an alternative, you can try to run the PhotoPrism service as a non-root user by setting the PHOTOPRISM_UID environment variable in your https://docs.photoprism.app/getting-started/advanced/docker-security/#run-services-as-non-root-user It may also help to adjust the permissions of the related device: https://docs.photoprism.app/getting-started/advanced/transcoding/#intel-quick-sync If we need to change something in our Docker image to make it compatible with your specific environment, please let us know what exactly is needed. Thank you! |
Beta Was this translation helpful? Give feedback.
Thank you very much. I understand what you mean. When we need to use the render, we must first obtain the gid of the render.
getent group render | cut -d: -f3
Using the command on the host machine will return the gid. Just set our gid to it. I set the gid to 109 and successfully achieved the goal.Thanks again