-
Hi, I am able to run frigate successfully from cli, but when I try to enable frigate with podman quadlet, ffmpeg fails because it's not able to find the gpu for hw acceleration giving the following error
My quadlet config is as follows:
When I do a dryrun and use the generated podman command directly in the cli, it works flawlessly:
I am not able to figure out why it would work from cli but not when started as systemd service using quadlet. Any idea what I am missing? Podman version is 4.9.3 on debian bookworm. If it helps, had to add my user to render group in order to make it work from cli which let frigate access the gpu. I think somehow group-add=keep-groups is not being respected |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Did you reboot? The systemd user session is started early when you log in (or at boot with lingering) so it does not have access to groups that were added later. |
Beta Was this translation helpful? Give feedback.
Did you reboot? The systemd user session is started early when you log in (or at boot with lingering) so it does not have access to groups that were added later.