HW transcoding isn’t working smoothly with Nvidia GPU

So are you saying your p2000 performance is good? Or bad on both?
If it’s good, what quadro driver are you running on the windows vm?

Bad. Always bad on windows. Being bare metal or vm, on a 40 core low freq xeon or a 6 core high freq xeon, quadro p2000 or gtx 1080 ti. Always bad.
On linux is better but still bad. The bad part is mainly the one thread pinned. I mean, I know multi threading programming is difficult but come on.

1 Like

@chrisallen I did some more testing and am 90% sure its a driver issue causing P2000 performance to be poor in Windows 10.

I downgraded to an older quadro driver that someone else claimed worked. That had no effect on Plex or Emby. Both still converted at like .7 to .8.

I upgraded to a newer quadro driver that came out a few days ago and saw no change in Plex…whats weird though is I saw a huge improvement in Emby. My usage seems to be more correct(around 30% decode use), and i was streaming at around 28 fps so 1.2ish. I could then add two more streams which sat at 24 and 23 fps.

So the only thing I changed was the driver. That’s where I would have your team investigate.

1 Like

Need to mention that in linux at least, on the latest betas, things are better with transcoding than before.
The only remaining issue is the process using a single thread on the cpu instead of spreading the load on all of them (or at least a few, like 8-16 threads)

Even with HW transcoding active and working, the Audio is done on the CPU which it only needs to use one.

1 Like

I can’t wait for this to be in the official release. I’m running the patch now and it appears to work perfectly.

I went from 85% CPU load on a 1080p transcode, down to 15%. Okay, my CPU is 9 years old (but high end), but I didn’t think it was that much effort for it to decode 1080p (I have been using CPU decompression + NVENC for some time). I can now transcode 2 streams just fine (maybe more? I am going to give that NVENC driver hack a try).

This really is perfect for re-purposed old gaming rigs being used as Plex servers. I was literally thinking about buying a new computer for my server now that my Plex server got popular with my friends. This is great stuff, absolutely great.

@pl_5309 not the case. I’ve tried a 4k file with no audio and the same thing happens with one core.

which patch sorry?

This one

Wait, transcoding on Linux is faster than Windows? I typically expect Linux to be faster, but I thought I read that Plex runs better on Windows?

Well, it seem that specifically hardware transcoding is not doing great in both OS, and I hear more and more people on reddit that are trying other platforms such as emby cause they work.
I stick with plex for now, since I’ve got the plex pass, but things start to smell bad here…

2 Likes

MUCH faster here (with the unoffical script for decoding)
Even though it’s still pegging ONLY one core to 100% out of whatever cores you have in both windows and linux, on linux works much much better in my experience.
The question is, why is it so hard to make whatever is eating that one cpu into something multithreaded?
Why why why. I have 39 cores out of 40 allocated for this VM, doing nothing to help with decoding bcause something is running on only one fricking core.
I’ll soon end my plex pass too and sell my quadro card. With software Only it might consume a bit more electricity doing hevc but it uses all the cores and yes, works a bit better than with hw decoding. A shame.
As I said, I’ll be ending my plex pass soon.

Could that thread be audio transcoding?

I’ve read that audio transcoding is limited to 1 core/thread in many situations. (not a fault of Plex, but ffmpeg doesn’t support it and is apparently a very difficult problem to solve).

What CPU(s) are you using? (it sounds like a dual-cpu system)

it could be subtitle processing, which I believe the plex dev’s have stated are single threaded.

there is 2 videos on youtube discussing how good p2000 as plex card and he did do multiple instances of 4k on it without even reaching 100% gpu utilization , the p2000 can handle 4k HDR fine , the issue is plex

I have nvme 960 evo and its not the reason these guys have the issue , because it clearly shows in task manager the disk usage % not even being throttled there. and i have same issue as these guys but with GTX 1080 Ti which is why I am reading this forum. and what is worse sometimes on the same video HW works and sometimes it hoses to use software which make 8700k 100% and the video stays in buffering forever
4k HDR to 1080p

Bump!
Fresh install:
Home Server: HP Proliant Gen8 DL380P 25SFF

Storage Controller: LSI MegaRAID SAS 9266-8i  (Avago)
OS Drives: RAID 1 2x 1TB SAS Drives + 1x 200GB SAS SSD Cache (CacheCade Pro 2.0)
Storage Drives: RAID 60 : 22 x 1TB SATA Drives 
RAM: 256 GB DDR3 ECC 1866
CPUs: 2 x Intel(R) Xeon(R) CPU E5-2650L v2  (each with 10 cores + hyperthreading, total 40 HThreads)
Video: HP NVidia Quadro P2000
OS: Proxmox VE 5.4-5

Virtual Machine configuration:

16x E5-2650 v2 cores
NVidia P2000 by GPU passthrough
8GB Ram

OS:

Ubuntu 19.04 (kernel 5.x)
plexmediaserver_1.15.5.994-4610c6e8d_amd64
NVIDIA-Linux-x86_64-430.14

HW Decoding (by hacking) - it’s the same story with the one 100% thread and slowing the whole transcoding to almost 1x speed (it barely keeps up with only one 4k HEVC stream)
GPU usage: 7% Encoding and 11% Decoding [as you can see, the card just waits mostly… not being used… like most of the CPU cores for that matter]

Without the HW Decoding hack it uses all 16 cores and can keep up with a couple of 4k HEVC streams, like always.
GPU usage: 16-20% encoding and obviously 0% Decoding

any news?
[ in retrospective I think I’m going to leave this thread alone and open up a new one]

1 Like

Ok, this is getting a bit much now… it’s been over a month since the problem was reported (with evidence) with no resolution, and over a month since there was any update form Plex.

Can we get this solved please? this isn’t a minor issue we have here. It’s affecting almost all platforms.

2 Likes

so you saying the solution is to reinstall ?

I know about the nvidia drivers limitation to 2 transcoding only but I am suffering with 1 4k video alone not even 2 or 4.
so even in 1 4k movie transcoding the gpu not being utilized in lots of cases and it only use cpu 100% while gpu 0%

what you talking about 11% gpu usage is when the hardware transcoding actually works that is fine because its fast enough to transcode the movie , you see the screen shots in my post , when I use that movie it works with Hardware transcoding and both movies same format same stuff.

I bought a lifetime pass and a P2000 to achieve hardware transcoding and I’m stuck too with this issue. No 4k transcoding, not a single 1 transcode is possible at the moment (0,8x playback) and emby can do more than 1, so what? Are they even trying? I’m a bit upset today, so many time has passed.
Can we please have an official statement from a mod that the problem MANY people are facing with is being properly threated? If not I stop complain at least.

1 Like