this post was submitted on 02 Jul 2023
11 points (82.4% liked)

Selfhosted

40220 readers
1428 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 year ago (1 children)

You should be able to. I have a Jellyfin server running in Docker and hardware transcoding works fantastically

[–] [email protected] 5 points 1 year ago (1 children)

Jellyfin is so much nicer to use then plex.

[–] [email protected] 1 points 1 year ago

Plex has better client support, specifically for Xbox.

[–] [email protected] 3 points 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.

[–] [email protected] 2 points 1 year ago (2 children)

Note that in order to use hardware transcoding you have to have plex pass.

[–] [email protected] 2 points 1 year ago (2 children)
[–] [email protected] 1 points 1 year ago

I looked at Jellyfin, but it doesn't have a good app for the Xbox so I'm sticking with Plex for now.

[–] [email protected] 1 points 1 year ago

I did try Jellyfin about a year again after being frustrated by the Plex API, but I had a lot of problems with the app on one of my TVs. I've since replaced that one though, so I should probably give it a try again, the move was pretty painless otherwise.

[–] [email protected] 1 points 1 year ago

Good to know! I do have a plex pass, so I'm good there.

[–] [email protected] 1 points 1 year ago

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

[–] [email protected] 1 points 1 year ago (1 children)

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

[–] [email protected] 1 points 1 year ago

Ok, that's an interesting point, I'll keep that in mind if I run into issues, thanks!