Plex uses GPU but only on some files

Hello, I have a few problems with Plex. I’m a lifetime subscriber.

Using an intel 4790k and rtx 2080.

  1. When converting 1080p to 720p plex uses my gpu (the transcode says HW), but is still very slow.

  2. When converting 4k (HEVC) to 1080p or 720p instead it uses the CPU at 100%. => Everything freezes.

Plex might be using the Intel HD Graphics in the 4790K, which does not support HEVC, instead of the RTX 2080.

Make sure you have the 2080 set as the primary video in the system BIOS.

Example: My Gigabyte motherboard.

Initial Display Output = PCIe slot where graphics adapter is installed.

The PCIe is set as primary device in bios. Tho I think that only changes what displays the bootscreen and is started first.

Good.

It also determines which GPU is used by Plex for hardware accelerated transcoding.

Make sure your Nvidia drivers are up to date.

Are you running Plex in a virtual machine, etc. or as a Windows service? This can affect Plex’s ability to access the GPU.

Suggest you pull log files & post to the thread. The log files will show how Plex is trying to transcode the video.

  • Set your server for debug logs, not verbose, in Server Settings → General (see support article below).
  • Recreate the problem - play a 4K movie/show that transcodes. Do not enable subtitles. Do not use Plex Web/Plex for Windows/Plex Media Player on the same system as your Plex Server.
  • Let it play for 20 - 30 seconds.
  • Stop playback. Wait 30 seconds for the server to settle down & log everything.
  • Pull the log files (Plex Web → Server → Manage → Troubleshooting → Download Logs)
  • Attach entire zip file to the thread (drag it into the compose window, inserts at cursor location).

Example:
Entry from Plex Media Server.log when transcoding. This is for transcoding using Intel QSV on a Synology NAS (Linux). With Windows and a Nvidia GPU, you should see NVDEC/NVENC instead of vaapi. Reference: Using Hardware-Accelerated Streaming.

Jun 30, 2020 11:54:36.647 [0x7f489a88e700] DEBUG - TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi

https://support.plex.tv/articles/201643703-reporting-issues-with-plex-media-server/

Plex Media Server Logs_2020-07-02_20-06-16.zip (4.1 MB)

Thank you for your time.

Plex Server is running on a windows server, no VM, so I assume as service.
After restarting the plex and opening a 4k Video it did seem to no longer max out the cpu, so I guess it switched to GPU. But it would still frequently buffer/stop every few seconds. Connection is Lan, GPU is a GTX 1080. Log attached.

Transcoding is now using the GPU. NVDEC/NVENC are the Nvidia decoder & encoder.
Jul 02, 2020 20:04:00.322 [4656] DEBUG - TPU: hardware transcoding: final decoder: nvdec, final encoder: nvenc

Regarding the buffering, are you remote from the server?

I see some log messages referencing buffering and they list your public IP address. On my system they show the local IP address, 192.168…

When you’re watching a movie, what is displayed in Plex Dashboard -> Now Playing? Does the connection show as local/remote/indirect?


FYI 1: Now Playing also shows (hw) when the server is using hardware transcoding.

FYI 2: I know we’re testing transcoding, but if you really watch media on your PC, consider using Plex for Windows. It direct plays most media, including HEVC video, which PC web browsers cannot.

I wanted to post here because i was having issues with my RTX 2080 Super. I seemed to find a solution and now my performance is phenomenal. I thought that such an upgrade would have yielded better performance than what I was seeing initially and I found an obscure post that mentions to use the Graphics Settings in Windows 10 to specifically assign the Plex Transcoder.exe to run on the RTX. What I found was a tremendous improvement. I wanted to share and get feedback on why this might be since I’d suspect that the Plex setting to use HW acceleration would have done this and it did not seem to. Here are a few screenshots of where to find the “Graphics Settings” menu. I only found this option on my Plex server with the RTX card, i could not find it on my work laptop though so i think it may only populate when there is a graphics card present FYI. Please let me know your thoughts.


One other thing… Download the “Plex Dash” App. It’s extremely useful for seeing who is watching and whether there is HW transcoding

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