# H/W Transcoding Buffering

**URL:** <https://forums.plex.tv/t/h-w-transcoding-buffering/822231>\
**Category:** General Discussions\
**Tags:** server-windows\
**Created:** [December 10, 2022, 11:48pm UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231 "2022-12-10T23:48:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JakeDark8](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@JakeDark8](https://forums.plex.tv/u/JakeDark8)\
**Post date:** [December 10, 2022, 11:48pm UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231/1 "2022-12-10T23:48:01Z")

</div>

I have a VM running Windows Server 2022.  
I have thrown complete overkill specs in attempt to get this working well.  
28 Cores / 128GB Ram(64GB dedicated to a RAM disk for transcoding)  
I have an Nvidia Quadro P4000 that I would like to offload transcoding to. From what I gathered, this should support x264/x265 HEVC & HDR Tone mapping.

Everything plays smoothly with direct play, but once a transcode starts it will not keep up. It’s like it can transcode at 95% speed. If I transcode a 4K HDR movie to 720p (high), it typically fails at 1st attempt. When I select to “retry” it starts to play. If I pause, the buffer will fill. Once I start watching the buffer slowing drains until the video pauses about every 5 seconds.

This happens no matter the client used. I have Shield ATVs, plex Windows app, and iOS devices. They all exhibit the same behavior.

Any help would be appreciated.

Thank you,

-Jake

---

<div class="post-metadata">

**Author:** ![Divideby0](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Divideby0](https://forums.plex.tv/u/Divideby0)\
**Post date:** [December 11, 2022, 1:43am UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231/2 "2022-12-11T01:43:17Z")

</div>

Viewing the dashboard, does it indicate that you are using the hardware when transcoding? Perhaps it isn’t recognizing the video card and using it to transcode, so it’s happening in CPU (software).

That being said, I’d TOTALLY expect a 28-core (28 core what?) CPU to be able to do software transcoding. Anything with that many cores ought to be strong enough on one core to transcode…

But if we can get the GPU to handle it, then the CPU shouldn’t be an issue.

---

<div class="post-metadata">

**Author:** ![JakeDark8](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@JakeDark8](https://forums.plex.tv/u/JakeDark8)\
**Post date:** [December 12, 2022, 1:52pm UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231/3 "2022-12-12T13:52:36Z")

</div>

CPU is a Xeon E5-2660. Toggling between hardware/software transcoding does show a considerable difference. The CPU is able to keep up with a single 4K HDR → 720p (high) stream. The video plays buffer free. When set to GPU, the CPU utilization drops from around 70% down to below 15%. I can also see GPU encode/decode utilization ramp up as well. ~8%/20% respectively.

---

<div class="post-metadata">

**Author:** ![JakeDark8](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@JakeDark8](https://forums.plex.tv/u/JakeDark8)\
**Post date:** [December 13, 2022, 2:32pm UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231/4 "2022-12-13T14:32:37Z")

</div>

While performing some more tests, I have found that HDR Tone Mapping is the setting that is holding transcoding back. When this setting is enabled, hardware transcoding cannot keep up with the stream. If I disable the setting, I can have multiple streams/conversions running simultaneously.

Is there anything I can do to troubleshoot offloading this feature to the hardware?

-Jake

---

<div class="post-metadata">

**Author:** ![JaysPlex](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/jaysplex/32/281767_2.png) [@JaysPlex](https://forums.plex.tv/u/JaysPlex)\
**Post date:** [December 13, 2022, 5:43pm UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231/5 "2022-12-13T17:43:46Z")

</div>

Are you using the 32 or 64 bit version of Plex?

> [@How do I make sure PMS uses new GPU?](https://forums.plex.tv/t/how-do-i-make-sure-pms-uses-new-gpu/813846/52):
>
> Ok guys. Hardware tone-mapping is still experimental but is enabled in the 64-bit Windows version of PMS for NVidia GPU’s. This is made possible because of the zero-copy support. You don’t need to do anything, it will either work or not. If it doesn’t, we would love to get feedback and logs to verify. I have tested and it is working on an NVidia RTX 2060 Super. I’ve also gotten confirmation from users with other NVidia RTX 2000 and 3000 series cards so you don’t need super high end equipme…

This support article may help answer some of your questions  
[https://support.plex.tv/articles/hdr-to-sdr-tone-mapping/](https://support.plex.tv/articles/hdr-to-sdr-tone-mapping/)

---

<div class="post-metadata">

**Author:** ![windowsdan2](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/windowsdan2/32/295139_2.png) [@windowsdan2](https://forums.plex.tv/u/windowsdan2)\
**Post date:** [December 20, 2022, 8:27pm UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231/6 "2022-12-20T20:27:32Z")

</div>

I can confirm I was having the exact same issue when using hardware decoding on a RTX 2080 Ti, which should handle a single 4k transcode perfectly fine.

The problem was also having HDR tone mapping enabled in the 32bit version … I have since installed the 64bit version and re-enabled HDR tone mapping and all works perfectly now!

Thanks for this suggestion.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [March 20, 2023, 8:28pm UTC](https://forums.plex.tv/t/h-w-transcoding-buffering/822231/7 "2023-03-20T20:28:21Z")

</div>

Closed on March 20, 2023, 8:28pm UTC

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