Windows Server 2016 and HW Acceleration

Hi,

I realize this has been asked in other places, but I’m struggling to find an answer that works for me.

With a fresh (metal) installation of Plex Media Service (+ Plex Plus) on a machine with the following specs:

  • Windows Server 2016
  • 48GB RAM
  • 1 SDD, 8 HDD
  • nVidia GTX 1060 3GB
  • i7-6800K (with Hyper Threading, so 12 Cores)

No matter what I do, I can’t get anything to decode with hardware acceleration.

Things I’ve tried:

  • Autologin
  • Transcoding a 1080 file to 480 to force conversion
  • Using a dummy HDMI plug (to simulate a monitor being plugged in)
  • Using a real monitor
  • Latest nVidia drivers (as of 22/02/2018)

It’s worth noting that I’m usually RDP’d into this box (despite autologin) because the idea is it’ll be headless and placed out of sight.

Does anyone have any ideas why transcoding isn’t working for HWA?

Bad news for you in that Windows Server 2016 isn’t on the list of supported Windows OS for PMS.

support.plex.tv/articles/200375666-plex-media-server-requirements/

But maybe someone else can provide specific insights.

@B33rdy said:
Hi,

I realize this has been asked in other places, but I’m struggling to find an answer that works for me.

With a fresh (metal) installation of Plex Media Service (+ Plex Plus) on a machine with the following specs:

  • Windows Server 2016
  • 48GB RAM
  • 1 SDD, 8 HDD
  • nVidia GTX 1060 3GB
  • i7-6800K (with Hyper Threading, so 12 Cores)

No matter what I do, I can’t get anything to decode with hardware acceleration.

Why would you want to?

i7-6800K:
https://www.cpubenchmark.net/cpu.php?cpu=Intel+Core+i7-6800K+%40+3.40GHz
Score: 13612

nVidia GTX 1060:
https://www.videocardbenchmark.net/gpu.php?gpu=GeForce+GTX+1060
Score: 8881

Your CPU will curb-stomp your GPU.
…and give you better results while it’s doing it…

Because it’s also running 5 VMs. It’s not a dedicated Plex server, which is why the GPU transcoding is a firm requirement.

Hi @B33rdy

That’s just a wild guess - do you have Desktop Experience feature enabled?

@Monsters_Grin said:
Hi @B33rdy

That’s just a wild guess - do you have Desktop Experience feature enabled?

It’s built into 2016 when you install it with a GUI…

When you install Windows Server 2016 using the Setup wizard, you can choose between Windows Server 2016 and Windows Server (Server with Desktop Experience). The Server with Desktop Experience option is the Windows Server 2016 equivalent of the Full installation option available in Windows Server 2012 R2 with the Desktop Experience feature installed.

I’m having the same problem. Running Windows Server 2016 with a few VMs. Every time someone streams or downloads for offline use, my CPU goes through the roof and I can’t get HW acceleration to work. I’m also running a headless server which I RDP to, but I’ve connected a “live” hdmi cable to my amp, and I tried not RDP’ing and hooked everything up. My CPU supports HW acceleration, so it seems to be something Windows (2016?) Server specific :frowning: Would love to get this working!

Noone knows anything about this? Maybe set up a Windows 10 VM in Hyper-V and try this direct access feature or whatever it’s called?

If you want to access the GPU on a VM via Hyper-V you going to need RemoteFx,

You need to activate this on the hyper-v side, and then add a RemoteFx 3d video adapter to the Vm… But even with all of this I’m really not sure it’s going to work.

Is there a page we can request features? I’d love to see GPU HW acceleration on Windows Server 2016.

1 Like

BUMP**BUMP

BUMP This would be NICE

BUMP!**BUMP

Hope someone is able to help us…

I think what @Monsters_Grin may have meant was the “Media Foundation” feature in the features tab of add remove services and features.

I know I needed to enable this feature to get NextPVR working with my particular DVB-T tuner as it uses hardware decoding.

My PMS runs older Xeons so as much as I would both like and benefit from Hardware Acceleration, my CPUs do not support Intel quicksync.

one other note for hardware acceleration support;

(unless it has changed recently) in windows, plex will use whichever gpu is configured for the default/primary display.

that means if the intel is the default display, then it will use that gpu. conversely if the nvidia is the default display it will use the nvidia gpu.

You can choose which display is the default/primary, by clicking the desktop > display settings > click whichever display screen # at the top, then scroll down to ‘make this my main display’.

You will very likely need a physical display connected to each gpu to do this.

@CuriosityKills, I might have :smiley: . But that doesn’t help, I know :wink: .

To clarify - I run mine on an Intel CPU with Quicksync and it works - partially.
I have it set up as a service, with HW transcoding disabled, because it crashes PMS completely, when I try to play something using HW transcoder. But if I RDP to the server as the user the service is setup on, it works without issues. There’s an issue opened for that, but the “workaround” didn’t work for me.
You can see the issue thread here: Hardware Acceleration · Issue #36 · cjmurph/PmsService · GitHub .

Now, I haven’t had Media Foundation nor DirectPlay installed. Today I installed those and the behavior didn’t change.

EDIT: I forgot to mention - I’m running it baremetal too.
What kind of hypervisor do you use, @B33rdy?

Just FYI, HW acceleration is working fine for me under Server 2016 (Essentials). Until I saw this thread I didn’t know it wasn’t supposed to be working.

I’m running bare metal with an i7-8700. The difference might be that I’m using a Quadro card (P2000) and not a GeForce card. I have WMI sensors set up on my instance of PRTG that monitors GPU load and encoder sessions and I can definitely see the activity when there’s transcoding in Plex happening. Unfortunately a lot of my streaming activity happens as DirectPlay, so I’m not really pushing the card at all. I think 4 was the most so far.

I don’t run it as a service because it was my understanding that HW transcoding didn’t work because it requires user sessions. I rarely have to restart PMS and I have autologin enabled in case I need to reboot the server so it’ll come up right away.

I don’t use a dummy plug on it, but it’s on a KVM so maybe that’s enough load to keep the card from timing out.

Thank you! I’ve been trying to figure this out for months and this was right on the money. My Dell R720xd has a built in basic 2d adapter that was set to default. I got a simple dummy plug for my P2000 and disabled the other display and now I can finally HW decode again.

Hello all,

I am in a bad situation where I just added a P400 Quadro to my system, installed drivers, connected a monitor to my server, made it main display (connected to quadro card), I have media foundation enabled, and I am still not able to use hardware acceleration.

Any wild guesses why this might be happening?

I have the same problem and I WISH I could fix it. No idea what the cause is.