[SOLVED] Plex doesnt do HW transcoding on Ubuntu 18.04 with i9-9900 (tone mapping related)

This is still an issue for me. Is the Plex team working on an updated driver or do I need to use an older cpu or older release of ubuntu?

@Brandito

Please download some of these test videos.

They are known good and work well to verify transcoding.

https://jell.yfish.us/

Put these in their own folder
Create an ā€œOther Videosā€ type library section which uses that folder.

With DEBUG logging on, VERBOSE logging off,
please test the hardware transcoding

If HW transcoding not indicated in the Status, please download the logs ZIP file and attach here.

I downloaded the 120, 250 and 400 mbps hevc 10bit versions of the clip and all transcode in hardware as expected. These aren’t HDR files though, and that’s where hardware transcoding is failing for me.

Are there any known good HDR 4k files you’d suggest I try?

@Brandito

Did you see the HEVC 10 bit files?

https://jell.yfish.us/media/jellyfish-250-mbps-4k-uhd-hevc-10bit.mkv

These are HEVC HDR

ā€œHEVCā€ can be 8 bit (SDR) or 10 bit (HDR).

ā€œUHDā€ asserts ā€œ10 bitā€ all by itself.

You can’t have ā€œHEVC UHD 8-bitā€ because there is nothing ā€œUltra High Defā€ in that.

I think you have something else going on and would very much like to see the DEBUG log files ZIP from playing the above file.

I really don’t think those jellyfish clips are HDR. 10bit yes, but they don’t trigger the HDR logo on my TVs and Mediainfo finds no mention of HDR or bt.2020. I don’t believe they’re a fair test of my issue. My understanding is not all 10bit files are HDR and this seems to be the case with my 4k library.

I have a few HEVC 10bit files that are bt.709 or SDR and they do not have an issue being transcoded in hardware, it’s only bt.2020 or HDR content.

I’m pasting the video info from mediainfo below. Please take note that my copy of Alita Battle Angel is HEVC 10bit bit only bt.709 which is SDR. This file transcodes in hardware just fine

eneral
Complete name                            : \\NAS\Media\plex\Movies\Alita Battle Angel (2019)\Alita Battle Angel (2019).mkv
Format                                   : Matroska
Format version                           : Version 4
File size                                : 21.3 GiB
Duration                                 : 2 h 1 min
Overall bit rate                         : 25.0 Mb/s
Encoded date                             : UTC 2019-07-09 00:36:00
Writing application                      : mkvmerge v35.0.0 (master: 2421163 / deflate: e647e65) [X86_64]
Writing library                          : libebml v1.3.9 + libmatroska v1.5.2

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
Codec ID                                 : V_MPEGH/ISO/HEVC
Duration                                 : 2 h 1 min
Bit rate                                 : 24.0 Mb/s
Width                                    : 3 840 pixels
Height                                   : 1 608 pixels
Original height                          : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.162
Stream size                              : 20.4 GiB (96%)
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Yes, they are:

Format profile : Main 10@L5@High

ā€œMain 10ā€ = 10 bit
ā€œMainā€ = 8 bit.

ā€œProfilesā€

I will ask, Do you have VaapiDriver="i965" in your Preferences.xml ?

If you do, you need to remove it for the -9xxx machines.
These processors (-9xxx) and above require the Intel Media Driver (iHD)

This is discussion about Server. I’m sorry but there’s nothing I can do about the player app and its interaction with a ā€œLogoā€ on your TV.

We can get the app devs involved if need be. Apps and TVs trigger on the profile information in the header.

Before going ANY further… I must see the log files to know what is happening.

I think we still have a disconnect. I can transcode hevc 10bit files in hardware just fine, I CANNOT transcode HEVC 10bit HDR files in hardware

I have an i3 8100 and there is no VaapiDriver option at all in my preference.xml

I don’t have an issue with any player apps, this appears to be totally server side. I only mentioned the HDR logo to convey to you that those jellyfish videos are not HDR so being able to transcode them in hardware on my server is expected.

What file would you like me to play to generate the log file. I can do the whatever jellyfish file you request, I just figured we should use an HDR file since that’s where I am having issues.

I think we do have a disconnect.

To confirm, you state:

  • You cannot transcode HEVC HDR files in hardware.

May I have a DEBUG log file which captures the first 20 seconds of playback and failure of one such HEVC HDR file ?

Plex Media Server Logs_2021-07-10_13-51-47.zip (1.9 MB)

Here you go

Thanks

Thank you.

The audio is the limitation here.

Please look here:

  1. Selected audio and video tracks
