Sharing GPU between gaming VM and Jellyfin/Handbrake

Hey all,

So I currently have a AMD 5700 in my server doing a whole lot of nothing. I would like to get a hardware encoder set up for processing my media and Jellyfin. I am also considering setting up a gaming vm for steam remote play/parsec.

Is it possible/efficient to use my current card? Should I replace it with a newer/more efficient card?
Can I even share this card between two VM’s or do I need to go to a server card (Tesla or something similar)?
Would it be better to just get a cheap transcoder card and a dedicated gaming card?
Should I just wait for Intel to get their drivers together and then buy a ARC A** for the AV1 encoder and low power draw?

As far as my gaming habits I have none at the moment but it has been a few years and I am starting to get the itch again. Not a heavy gamer I would just like to stream to my laptop or if I get a steam deck.

If you have the money add an ARC to your server for JellyFin (assuming it can use it) and pass the Radeon through to your game VM.

You can use the same GPU in as many VMs as you like, just only one running at a time.

1 Like

My fault, Ryzen 5700 or RX 5700

What CPU are you rocking

Only reason I ask is if you are running W10, the 11th gen Intel iGPU is respectable on transcoding with Jellyfin. Then you can game on the RX 5700. If you have something older you’ll have to test.

In Windows there’s a way to assign a GPU to “Performance” and the other to “power efficient “ or something of the sort like that. I don’t remember exactly AFK. Then you can pin an app “Jellyfin” to the “weaker” of the two.

Same thing that applies to handbrake. If you use the intel encoder and your CPU is strong enough you can game and encode at the same time.

Ryzen 3600x and a Radeon 5700

Linux. Currently in a LXC container but trying to decide if I convert it to a VM or docker

I would not bet on Intel, if you want 2 VMs at the same time, get a Nvidia Turing card, you will find the solution here LibVF.IO: Commodity GPU Multiplexing Driven By VFIO & YAML.

Ah dang, sounds like a two card problem now.

@Janos for sure will guide you another direction

1 Like

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.