Hardware transcoding - on a VM

I’m attempting to get hardware transcoding to work, and having a bit of a problem. I’m a plex pass member, and have enabled hardware transcoding inside of plex (and rebooted the OS).

My setup:
Intel i7-2600 processor (does appear to support quick sync)
vmware esxi 6.5
VM running Centos 7

My question is should I rebuild this setup using Ubuntu in a vm (As only Ubuntu and Fedora are officially supported), or will hardware transcoding likely never work in a VM?

i use a xeon and a hyper -v VM, works fine

You sure that it works in a Hyper-V VM? Pretty sure only GPUs can be passed through. Have you ensured that (hw) is added after the transcoding details on a stream?

I have a similar setup with an i3-4150 on vSphere 6.5U1. My Plex VM is on Debian 9 and it apparently can’t hw encode or decode. Trying to troubleshoot it but not getting very far.

I’ve built a new VM running on Ubuntu, and it doesn’t appear to hardware transcode either. I’ve enabled multimonitor support in my bios, however haven’t really done anything on the vmware side of things.

Anyone have tips to get this to work with vmware?

What does work:

ESXi 6.5 Latest patchset.
CPU with quicksync support, a GPU (no idea what it is) in a PCIe slot, and the HD graphics in the CPU.

The external GPU is set to be the primary card, in the BIOS, and the option “igpu multi monitor” is enabled, in the BOIS.
ESXi takes the external GPU to itself.
Passthrough the internal GPU to your VM, load the module i915 if necessary.
My particular setup is unRAID, with plex in a docker.

Your mileage may vary.

1 Like

how do you tell the vm to make the igpu /dev/dri/renderD128 instead of 129? esxi vgpu is 128 and screws up va api calls for plex.

Remove the vmware display adapter from the guest hardware settings and only have the passthrough gpu available.

@kyse Did you every figure that out? I can’t seem to get Plex to use renderD129 and disabling the VMware adapter prevents the VM from booting as far as I can see. I tried both editing the vmx file, setting svga.present= false and also in grub on he VM itself passing VMware.modeset=0 but nothing seems to work

@brimur seems like someone figured it out a way

1 Like

Hi there,

Any idea for a good gpu without fan?
Better to select AMD?

I need to test this…

thanks

i’ve got Hardware transcoding how do i know if i’m taking advantage of it?

Force a transcode and watch CPU usage. Or look at the Now Playing info. Or check the logs during playback. First option should be pretty obvious, though, right?

@gogorichie said:
i’ve got Hardware transcoding how do i know if i’m taking advantage of it?

First you need to turn it on, this is done in the transcoding settings. Then in the Plex app set your quality to something low which will force your content to be transcoded. While the content is playing tap the screen to see the details of the stream or look on the server in the Now Playing section. After Video you will see Transcoding followed by (HW). If you don’t see the (HW) it is not using hardware transcoding

Page is private or no longer exists … did you move the page?