Intel HW Transcoding on Linux suddenly stopped working!

Server Version#: 1.21.0.3616

As the title says, my HW Transcoding isn’t turning on at all. It has always worked, up until the last 24 hours.

Here are the errors it has produced from the logs:

It wouldn’t let me copy the text?

I’m guessing it wouldn’t be related to a bug? Since it seems like others would post about it too.

Your Server logs ZIP will have those same messages in them

DEBUG logging on,
VERBOSE logging off,
Recreate the playback error,
Download the Logs ZIP file
Attach it here.

(File removed)

Thanks for the help

Your logs DID have it .

You turned on VERBOSE logging . (default is DEBUG ON, VERBOSE OFF)

I only got to see 2 minutes of elapsed time.

I unfortunately can’t use these logs.
You’ll need to redo them.

Before recreateing.

  1. Turn VERBOSE OFF
  2. SAVE button
  3. Restart PMS
  4. Wait 2 minutes
  5. Now recreate the problem
Dec 01, 2020 05:59:50.432 [0x7ff240cbb700] VERBOSE -  * Host => 127.0.0.1:32400
Dec 01, 2020 05:59:50.432 [0x7ff240cbb700] VERBOSE -  * Icy-MetaData => 1
Dec 01, 2020 05:59:50.432 [0x7ff240cbb700] VERBOSE -  * Transfer-Encoding => chunked
Dec 01, 2020 05:59:50.432 [0x7ff240cbb700] VERBOSE -  * User-Agent => Lavf/58.27.104
Dec 01, 2020 05:59:50.432 [0x7ff241cbd700] DEBUG - Completed: [127.0.0.1:40930] 200 POST /video/:/transcode/session/f8ojmmwjcd4u2xqid1c4pkw7/118543ea-14db-4297-8255-897a8cb7a3bd/seglist (9 live) 0ms 166 bytes
Dec 01, 2020 05:59:50.432 [0x7ff240cbb700] VERBOSE -  * X-Plex-Http-Pipeline => infinite
Dec 01, 2020 05:59:50.432 [0x7ff240cbb700] VERBOSE -  * X-Plex-Http-Pipeline => infinite
Dec 01, 2020 05:59:50.432 [0x7ff240cbb700] DEBUG - [Transcode] Transcoder segment range: 0 - 53 (52)
Dec 01, 2020 05:59:50.432 [0x7ff241cbd700] DEBUG - Completed: [127.0.0.1:40932] 200 POST /video/:/transcode/session/f8ojmmwjcd4u2xqid1c4pkw7/118543ea-14db-4297-8255-897a8cb7a3bd/seglist (8 live) 0ms 166 bytes
Dec 01, 2020 05:59:50.432 [0x7ff1f77fe700] DEBUG - Streaming Resource: Usage: 0kbps of WAN bandwidth, 1 streaming transcode slots, and 0 static transcode slots across 1 sessions
Dec 01, 2020 05:59:50.631 [0x7ff241cbd700] VERBOSE - Auth: We found auth token (xxxxxxxxxxxxxxxxxxxx), enabling token-based authentication.
Dec 01, 2020 05:59:50.631 [0x7ff241cbd700] VERBOSE - Auth: Came in with the master token, authorization succeeded.
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] DEBUG - Request: [127.0.0.1:40718 (Loopback)] PUT /video/:/transcode/session/f8ojmmwjcd4u2xqid1c4pkw7/118543ea-14db-4297-8255-897a8cb7a3bd/progress?
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * Accept => */*
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * Connection => keep-alive
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * Host => 127.0.0.1:32400
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * Icy-MetaData => 1
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * Range => bytes=0-
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * User-Agent => Lavf/58.27.104
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * X-Plex-Http-Pipeline => infinite
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * X-Plex-Token => xxxxxxxxxxxxxxxxxxxx
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * progress => 20.8
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * size => -22
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * remaining => 108
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * vdec_packets => 6419
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * vdec_sw_ok => 6414
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * speed => 11.2
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE -  * vdec_hw_status => 0
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE - [Transcode] We want 60 seconds ahead, last returned was 205.247000 and max is 265.307000.
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] DEBUG - [Transcode] Session f8ojmmwjcd4u2xqid1c4pkw7 (2) is throttling
Dec 01, 2020 05:59:50.631 [0x7ff1f4ff9700] VERBOSE - [Transcode] It took 0.0 sec to serialize a list with 0 elements.
Dec 01, 2020 05:59:50.631 [0x7ff241cbd700] DEBUG - Completed: [127.0.0.1:40718] 206 PUT /video/:/transcode/session/f8ojmmwjcd4u2xqid1c4pkw7/118543ea-14db-4297-8255-897a8cb7a3bd/progress?progress=20.8&size=-22&remaining=108&vdec_packets=6419&vdec_sw_ok=6414&speed=11.2&vdec_hw_status=0 (7 live) 0ms 371 bytes (pipelined: 180) (range: bytes=0-) 
Dec 01, 2020 05:59:50.631 [0x7ff2414bc700] DEBUG - [Transcoder] Throttle - Going into sloth mode.

I hope this does the trick (File removed)

It looks like you have HDR -> SDR enabled but haven’t loaded the drivers

Dec 03, 2020 04:24:58.057 [0x7fa20e7fc700] DEBUG - [Now] Adding 1 sessions.
Dec 03, 2020 04:24:58.058 [0x7fa2271d1700] DEBUG - Completed: [192.168.50.13:55042] 200 GET /status/sessions (9 live) TLS GZIP 1ms 4595 bytes (pipelined: 4)
Dec 03, 2020 04:24:58.102 [0x7fa1effff700] ERROR - [Transcoder] [AVHWDeviceContext @ 0x200aa80] Failed to get number of OpenCL platforms: -1001.
Dec 03, 2020 04:24:58.102 [0x7fa20e7fc700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0x1ffbf00] Failed to created derived device context: -19.
Dec 03, 2020 04:24:58.102 [0x7fa1effff700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0x1ffbf00] Failed to configure output pad on Parsed_hwmap_2
Dec 03, 2020 04:24:58.104 [0x7fa20e7fc700] ERROR - [Transcoder] Error reinitializing filters!
Dec 03, 2020 04:24:58.104 [0x7fa1effff700] ERROR - [Transcoder] Failed to inject frame into filter network: No such device
Dec 03, 2020 04:24:58.104 [0x7fa20e7fc700] ERROR - [Transcoder] Error while processing the decoded data for stream #0:2
Dec 03, 2020 04:24:58.147 [0x7fa22bfff700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 1686 is 1 (failure)
Dec 03, 2020 04:24:58.147 [0x7fa1a3fff700] DEBUG - Streaming Resource: Changing client to use software decoding
Dec 03, 2020 04:24:58.147 [0x7fa1a3fff700] DEBUG - Found session GUID of hh4wu4nhh3fixv71vdr0vnjr in session start.
Dec 03, 2020 04:24:58.147 [0x7fa1a3fff700] DEBUG - TranscodeUniversalRequest: using augmented profile Web

Can you confirm what packages are installed? Beignet & OpenCL icd ?

I’ve never changed any settings re: HDR -> SDR

I don’t know what you mean about Beignet and OpenCL icd?

I haven’t done anything special or extra- the feature literally just stopped working.

What can I do?

I’ll try unchecking the HDR box (that I never checked)

ok, so unchecking that made the HW transcoding work again.

Apparently now, I need to visit the support articles:

“Additional driver components may be needed to support hardware transcoding with this feature enabled; see our support articles for further details.”

EDIT: Ok, I see now that this was released in the previous update.

For people seeing this who run Intel for their HW transcoding and it stops working with this update, then this is the reference for you.

disregard the below:

Just curious, when did this feature get added? and why do I need to suddenly go back and retroactively update drivers?

For reference: I was able to play the same files this past weekend (without changing anything)

Then, earlier this week when trying to play the same files (without changing anything) I’m not able to play them.

The installer for 1.21.0 checks for the required HDR drivers

It informs you if they are not present on the system and which Debian/Ubuntu packages to install to satisfy the requirement.

These two external packages are temporary. The capability will soon be intrinsic to PMS for all capable platforms.

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