With this new version PMS 1.29.1.6260 the tone mapping does not work for me. I’m running on Ubuntu 22.04.1 and I have a J4105 processor. In order for tone mapping to work in the current stable version I had to install beignet-opencl-icd_1.3.2 myself.
I’ve gone back to 1.29.0 and it’s working fine again.
I need your PMS logs which captures the failure PRIOR to installing Beignet.
I’ve tested this on everything from KabyLake up through CometLake (desktop and NAS) without anything failing.
FYI: Ubuntu 22.04.1 does not offer Beignet. Intel withdrew all that with the launch of 22.04
[chuck@NUC10i5FNK Plex Media Server.252]$ apt list | grep -i beignet
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
[chuck@NUC10i5FNK Plex Media Server.253]$
For the purposes of confirming that it’s not using any of the old libraries, this is my NUC11 transcoding 4K HDR10 to 1080P SDR H.264. Specifically, lsof against the transcoder process running under plex.
The only access I see is to the files in the drivers folder. I’ve redacted the IPs and a few other small things, nothing relevant to this.
plex@plex:~$ lsof -p 65822
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Plex\x20T 65822 plex cwd DIR 259,2 20480 28967069 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-f53352464zbtqpi5ik9asfak-194e5bce-c234-4a36-bbf7-f4196b68db51
Plex\x20T 65822 plex rtd DIR 259,2 4096 2 /
Plex\x20T 65822 plex txt REG 259,2 322920 34868062 /usr/lib/plexmediaserver/Plex Transcoder
Plex\x20T 65822 plex mem REG 0,13 14490 anon_inode:i915.gem (stat: No such file or directory)
Plex\x20T 65822 plex mem REG 259,2 502595768 18220288 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Drivers/icr-9-linux-x86_64/libigc.so.1.0.1
Plex\x20T 65822 plex mem REG 259,2 71783176 18220283 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Drivers/icr-9-linux-x86_64/libopencl-clang.so.11
Plex\x20T 65822 plex mem REG 259,2 13014752 18220434 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Drivers/icr-9-linux-x86_64/libigdfcl.so.1.0.1
Plex\x20T 65822 plex mem REG 259,2 1152880 34868104 /usr/lib/plexmediaserver/lib/libc++.so.2
Plex\x20T 65822 plex mem REG 259,2 129576896 18220436 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Drivers/icr-9-linux-x86_64/libigdrcl.so
Plex\x20T 65822 plex mem REG 259,2 757520 34868091 /usr/lib/plexmediaserver/lib/libigdgmm.so.plex
Plex\x20T 65822 plex mem REG 259,2 32665376 34868110 /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so
Plex\x20T 65822 plex mem REG 259,2 1675816 19661386 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libh264_decoder.so
Plex\x20T 65822 plex mem REG 259,2 1565664 19661385 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libhevc_decoder.so
Plex\x20T 65822 plex mem REG 259,2 143688 19661384 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libac3_decoder.so
Plex\x20T 65822 plex mem REG 259,2 1790024 19661383 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/liblibx264_encoder.so
Plex\x20T 65822 plex mem REG 259,2 200520 19661382 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libaac_encoder.so
Plex\x20T 65822 plex mem REG 259,2 131752 19661187 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libmp2_decoder.so
Plex\x20T 65822 plex mem REG 259,2 897640 19661186 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libmpeg4_decoder.so
Plex\x20T 65822 plex mem REG 259,2 630584 19661185 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libmsmpeg4v3_decoder.so
Plex\x20T 65822 plex mem REG 259,2 1256784 19661184 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libvc1_decoder.so
Plex\x20T 65822 plex mem REG 259,2 675552 19661183 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libmpeg2video_decoder.so
Plex\x20T 65822 plex mem REG 259,2 222040 19661182 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/liblibmp3lame_encoder.so
Plex\x20T 65822 plex mem REG 259,2 304912 19661180 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libdca_decoder.so
Plex\x20T 65822 plex mem REG 259,2 131752 19661179 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libmp3_decoder.so
Plex\x20T 65822 plex mem REG 259,2 278600 19661178 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/c4efa15-4387-linux-x86_64/libaac_decoder.so
Plex\x20T 65822 plex mem REG 259,2 35576 34868097 /usr/lib/plexmediaserver/lib/libpciaccess.so.0
Plex\x20T 65822 plex mem REG 259,2 79408 34868118 /usr/lib/plexmediaserver/lib/libdrm.so.2
Plex\x20T 65822 plex mem REG 259,2 9040 34868125 /usr/lib/plexmediaserver/lib/libva-drm.so.2
Plex\x20T 65822 plex mem REG 259,2 165360 34868131 /usr/lib/plexmediaserver/lib/libva.so.2
Plex\x20T 65822 plex mem REG 259,2 711448 34868077 /usr/lib/plexmediaserver/lib/libavutil.so.56
Plex\x20T 65822 plex mem REG 259,2 769480 34868130 /usr/lib/plexmediaserver/lib/libswscale.so.5
Plex\x20T 65822 plex mem REG 259,2 146064 34868100 /usr/lib/plexmediaserver/lib/libswresample.so.3
Plex\x20T 65822 plex mem REG 259,2 4337816 34868129 /usr/lib/plexmediaserver/lib/libavcodec.so.58
Plex\x20T 65822 plex mem REG 259,2 5073424 34868067 /usr/lib/plexmediaserver/lib/libavformat.so.58
Plex\x20T 65822 plex mem REG 259,2 7974584 34868098 /usr/lib/plexmediaserver/lib/libavfilter.so.7
Plex\x20T 65822 plex mem REG 259,2 58688 34868121 /usr/lib/plexmediaserver/lib/libgcompat.so.0
Plex\x20T 65822 plex mem REG 259,2 747264 34868102 /usr/lib/plexmediaserver/lib/ld-musl-x86_64.so.1
Plex\x20T 65822 plex 0r CHR 1,3 0t0 5 /dev/null
Plex\x20T 65822 plex 1u unix 0x0000000000000000 0t0 984549 type=STREAM
Plex\x20T 65822 plex 2u unix 0x0000000000000000 0t0 984549 type=STREAM
Plex\x20T 65822 plex 3u IPv4 1640864 0t0 TCP localhost:40756->localhost:32400 (ESTABLISHED)
Plex\x20T 65822 plex 4u CHR 226,128 0t0 351 /dev/dri/renderD128
Plex\x20T 65822 plex 5r REG 0,59 8917735613 146728119 REDACTED.mkv
Plex\x20T 65822 plex 6w REG 259,2 0 28968745 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-f53352464zbtqpi5ik9asfak-194e5bce-c234-4a36-bbf7-f4196b68db51/chunk-stream0-00320.m4s.tmp
Plex\x20T 65822 plex 7u IPv4 1637836 0t0 TCP plex:36268->REDACTED:https (ESTABLISHED)
Plex\x20T 65822 plex 8w REG 259,2 0 28968746 /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-f53352464zbtqpi5ik9asfak-194e5bce-c234-4a36-bbf7-f4196b68db51/chunk-stream1-00320.m4s.tmp
Plex\x20T 65822 plex 9u CHR 226,128 0t0 351 /dev/dri/renderD128
Plex\x20T 65822 plex 60u IPv4 990222 0t0 TCP localhost:32898->localhost:41729 (ESTABLISHED)
Plex\x20T 65822 plex 61u IPv4 990223 0t0 TCP localhost:41729->localhost:32898 (ESTABLISHED)
Plex\x20T 65822 plex 67u netlink 0t0 989546 ROUTE
Plex\x20T 65822 plex 70u IPv4 1585382 0t0 TCP plex:54104->REDACTED:32400 (ESTABLISHED)
Plex\x20T 65822 plex 84u IPv4 981990 0t0 TCP plex:46026->REDACTED:https (ESTABLISHED)
This may be out of scope, I apologize if so. Will 1.29,1 address hardware transcoding with NVidia GPUs as well?
Not out of scope at all.
I didn’t know there was a problem with Nvidia GPUs.
I use a P2200 without any issues whatsoever. Our Lab NAS has a GT1050 which we use for all QA testing.
Please feel free to create a new thread, explain what’s happening, attach your server logs which capture it.
Then ping me @chuckpa
Can anyone confirm that hw tone mapping works with v1.29.1 using linuxserver.io docker repo?
I’m using Beelink U59 Pro (N5015-processor).
Ideally I’d like to run Plex in LXC (Proxmox) with HW transcoding support, but I’m having major issues getting iGPU working with Plex or with anything with that matter, except perhaps for Windows. So before I proceed to that, I’ve been fiddling more directly with the hardware, ie. Ubuntu server directly on it without proxmox or anything like that.
I’m getting age old errors, which I assume shouldn’t be anymore receiving:
plex h264_vaapi @ 0x7f14c68c7b40] Driver does not support any RC mode compatible with selected options (supported modes: CQP).
I have plex pass, hw transcoding is enabled, but as seen from above, it is not being used.
Currently I’m running vanilla installation with only latest Ubuntu server 22.04.1 and latest plex 1.29.1.6260-420892357
It does. Using the linuxserver Plex docker on Unraid 6.11 and it’s working as it should.
I use the official Plex docker under unRAID, I presume no action is needed ?
Version PMS 1.29.0.6244
Logs with beignet::
Plex Media Server Logs_2022-09-30_14-56-37.zip (346.7 KB)
Logs without beignet:
Plex Media Server Logs_2022-09-30_14-57-48.zip (369.0 KB)
You turned off DEBUG logging so the logs are of little use.
HOWEVER,
- With PMS 1.29.1, it recognized the QSV ASIC as GeminiLake and prepared the driver.
Sep 29, 2022 20:38:37.358 [0x7f4a7a5fcb38] INFO - Plex Media Server v1.29.1.6260-420892357 - Ubuntu PC x86_64 - build: linux-x86_64 debian - GMT 02:00
Sep 29, 2022 20:38:37.359 [0x7f4a7a5fcb38] INFO - Linux version: 22.04.1 LTS (Jammy Jellyfish), language: en-US
Sep 29, 2022 20:38:37.359 [0x7f4a7a5fcb38] INFO - Processor: 4-core Intel(R) Celeron(R) J4105 CPU @ 1.50GHz
Sep 29, 2022 20:38:37.359 [0x7f4a7a5fcb38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
Sep 29, 2022 20:38:37.359 [0x7f4a7a5fcb38] INFO - /usr/lib/plexmediaserver/Plex Media Server
Sep 29, 2022 20:38:37.453 [0x7f4a7f49c6f0] INFO - [CERT/OCSP] Successfully retrieved response from cache.
Sep 29, 2022 20:38:37.591 [0x7f4a7f49c6f0] INFO - Running migrations. (EPG 0)
Sep 29, 2022 20:38:37.839 [0x7f4a7f49c6f0] INFO - Running migrations. (EPG 0)
Sep 29, 2022 20:38:37.921 [0x7f4a783d3b38] INFO - Preemptively preparing driver icr for GPU GeminiLake [UHD Graphics 600]
Sep 29, 2022 20:38:38.438 [0x7f4a77ec6b38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability
Sep 29, 2022 20:38:38.438 [0x7f4a77ec6b38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms
Sep 29, 2022 20:38:38.488 [0x7f4a7748fb38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability
Sep 29, 2022 20:38:38.488 [0x7f4a7748fb38] WARN - [MediaProviderManager] Unrecognized MediaProvider feature: availability-platforms
Sep 29, 2022 20:38:39.340 [0x7f4a7728cb38] WARN - Crash: Crash reporting disabled
- You have permission problems accessing some of your media.
Sep 29, 2022 22:25:43.075 [0x7f32fcd16b00] ERROR - IsDirectory failed boost::filesystem::status: Permission denied: "/media/Nas/Fotos/Camara Elena/PICT0001.jpg"
Sep 29, 2022 22:25:43.168 [0x7f32fcd16b00] ERROR - IsDirectory failed boost::filesystem::status: Permission denied: "/media/Nas/Peliculas/300 [4K UHDremux][2160p][HDR10][DTS-HD 5.1 Castellano-AC3 5.1-Ingles+Subs][ES-EN]/Peliculas y Series estrenos gratis - atomixhq.one.URL"
When you have an opportunity:
- Enable DEBUG logging
- Install 1.29.1
- Retest
- Download logs of a failed session,
- Attach the ZIP
New logs with PMS 1.29.1
Version 1.29.0.6244
binaryjay@binaryplex:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server$ ls -l
total 44
drwxr-xr-x 6 plex plex 4096 Sep 30 11:36 Cache
drwxr-xr-x 4 plex plex 4096 Sep 29 16:07 Codecs
drwxr-xr-x 12 plex plex 4096 Sep 29 16:07 'Crash Reports'
drwxr-xr-x 2 plex plex 4096 Jun 23 02:01 Diagnostics
drwxr-xr-x 3 plex plex 4096 Sep 30 04:03 Logs
drwxr-xr-x 3 plex plex 4096 Jun 17 16:26 Media
drwxr-xr-x 6 plex plex 4096 Jun 17 16:44 Metadata
-rw-r--r-- 1 plex plex 3 Sep 29 16:51 plexmediaserver.pid
drwxr-xr-x 2 plex plex 4096 Jun 17 16:15 Plug-ins
drwxr-xr-x 7 plex plex 4096 Jun 17 16:18 'Plug-in Support'
-rw-r--r-- 1 plex plex 1046 Sep 30 02:46 Preferences.xml
binaryjay@binaryplex:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Definitely no Drivers folder being created here. Is there something I can search for myself in logs when it is supposed to attempt to create this? I can’t get to attaching them right now.
No luck here
See the logs
Plex Media Server Logs_2022-09-30_18-17-41.zip (2.0 MB)
PMS 1.29.0 – No Drivers directory
PMS 1.29.1 – Has Drivers directory
(As stated in my OP) ![]()
@ChuckPa Ah, crap! I’m sorry… I totally missed the .1 and just saw 6240 and thought “yep, 6244 is higher than 6240”.
By the way, installing the proper version it works fine. Drivers folder is created and tone mapping with HW reported is working again. Thanks!
Thank you. I see the HEVC - MPEG2TS stream fail.
Might you be able to cut off a snip of the file (10-15 MB or so) using dd so I may include it with the trouble report?
This is very unexpected. I’ve not seen it fail this way before.
Here is the file…
sample.zip (14.8 MB)
But this happens with any HEVC HDR video.
Thanks for your time.
Thank you for the sample.
Your CPU is a Gemini Lake and those are the easiest thing to make work along with KabyLake/ApolloLake. There are no surprises with the CPU. It’s super stable.
I do think there’s a problem with the host itself.
I would like to know where and how you installed Beignet on Ubuntu 22.04 when neither Canonical nor Intel provide beignet-opencl-icd in 22.04. They expressly remove it as Ubuntu 22.04 upgrades from 20.04
(I know this because I had to rework the Linux package around the problem when 22.04 was released to beta)
I downloaded beignet-opencl-icd_1.3.2-8_amd64.deb from Debian 11 ftp , installed and it worked.