Comment on [HELP] Podman, Peertube, AMD VAAPI

<- View Parent
shaun@lemmy.world ⁨1⁩ ⁨day⁩ ago

I’m using rootless podman, not sure if that will make a big difference.

Add the user running the containers to the video using the following command:

sudo usermod -a -G video [username]

Then I have this in my quadlet for the containers that need HW acceleration. As I understand it, keep-groups means the user rights to use video resources will be passed from the OS into the container.

AddDevice=/dev/dri/renderD128:/dev/dri/renderD128
AddDevice=/dev/dri/card0:/dev/dri/card0
PodmanArgs=--group-add keep-groups

I don’t think I have anything else relevant in my set up. Hope it helps!

source
Sort:hotnewtop