I’m working on adding some storage to my Debian desktop-grade home server that I use to host a couple of VMWare VMs, and some Docker services (GitLab, Plex, misc software dev tools). I’m intending to set up TrueNAS Scale to manage my new storage (and just to play with it’s container features), and I’m interesting in maybe adding hardware to allow Plex to do hardware transcoding.

My question is if I have my Plex Docker container running via TrueNAS and I install an appropriate GPU, can I give Plex access to that GPU for hardware transcoding?

  • ollie@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    You dont have to allocate the GPU to the container, if you do, you cant use it anywhere else. I’m running Jellyfin on Truenas scale and i’m passing the following enviroment variables for nvidia gpu transcoding. RUNTIME = nvidia NVIDIA_DRIVER_CAPABILITIES = all NVIDIA_VISIBLE_DEVICES = all

    should be the same for plex.

  • Chais
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Truenas allows passing a graphics device to a container. I’ve never tried it, though.

  • fixmycode@feddit.cl
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I have the feeling that this is very dependant of the motherboard having virtualization support for the PCIE slot, but I can’t recall the name of the feature