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?

  • Oisteink@feddit.nl
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months 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

  • Geronimo Wenja@agora.nop.chat
    link
    fedilink
    English
    arrow-up
    2
    ·
    10 months 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.

  • Geronimo Wenja@agora.nop.chat
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months 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.