this post was submitted on 13 Aug 2023
5 points (85.7% liked)

Self Hosted - Self-hosting your services.

11447 readers
27 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

cross-posted from: https://lemmy.nine-hells.net/post/56646

Hi all - recently moved my old docker setup across to Podman rootless containers, however I am having some trouble with getting my Plex container to use the on CPU hardware transcoding.

"/dev/dri" device is being passed into the container and after reading, I also added "--group-add=keep-groups" to my configuration.

Still no luck getting the "video" group to the plex user inside the container so it can access the device.

Anyone successfully running rootless Plex with H/W transcode?

top 3 comments
sorted by: hot top controversial new old
[–] Oisteink@feddit.nl 2 points 1 year ago

Passing hw to rootless is hard. I think you’d need to match the groups inside the container to the host or make sure that the user can access the needed stuff from uid alone, as the group might not exist in the container and you end up groupless inside

[–] alex@agora.nop.chat 2 points 1 year ago

I've got this running on my jellyfin rootless podman setup. Let me check out the config when I get home, I'm out at the moment. Ping me here if I don't update this in the next day or so.

[–] alex@agora.nop.chat 1 points 1 year ago

OK, looks like my setup isn't any different to yours, except that I have --security-opt=label=disable set too. The reason for this is because of this issue, which should be fixed by now. Your version may be too old?

If you get the same result from ausearch as on that issue, you may be seeing the same problem.