Intel Quick Sync HDR-to-SDR tonemapping performance

@KCX

You’re off-topic here… We’re discussing HDR-SDR performance issues.
You want input on your purchase plan? :thinking:

There’s no way to predict how many you’ll get because of:

  1. Audio
  2. Subtitles

Video transcoding in the QSV ASIC is a small part of the whole equation.

I recommend:

  1. OK with the RAM and the NVMe SSD
  2. Get an i7-8xxx with UHD 630 GPU
    a. Faster and more capable for both audio & subtitles tasks (depends on how you curate)
    b. slightly more expensive but nearly 2x the proc (8900 passmarks vs 13000 passmarks
    c. More Future proof due to the CPU speed and internal bandwidth

In the future, please review a thread before posting in it.
When in doubt, create a fresh thread so you don’t end up hijacking an existing one.

1 Like

Posting Plex dashboard screenshots is completely useless if you are using HW transcoding as most of the load is one the GPU’s 3D and Video processing unit.

You need to use separate GPU statistics to really see the load. The following test was made with:

  • Unraid
  • i3-8100 with UDH 630 iGPU
  • RAM Transcoding
  • Movie on SSD with Direct Disc Access
  • Plex Docker Container on SSD with Direct Disc Access

1x 4K to 1080p without tone mapping:

1x 4K to 1080p with tone mapping:

The GPU load spikes constantly between 0% and the values you see in the screenshot +/-5%. The reason is because the buffer becomes full so the GPU can pause for a short time. Because of that its no problem to transcode 4x 4K with this iGPU.

As you can see the 3D load is a little bit higher with tone mapping. So I would say the maximum amount of 4K transcoding streams is reduced by 1x 4K stream.

The CPU load is nearly the same (not visible in the screenshot as it fluctuates to fast).

1 Like

What package are you using for the GPU stats?

In Unraid you can choose “intel gpu tools” which install a container with its own web UI or you install “GPU statistics” + “Intel GPU Top” which gives you the nice Dashboard addon.

GPU statistics:

Intel GPU Top:

1 Like

I have now freshly installed an Ubuntu 21 and installed Plex as you indicated not via the App Store but manually via the terminal sudo dpkg -i plexmediaserver_1.21.3.4046-3c1c83ba4_amd64.deb . Everything configured - HDR to SDR and HW transcoding activated, transcoding in RAM with /dev/shm

Now I seem to be running into the same or similar problem as the thread creator.

1x 4K HDR HEVC to 1080p SDR x264:

Everything else works without problems and in hardware. So I can narrow the problem down to HDR to SDR tone mapping, since everything else works fine, as I said. If I deactivate the tone mapping, the GPU is also addressed again. As I said, only the HDR to SDR is the problem.

@ChuckPa @Jfin I am not a Linux “expert” so I need help or advice. Can I send you logs?

The additional packages for HW HDR have been installed?

These are the two packages which the installer informs you about (“Beignet” and “OpenCL” )?

When working correctly,

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND        
 364849 chuck     20   0 5275220 533976 181016 R  52.2   1.6   3:24.13 chrome                                                   
 363982 chuck     20   0 4756452 220488 126072 S  18.1   0.7   0:17.94 chrome                                                   
 128807 chuck     20   0 5187020 857716 324016 S  16.5   2.6  53:35.07 chrome                                                   
 376278 dockerp+  20   0 1678088 442108 138172 S  12.4   1.3   0:25.01 Plex Transcoder                                          
   3455 chuck     20   0  820184 250168 150212 S  11.6   0.8  32:06.41 chrome                 

This is playing 4K HDR in Chrome browser

1 Like

Thank you for helping me. I really appreciate it.

No, nothing additionally installed. I must have forgotten something. I just checked your support page again. Do you mean this?

sudo apt install ocl-icd-libopencl1 beignet-opencl-icd

I actually didn’t install that and forget it. Excuse me. I’ll follow up on it tonight and report back.

Yes, I mean those packages.

Those same two packages my installer script checks for and reminds you to install if not installed :wink:

Please let me know how you make out. :crossed_fingers: it settles down to normal again

1 Like

Hi Chuck !

I entered the command and the packages were installed successfully. I also restarted afterwards. Unfortunately no change. GPU stays cool with Tonemapping. Then I downloaded the logs and looked at them. I found a couple of errors in Plex Media Server.log

Feb 16, 2021 19:38:02.308 [0x7f56d1ffb640] ERROR - [Transcoder] [AVHWDeviceContext @ 0xf47900] No matching devices found.
Feb 16, 2021 19:38:02.308 [0x7f56d1ffb640] ERROR - [Transcoder] [AVHWDeviceContext @ 0xf47900] No matching devices found.
Feb 16, 2021 19:38:02.309 [0x7f56d1ffb640] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0xc8b800] Failed to created derived device context: -19.
Feb 16, 2021 19:38:02.309 [0x7f56d1ffb640] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0xc8b800] Failed to configure output pad on Parsed_hwmap_2
Feb 16, 2021 19:38:02.309 [0x7f56d1ffb640] ERROR - [Transcoder] Error reinitializing filters!
Feb 16, 2021 19:38:02.309 [0x7f56d1ffb640] ERROR - [Transcoder] Failed to inject frame into filter network: No such device
Feb 16, 2021 19:38:02.309 [0x7f56d1ffb640] ERROR - [Transcoder] Error while processing the decoded data for stream #0:0
Feb 16, 2021 19:38:02.335 [0x7f5773a50640] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 4493 is 1 (failure)
Feb 16, 2021 19:38:02.336 [0x7f57597fa640] DEBUG - Streaming Resource: Changing client to use software decoding
Feb 16, 2021 19:38:02.336 [0x7f57597fa640] DEBUG - Found session GUID of ypfs8qykbwqseegq00fanj4b in session start.
Feb 16, 2021 19:38:02.336 [0x7f57597fa640] DEBUG - TranscodeUniversalRequest: using augmented profile Microsoft Edge

