I try to follow the docs but somehow it doesn’t work as expected. How does your cpose file look and what to choose in the settins?
I believe you want to use QSV (VAAPI is there for older processors IIRC).
For running as rootless, you could try adding group-add keep-groups
(an explanation from Redhat about keep-groups).
Kekin@lemy.lol 5 months ago
I can speak at least for rootless podman, I spent some hours on it and different ways I tried all ended in permission issues.
I gave up on trying to do it properly and just set the permissions of the /dev/dri device to 666, so that my podman container can use the gpu for transcoding.
Part of the issue with the container images that I tried is that they create a new user with whatever uid:gid I pass to the container, and so even if my nonroot user is part of the render group, the new user inside the container is not and so it can’t write to the /dev/dri/renderD128 (gpu), and so transcode wouldn’t work.
That’s where I left the troubleshooting at cause it was being a headache
herrfrutti@lemmy.world 5 months ago
I recommend this: https://www.zigbee2mqtt.io/guide/installation/20_zigbee2mqtt-fails-to-start.html#method-1-give-your-user-permissions-on-every-reboot with that and aösp read the tipp after that I was troubleshooting my permission issues.
This should apply to gpu too.
possiblylinux127@lemmy.zip 5 months ago
Just add your local user to the render group.
swooosh@lemmy.world 5 months ago
thx for sharing your experience with it