Jul 10, 2021 13:49:55.269 [0x7f23a5518b38] DEBUG - [Transcode] We're going to try to auto-select an audio stream for account 1.
Jul 10, 2021 13:49:55.269 [0x7f23a5518b38] DEBUG - [Transcode] Selecting best audio stream for part ID 67361 (autoselect: 1 language: en)
Jul 10, 2021 13:49:55.269 [0x7f23a5518b38] DEBUG - [Transcode] Audio Stream: 204762, Subtitle Stream: 0
Jul 10, 2021 13:49:55.269 [0x7f23a5518b38] DEBUG - [Transcode] We're going to try to auto-select an audio stream for account 1.
Jul 10, 2021 13:49:55.269 [0x7f23a5518b38] DEBUG - [Transcode] Selecting best audio stream for part ID 67366 (autoselect: 1 language: en)
Jul 10, 2021 13:49:55.269 [0x7f23a5518b38] DEBUG - [Transcode] We're going to try to auto-select a subtitle.
Jul 10, 2021 13:49:55.269 [0x7f23a5518b38] DEBUG - [Transcode] Audio Stream: 204778, Subtitle Stream: -1
Jul 10, 2021 13:49:55.270 [0x7f23a5518b38] DEBUG - [Transcode] Codecs: testing h264_vaapi (encoder)
  1. HEVC HDR decode passed.
ul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x41524742 -> bgra.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475241 -> argb.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x41424752 -> rgba.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474241 -> abgr.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x58524742 -> bgr0.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x42475258 -> 0rgb.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x58424752 -> rgb0.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x52474258 -> 0bgr.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335241 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334241 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30335258 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30334258 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x36314752 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x50424752 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x50524742 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x56555941 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30303859 -> gray.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x3231564e -> nv12.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x3132564e -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x32595559 -> yuyv422.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x59565955 -> uyvy422.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x32315659 -> yuv420p.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30323449 -> yuv420p.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x50313134 -> yuv411p.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x48323234 -> yuv422p.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x56323234 -> yuv440p.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x50343434 -> yuv444p.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x33434d49 -> unknown.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format 0x30313050 -> p010le.
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] Codecs: Testing with profile 'Main 10'
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 32(VPS), nuh_layer_id: 0, temporal_id: 0
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 33(SPS), nuh_layer_id: 0, temporal_id: 0
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 34(PPS), nuh_layer_id: 0, temporal_id: 0
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - nal_unit_type: 20(IDR_N_LP), nuh_layer_id: 0, temporal_id: 0
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Decoding VPS
Jul 10, 2021 13:49:55.299 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Main 10 profile bitstream
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Decoding SPS
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Main 10 profile bitstream
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Decoding VUI
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Decoding PPS
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld chosen by get_format().
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Format vaapi_vld requires hwaccel initialisation.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Considering format 0x30313050 -> p010le.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Picked p010le (0x30313050) as best match for yuv420p10le.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Direct mapping possible.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x1.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x2.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x3.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x4.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x5.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x6.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x7.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x8.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x9.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0xa.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0xb.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0xc.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0xd.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0xe.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0xf.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x10.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x11.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x12.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Created surface 0x13.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Considering format 0x30313050 -> p010le.
Jul 10, 2021 13:49:55.300 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Picked p010le (0x30313050) as best match for yuv420p10le.
Jul 10, 2021 13:49:55.300 [0x7f23a63feb38] DEBUG - Auth: authenticated user 1 as Brandito
Jul 10, 2021 13:49:55.300 [0x7f23a5463b38] DEBUG - Request: [192.168.1.244:55515 (Subnet)] GET /:/timeline?ratingKey=45817&key=%2Flibrary%2Fmetadata%2F45817&playbackTime=0&playQueueItemID=50932&state=playing&hasMDE=1&context=home%3Ahub.custom.collection&row=3&col=0&time=0&duration=7486000 (37 live) TLS GZIP Signed-in Token (Brandito)
Jul 10, 2021 13:49:55.301 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Decode context initialised: 0x16/0x10000000.
Jul 10, 2021 13:49:55.301 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Param buffer (type 0, 604 bytes) is 0.
Jul 10, 2021 13:49:55.301 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Slice 0 param buffer (264 bytes) is 0x1.
Jul 10, 2021 13:49:55.301 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Slice 0 data buffer (47 bytes) is 0x2.
Jul 10, 2021 13:49:55.301 [0x7f23a5518b38] DEBUG - [Transcode] [FFMPEG] - Decode to surface 0x13.
Jul 10, 2021 13:49:55.301 [0x7f23a5463b38] DEBUG - Client [q7tzi8vzuqfb7uozi7jemtvq] reporting timeline state playing, progress of 0/7486000ms for guid=, playbackTime=0ms ratingKey=45817 url=, key=/library/metadata/45817, containerKey=, metadataId=45817, source=
Jul 10, 2021 13:49:55.301 [0x7f23a5518b38] DEBUG - [Transcode] Codecs: 10-bit HEVC test succeeded
  1. This is an MKV file? It’s forcing container change to MP4 and using the DASH protocol.
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] Scaled up video bitrate to 41670Kbps based on 4.500000x fudge factor.
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] Scaled maximum bitrate for resolution reduction to 15843Kbps.
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Selected protocol dash; container: mp4
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: analyzing media item 60159
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Akira (1988): Direct Play is disabled
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Akira (1988): media must be transcoded in order to use the dash protocol
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Akira (1988): selected audio stream is not the first audio stream and direct play stream selection is not enabled
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Akira (1988): no direct play video profile exists for http/mkv/hevc
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Akira (1988): no direct play video profile exists for http/mkv/hevc/truehd
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Akira (1988): no direct play video profile exists for http/mkv/hevc/truehd
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] Akira - video.bitDepth limitation applies: 10 > 8
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Akira (1988): no remuxable profile found, so video stream will be transcoded
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jul 10, 2021 13:49:55.302 [0x7f23a5518b38] DEBUG - [Transcode] Codecs: hardware transcoding: testing API vaapi
  1. At this point, the inability of the player to accept the file as DirectPlay is forcing the transcode. (MKV → MP4 for Dash)

