Server Version#: 1.30.0.6442
Player Version#: Web 4.87.2 (and any other player)
Hello,
I’ve been struggling with my PLEX Server setup, in terms of having HW tonemapping transcode, from files encoded with h265 with HDR, to h264 SDR.
My setup is currently based on Proxmox. I have a LXC dedicated to PLEX, with the characteristics listed bellow, but one relevant topic is that the HW transcoding from H264 to H264 is working great.
When I enable the “Enable HDR tone mapping” setting, and try to play an HDR h265 file using for instance the Firefox Browser, it tries to transcode but fails.
Characteristics of the LXC (based on the LXC script from ttek (link):
- OS: Ubuntu 20.04
- intel drivers: intel-media-va-driver-non-free
- installed opencl package: beignet-opencl-icd
- output of command “clinfo -l” :
Platform #0: Intel Gen OCL Driver
`-- Device #0: Intel(R) HD Graphics Kabylake ULT GT2
- output of manually installed PLEX server, version 1.30.0.6442:
PlexMediaServer install: Pre-installation Validation.
/var/lib/dpkg/tmp.ci/preinst: line 365: warning: command substitution: ignored null byte in input
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.30.0.6442-5070ad484) over (1.29.2.6364-6d72b0cf6) ...
Setting up plexmediaserver (1.30.0.6442-5070ad484) ...
PlexMediaServer install: PlexMediaServer-1.30.0.6442-5070ad484 - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install: Installation Type: Update
PlexMediaServer install: Process Control: systemd
PlexMediaServer install: Plex User: plex
PlexMediaServer install: Plex Group: plex
PlexMediaServer install: Video Group: syslog
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp (set in Preferences.xml)
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Processor: Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
PlexMediaServer install: Intel i915 Hardware: Found
PlexMediaServer install: Nvidia GPU card: Not Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.30.0.6442-5070ad484 - Installation successful. Errors: 0, Warnings: 0
Processing triggers for mime-support (3.64ubuntu1) ...
- When trying to play (and transcode) an HDR h265 file, with setting “Enable HDR tone mapping”, the console logs shows the following:
Nov 28, 2022 21:18:00.299 [0x7efd71db1b38] Info — [Req#267b/Transcode] Preparing driver icr for GPU HD Graphics 620
Nov 28, 2022 21:18:00.356 [0x7efd72879b38] Error — [Req#269c/Transcode/ev1b1divebwfnsql961vicug/9e8f29be-ef46-4925-97d7-8417d562d645] [AVHWDeviceContext @ 0x7f1bfb578dc0] Failed to get number of OpenCL platforms: -1001.
Nov 28, 2022 21:18:00.357 [0x7efd75ef6b38] Error — [Req#26a2/Transcode/ev1b1divebwfnsql961vicug/9e8f29be-ef46-4925-97d7-8417d562d645] [AVHWDeviceContext @ 0x7f1bfb578dc0] Failed to get number of OpenCL platforms: -1001.
Nov 28, 2022 21:18:00.357 [0x7efd6b7abb38] Error — [Req#26a5/Transcode/ev1b1divebwfnsql961vicug/9e8f29be-ef46-4925-97d7-8417d562d645] [Parsed_hwmap_2 @ 0x7f1bfa846500] Failed to created derived device context: -19.
Nov 28, 2022 21:18:00.357 [0x7efd72c7fb38] Error — [Req#26a6/Transcode/ev1b1divebwfnsql961vicug/9e8f29be-ef46-4925-97d7-8417d562d645] [Parsed_hwmap_2 @ 0x7f1bfa846500] Failed to configure output pad on Parsed_hwmap_2
Nov 28, 2022 21:18:00.358 [0x7efd6b5a8b38] Error — [Req#26a9/Transcode/ev1b1divebwfnsql961vicug/9e8f29be-ef46-4925-97d7-8417d562d645] Error reinitializing filters!
Nov 28, 2022 21:18:00.359 [0x7efd71db1b38] Error — [Req#26ac/Transcode/ev1b1divebwfnsql961vicug/9e8f29be-ef46-4925-97d7-8417d562d645] Failed to inject frame into filter network: No such device
Nov 28, 2022 21:18:00.359 [0x7efd6f16bb38] Error — [Req#26af/Transcode/ev1b1divebwfnsql961vicug/9e8f29be-ef46-4925-97d7-8417d562d645] Error while processing the decoded data for stream #0:0
… and then it starts using the CPU to transcode, which is non effective.
I’ve already made a clean Proxmox Install, with a new LXC clean install, and lastly, I’ve also installed the Proxmox Edge kernels, but the result is the same.
If anyone has an idea of what is happening, I would appreciated it. I can share de debug logs if needed.
Regards,