Server Version#: 1.30.1.6562 on Ubuntu
Player Version#:
My Plex server uses the Nvidia GPU fine for transcoding of streaming content. However, I just noticed that for background transcoding (download/sync to client) it is only using CPU.
Is this normal? I didn’t see any appropriate setting.
Plex Media Server Logs_2023-01-23_14-01-53.zip (3.5 MB)
Attached. It’s very consistent. Uses the P2000 when live streaming, but not for transcoding downloads. The server is running in a Ubuntu Server VM on Proxmox, with PCIe passthrough for the GPU.
Jan 14, 2023 09:44:15.688 [0x7f89bd282b38] DEBUG - [Req#358/Transcode] Streaming Resource: Reached Decision id=97629 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. No direct play video profile exists for protocol http, with container mkv, video codec hevc, and audio codec truehd. Transcode=1001,Direct play not available; Conversion OK.) media=(id=125488 part=(id=301301 decision=transcode container=mkv protocol=http streams=(Video=(id=425590 decision=copy width=3840 height=2160) Audio=(id=425591 decision=transcode bitrate=256 encoder=aac
The file is copying the video and only transcoding the audio. It doesn’t need the GPU for this. Audio transcodes are done in CPU so this is correct. Try downloading something again but set the quality lower so it will force a video transcode.
Interesting… I have adjusted download quality. I have 2 transcodes going on. Both show in nvtop, but only one seems to be using the GPU, the other seems to be hammering the CPU pretty hard. Logs attached. Plex Media Server Logs_2023-01-23_15-21-23.zip (3.6 MB)
@anon18523487 I just noticed what is different between the title that is transcoding via CPU vs. GPU. The title that is Dolby Vision/HDR will not transcode via GPU (either via download or stream), but the HDR title will transcode via GPU (for download or stream).
We don’t transcode Dolby Vision at all, either with GPU or CPU. If there is an HDR compatibility layer, we will transcode that. Otherwise, it will at best direct stream (i.e. copy no transcode). If it does transocde, it should be the same for stream vs Downloads.
I see 2 Download jobs. A Space Odyssey which is AV1. Your card does not support AV1 so it has to use CPU.
The other Downloads is Aircraft Carrier which is HEVC that your card does support.
Ahh… I figured out what the issue is. I have both the UHD and BD versions of the movie, ripped to mkv. It’s not the Dolby Vision that was the problem. The transcode was sourcing from the BD version - not the UHD version - which is using the MPEG-4 AVC codec (common). It doesn’t seem to like to hw transcode from that source. I know it used to transcode these.
I noticed a few days ago when discussing something. It didn’t max out the CPU but there was a bump in its graph that ended when the background conversion ended. I just thought this is expected behavior.