Plex doesn’t transcode to 10 bit output. H.264 tone-mapped 8 bit only.

If the file is MKV – Verify the TV can accept a MKV container. Most cannot.
Also check if TrueHD audio is supported.

This is why you don’t see HDR – You’re getting tonemapped SDR.

Please go look at the settings & advanced settings (if you have them) in the player app. Specifically look for passthrough settings (if you have a AVR / something which can accept the TrueHD audio track)

If you can identify the profile in use, you can augment the profile and make it ā€œcustomā€

I’m attaching another set of logs for an HDR movie that is not true audio and transcodes in software, I’ll also attach one for a 4k movie that is mkv that transcodes in hardware

First one is aquaman which uses EAC3 for audio

Plex Media Server Logs_2021-07-10_14-39-59.zip (2.3 MB)

Here is a log for playing alita battle angel which is NOT HDR but is mkv

Plex Media Server Logs_2021-07-10_14-43-58.zip (2.3 MB)

My comment earlier about the HDR logo showing up on my tv was strictly in relation to the jellyfish clips. I was direct playing them at 4k on a 4k HDR capable tv that normally displays the HDR logo when playing HDR content.

Most of my video content is in MKV and I’ve never had any tv/roku device not handle it. They either direct play/direct stream or if I force a transcode by dropping the quality then they always transcode in hardware if they are not HDR titles. My remote users will only show software transcoding on HDR titles as well.

And yes, my main tv passes audio to an AVR that handles True HD, that tv also shows software transcoding if I drop to 1080p on an HDR movie.

As a test I just played Akira, the movie from the original logs, on a 4k HDR capable tv and it direct streams fine in 4k with that audio track transcoding, if I drop the video quality to force transcoding of the video stream it uses software instead of hardware to transcode the video stream.

I’m going to make a test file for you. I’ll send the link via PM after dinner. ok?

Sounds good, in the meantime I’m attempting a fresh install of ubuntu 20.04 to rule that out

Fresh install of ubuntu 20.04 seems to have solved the problem. Either 21.04 is having a driver issue, or somehow my install got messed up. I wanted to got LTS anyhow I guess. I would be curious to find out if this is just a momentary issue with 21.04 that can be patched.

21.04 is tough to support… especially for the longer term.
As of April 2022, Canonical will no longer support it.
21.04 is the ā€˜work space’ for 22.04.

They seem to use the Odd numbered years for working out issues which then get rolled back into the LTS even numbered year releases.

I just wanted to come and add here i’m having the same issue. 21.04 has broken HDR tonemapping where previously (20.10) it all worked totally fine.

If I turn off tonemapping, it works fine in hw. Same video/audio combo

Something in 21.04 is broken with respect to HDR tonemapping. I tried to run my session in X11 instead of wayland and that is also broken so it’s not a primary display session issue.

Did anyone get further with this? Or is it simply abandoned in favour of rolling back to 20.04?

I’m here with I think the same problem… Tone mapping fails on Ubuntu 21.04. Tonight I spun up an Ubuntu 21.04 system with a 7th gen i3. I believe I have the necessary software installed correctly as I get SDR to SDR hw transcoding per Tautulli… but as soon as I try to play an HDR file to an SDR Windows client, hw acceleration stops working and performance suffers.

Beignet looks ok right?

root@pms:/# dpkg -l | grep beignet
ii  beignet-opencl-icd:amd64                   1.3.2-8                                                              amd64        OpenCL library for Intel ix-3xxx/4xxx GPUs

And the devices look right? (Note: My Plex runs under root, not the user plex because when you click the Plex button Ubuntu shows you, it’s some weird package from the ā€œsnapā€ app repo.)

root@pms:/# ls -la /dev/dri
total 0
drwxr-xr-x   3 root root        100 Sep 10 00:04 .
drwxr-xr-x  21 root root       4100 Sep 10 00:04 ..
drwxr-xr-x   2 root root         80 Sep 10 00:04 by-path
crw-rw----+  1 root video  226,   0 Sep 10 00:04 card0
crw-rw----+  1 root render 226, 128 Sep 10 00:04 renderD128

I am not married to Ubuntu, open to ideas.

@BanzaiInstitute

21.04 has been problematic for many.

20.04 LTS works

Add the packages the installer tells you to and it will work OK.

1 Like

I did just that and all is well!

Why are the necessary Intel runtime libraries not mentioned as requirements/dependencies in any of these articles? (Only for the Plex installer to then notify you of such requirements thereafter.)