Can I submit the logs or what can I do. Reinstall everything again? I look forward to your help, as the topic really concerns me :sweat_smile: :v:

@KCX

Please do submit those logs

After you’ve restarted the box and retested :slight_smile:

I’ve not seen what you’re talking about.
This should be fun

1 Like

…Attachment deleted

And I thought I had found it :sweat_smile: I thought the entry describes the moment when he changes to software because there were errors before.
Streaming Resource: Changing client to use software decoding

Thanks again for watching this !

Ok,

This is WEIRD. The player is making a change and having it drop the decoding!

Feb 16, 2021 22:24:14.288 [0x7f642dffb640] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Feb 16, 2021 22:24:14.288 [0x7f642dffb640] DEBUG - [Transcode] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Feb 16, 2021 22:24:14.289 [0x7f642dffb640] DEBUG - [Transcode] Job running: EnableExtendedVaFormats='1' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' NEOReadDebugKeys='1' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxC' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_output_format:0' 'vaapi' '-hwaccel_device:0' 'vaapi' '-codec:1' 'dca' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/media/kcxserverubuntu/DatenExterne/Video/Der.Hobbit.Eine.unerwartete.Reise.2012.Extended/Der.Hobbit.Eine.unerwartete.Reise.2012.Extended_t01.mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=2276:h=1280:format=p010[1];[1]hwmap=derive_device=opencl[2];[2]tonemap_opencl=tonemap=mobius:format=nv12:m=bt709:p=bt709:r=tv[3];[3]hwmap=derive_device=vaapi:reverse=1[4];[4]hwupload[5]' '-map' '[5]' '-metadata:s:0' 'language=eng' '-codec:0' 'h264_vaapi' '-b:0' '60255k' '-maxrate:0' '80341k' '-bufsize:0' '160682k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':rematrix_maxval=0.000000dB:osr=48000[6]' '-map' '[6]' '-metadata:s:1' 'language=ger' '-codec:1' 'aac' '-b:1' '256k' '-f' 'dash' '-seg_duration' '1' '-init_seg_name' 'init-stream$RepresentationID$.m4s' '-media_seg_name' 'chunk-stream$RepresentationID$-$Number%05d$.m4s' '-window_size' '5' '-delete_removed' 'false' '-skip_to_segment' '1' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/manifest?X-Plex-Http-Pipeline=infinite' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'dash' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress'
Feb 16, 2021 22:24:14.290 [0x7f642dffb640] DEBUG - [Transcode] Jobs: Starting child process with pid 2850
Feb 16, 2021 22:24:14.298 [0x7f642effd640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=startup (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.298 [0x7f6467fff640] DEBUG - Completed: [127.0.0.1:38680] 204 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=startup (12 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-) 
Feb 16, 2021 22:24:14.306 [0x7f642d7fa640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=startup (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.306 [0x7f646cdb4640] DEBUG - Completed: [127.0.0.1:38680] 204 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=startup (12 live) 0ms 203 bytes (pipelined: 2) (range: bytes=0-) 
Feb 16, 2021 22:24:14.306 [0x7f642effd640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=opening (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.306 [0x7f646cdb4640] DEBUG - Completed: [127.0.0.1:38680] 204 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=opening (12 live) 0ms 203 bytes (pipelined: 3) (range: bytes=0-) 
Feb 16, 2021 22:24:14.333 [0x7f642d7fa640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=opened (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.333 [0x7f6467fff640] DEBUG - Completed: [127.0.0.1:38680] 204 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?status=opened (12 live) 0ms 203 bytes (pipelined: 4) (range: bytes=0-) 
Feb 16, 2021 22:24:14.334 [0x7f642effd640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/stream?index=0&id=0&codec=hevc&type=video (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.334 [0x7f6467fff640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/stream?index=0&id=0&codec=hevc&type=video (12 live) 0ms 195 bytes (pipelined: 5) (range: bytes=0-) 
Feb 16, 2021 22:24:14.334 [0x7f642d7fa640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/stream?index=1&id=0&codec=dts&type=audio (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.335 [0x7f6467fff640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/stream?index=1&id=0&codec=dts&type=audio (12 live) 0ms 195 bytes (pipelined: 6) (range: bytes=0-) 
Feb 16, 2021 22:24:14.335 [0x7f642effd640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/stream?index=2&id=0&codec=dts&type=audio (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.335 [0x7f6467fff640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/stream?index=2&id=0&codec=dts&type=audio (12 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
Feb 16, 2021 22:24:14.590 [0x7f642d7fa640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&language=eng&width=3840&height=2160&interlaced=0&sar=1:1&level=153&frameRate=23.976 (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.590 [0x7f646cdb4640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=0&id=0&codec=hevc&type=video&profile=Main%2010&language=eng&width=3840&height=2160&interlaced=0&sar=1:1&level=153&frameRate=23.976 (12 live) 0ms 195 bytes (pipelined: 8) (range: bytes=0-) 
Feb 16, 2021 22:24:14.591 [0x7f642effd640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=1&id=0&codec=dts&type=audio&bitrate=1536000&profile=DTS-HD%20MA&language=deu&channels=8&layout=7.1&sampleRate=48000&bitDepth=16&disp_default=1 (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.591 [0x7f646cdb4640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=1&id=0&codec=dts&type=audio&bitrate=1536000&profile=DTS-HD%20MA&language=deu&channels=8&layout=7.1&sampleRate=48000&bitDepth=16&disp_default=1 (12 live) 0ms 195 bytes (pipelined: 9) (range: bytes=0-) 
Feb 16, 2021 22:24:14.592 [0x7f642d7fa640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=2&id=0&codec=dts&type=audio&bitrate=1536000&profile=DTS&language=deu&channels=6&layout=5.1%28side%29&sampleRate=48000&bitDepth=16 (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.592 [0x7f646cdb4640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=2&id=0&codec=dts&type=audio&bitrate=1536000&profile=DTS&language=deu&channels=6&layout=5.1%28side%29&sampleRate=48000&bitDepth=16 (12 live) 0ms 195 bytes (pipelined: 10) (range: bytes=0-) 
Feb 16, 2021 22:24:14.592 [0x7f642effd640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=3&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=deu (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.593 [0x7f646cdb4640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=3&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=deu (12 live) 0ms 195 bytes (pipelined: 11) (range: bytes=0-) 
Feb 16, 2021 22:24:14.593 [0x7f642d7fa640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=4&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=deu (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.594 [0x7f646cdb4640] DEBUG - Completed: [127.0.0.1:38680] 200 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress/streamDetail?index=4&id=0&codec=hdmv_pgs_subtitle&type=subtitle&language=deu (12 live) 0ms 195 bytes (pipelined: 12) (range: bytes=0-) 
Feb 16, 2021 22:24:14.600 [0x7f642effd640] DEBUG - Request: [127.0.0.1:38680 (Loopback)] PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?duration=10949.450000 (12 live) Signed-in Token (KCX-Server) (range: bytes=0-) 
Feb 16, 2021 22:24:14.600 [0x7f642dffb640] DEBUG - [Transcode] Started session successfully: qisa4cqu3j808v6n3czwz76u
Feb 16, 2021 22:24:14.601 [0x7f6467fff640] DEBUG - Completed: [127.0.0.1:38680] 204 PUT /video/:/transcode/session/qisa4cqu3j808v6n3czwz76u/7b955714-3f2d-4be7-86c6-e35046419af7/progress?duration=10949.450000 (12 live) 0ms 203 bytes (pipelined: 13) (range: bytes=0-) 
Feb 16, 2021 22:24:14.601 [0x7f646cdb4640] DEBUG - Completed: [192.168.0.122:50332] 200 GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F2&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=qisa4cqu3j808v6n3czwz76u&subtitles=burn&Accept-Language=de (12 live) TLS GZIP 347ms 1033 bytes (pipelined: 4)
Feb 16, 2021 22:24:14.606 [0x7f6467fff640] DEBUG - Auth: authenticated user 1 as KCX-Server
Feb 16, 2021 22:24:14.606 [0x7f642d7fa640] DEBUG - Request: [192.168.0.122:50332 (Subnet)] GET /status/sessions (12 live) TLS GZIP Signed-in Token (KCX-Server)
Feb 16, 2021 22:24:14.607 [0x7f642d7fa640] DEBUG - [Now] Adding 1 sessions.
Feb 16, 2021 22:24:14.610 [0x7f6467fff640] DEBUG - Completed: [192.168.0.122:50332] 200 GET /status/sessions (12 live) TLS GZIP 3ms 4389 bytes (pipelined: 5)
Feb 16, 2021 22:24:14.621 [0x7f642effd640] DEBUG - Request: [192.168.0.122:50332 (Subnet)] GET /video/:/transcode/universal/dash/qisa4cqu3j808v6n3czwz76u/1/initial.mp4 (12 live) TLS GZIP Signed-in
Feb 16, 2021 22:24:14.622 [0x7f642dffb640] DEBUG - Request: [192.168.0.122:50333 (Subnet)] GET /video/:/transcode/universal/dash/qisa4cqu3j808v6n3czwz76u/1/0.m4s (12 live) TLS GZIP Signed-in
Feb 16, 2021 22:24:14.622 [0x7f642dffb640] DEBUG - [Transcode/qisa4cqu3j808v6n3czwz76u] Asked for segment 0 from session.
Feb 16, 2021 22:24:14.627 [0x7f642d7fa640] DEBUG - Request: [192.168.0.122:50334 (Subnet)] GET /video/:/transcode/universal/dash/qisa4cqu3j808v6n3czwz76u/0/initial.mp4 (14 live) TLS GZIP Signed-in
Feb 16, 2021 22:24:14.628 [0x7f644affd640] DEBUG - Request: [192.168.0.122:50335 (Subnet)] GET /video/:/transcode/universal/dash/qisa4cqu3j808v6n3czwz76u/0/0.m4s (14 live) TLS GZIP Signed-in
Feb 16, 2021 22:24:14.628 [0x7f644affd640] DEBUG - [Transcode/qisa4cqu3j808v6n3czwz76u] Asked for segment 0 from session.
Feb 16, 2021 22:24:14.748 [0x7f64117fa640] ERROR - [Transcoder] [AVHWDeviceContext @ 0x1965c80] No matching devices found.
Feb 16, 2021 22:24:14.748 [0x7f64117fa640] ERROR - [Transcoder] [AVHWDeviceContext @ 0x1965c80] No matching devices found.
Feb 16, 2021 22:24:14.748 [0x7f64117fa640] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0x194ee40] Failed to created derived device context: -19.
Feb 16, 2021 22:24:14.748 [0x7f64117fa640] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0x194ee40] Failed to configure output pad on Parsed_hwmap_2
Feb 16, 2021 22:24:14.749 [0x7f64117fa640] ERROR - [Transcoder] Error reinitializing filters!
Feb 16, 2021 22:24:14.749 [0x7f64117fa640] ERROR - [Transcoder] Failed to inject frame into filter network: No such device
Feb 16, 2021 22:24:14.749 [0x7f64117fa640] ERROR - [Transcoder] Error while processing the decoded data for stream #0:0
Feb 16, 2021 22:24:14.774 [0x7f646ee8f640] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 2850 is 1 (failure)
Feb 16, 2021 22:24:14.775 [0x7f6411ffb640] DEBUG - Streaming Resource: Changing client to use software decoding
Feb 16, 2021 22:24:14.775 [0x7f6411ffb640] DEBUG - Found session GUID of qisa4cqu3j808v6n3czwz76u in session start.
Feb 16, 2021 22:24:14.775 [0x7f6411ffb640] DEBUG - TranscodeUniversalRequest: using augmented profile Firefox
Feb 16, 2021 22:24:14.775 [0x7f6411ffb640] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/2?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=xueyxkhljc08o9csc8uaaivh
Feb 16, 2021 22:24:14.775 [0x7f6411ffb640] DEBUG - Auth: authenticated user 1 as KCX-Server
Feb 16, 2021 22:24:14.779 [0x7f6411ffb640] DEBUG - It took 0.000000 ms to retrieve 130 items.
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - We're going to try to auto-select an audio stream for account 1.
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - Selecting best audio stream for part ID 2 (autoselect: 0 language: de)
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - Audio Stream: 14, Subtitle Stream: 0
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - Streaming Resource: Applying codec restriction restrict-transcode-target-codec(audioCodec=aac&context=streaming&protocol=dash&type=videoProfile&videoCodec=h264) on xueyxkhljc08o9csc8uaaivh
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - Scaled up video bitrate to 228739Kbps based on 4.500000x fudge factor.
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - Scaled maximum bitrate for resolution reduction to 80341Kbps.
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - MDE: Selected protocol dash; container: mp4
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - MDE: analyzing media item 2
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - MDE: Der Hobbit - Eine unerwartete Reise (2012): Direct Play is disabled
Feb 16, 2021 22:24:14.780 [0x7f6411ffb640] DEBUG - MDE: Der Hobbit - Eine unerwartete Reise (2012): media must be transcoded in order

It looks like Subtitles were enabled on the player after starting ?

Good Morning! No, no subtitles were activated. But the source has deposited some. But makes no difference. I have just tested a source that has no subtitles. It also doesn’t matter whether I use Firefox, Edge or my LG G8s with the Andorid app. The result is always the same.

Here are the logs from the source that do not contain any subtitles:
…Attachment deleted

Oh CRAP.

I see it now. You have a CoffeeLake CometLake CPU.

Feb 17, 2021 07:03:19.141 [0x7f3642c80640] INFO - Processor Intel(R) Core™ i3-10100 CPU @ 3.60GHz

In the CometLake CPU family, Intel made another major change.

Beignet and OpenCL as distributed by Ubuntu don’t include CometLake support.
CometLake does not include backward support in the GPU like we had with the iHD and i965 drivers.

The transcoder is trying to activate it and fails. It falls back to software HDR->SDR.

The temporary solution is to download the source for Beignet & OpenCL, let it configure itself for your CPU, then build and install.

That process will supersede the installed packages at the library level.

The Plex installer will be happy because the package is installed.
You will be happy because you have versions of the package which support your CPU.

Engineering has been working on the replacement for Beignet & OpenCL since it was discovered during their initial forum preview.

The better, which they are developing for all platforms now, is the Intel Compute Runtime (ICR).

EDIT: Incorrectly stated CoffeeLake (-9xxx). Should have been CometLake (-10xxx)

1 Like

Ok, that’s not good news, but at least i now know what the problem is. But I think you mean CometLake :grin: Many thanks!

Good suggestion or idea but how should I do that. I’m not a programmer and I have no idea about it. I lack any starting point for this.

So the problem is known and a solution is being worked on? That would make me happy.

My plan is to upgrade to Rocket Lake one day. I then prefer the i5 11400 with Iris Xe GPUs (but possibly just another i3 with the new UHD 750 iGPU).

If I can help you with my system in any way or if you need to carry out tests, I am happy to help.

@ChuckPa I found this but don’t get it :sweat_smile:

Enable Comet Lake support by rcombs · Pull Request #20 · intel/beignet (github.com)

1 Like

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