Server Version#: 1.32.6.7468-07e0d4a7e I did tried to progressively downgrade untill to 1.32.1.6999-91e1e2e2c, still same problem, not tried older versions
Player Version#: chrome web
I’m experiencing exactly this bug, HW transcoding is not working if tone mapping is enabled, it works if tonemapping is disabled
Media info:
> * Codec HEVC
> * Bitrate 20794 kbps
> * Lingua Inglese
> * Language Tag en
> * Bit Depth 10
> * Chroma Location topleft
> * Chroma Subsampling 4:2:0
> * Coded Height 2160
> * Coded Width 3840
> * Color Primaries bt2020
> * Color Range tv
> * Color Space bt2020nc
> * Color Trc smpte2084
> * Frame Rate 23.976 fps
> * Height 2160
> * Livello 5.1
> * Profilo main 10
> * Ref Frames 1
> * Width 3840
> * Display Title 4K HDR10 (HEVC Main 10)
> * Extended Display Title (4K HDR10 HEVC Main 10)
>
> * Codec TRUEHD
> * Canali 8
> * Bitrate 3925 kbps
> * Lingua Italiano
> * Language Tag it
> * Audio Channel Layout 7.1
> * Bit Depth 24
> * Sampling Rate 48000 Hz
> * Titolo TrueHD Atmos 7.1
> * Display Title Italiano (TRUEHD 7.1)
> * Extended Display Title TrueHD Atmos 7.1 (Italiano)
>
> * Codec AC3
> * Canali 6
> * Bitrate 640 kbps
> * Lingua Italiano
> * Language Tag it
> * Audio Channel Layout 5.1(side)
> * Sampling Rate 48000 Hz
> * Titolo AC3 5.1
> * Display Title Italiano (AC3 5.1)
> * Extended Display Title AC3 5.1 (Italiano)
>
> * Codec TRUEHD
> * Canali 8
> * Bitrate 3579 kbps
> * Lingua Inglese
> * Language Tag en
> * Audio Channel Layout 7.1
> * Bit Depth 24
> * Sampling Rate 48000 Hz
> * Titolo TrueHD Atmos 7.1
> * Display Title Inglese (TRUEHD 7.1)
> * Extended Display Title TrueHD Atmos 7.1 (Inglese)
>
> * Codec AC3
> * Canali 6
> * Bitrate 640 kbps
> * Lingua Inglese
> * Language Tag en
> * Audio Channel Layout 5.1(side)
> * Sampling Rate 48000 Hz
> * Titolo AC3 5.1
> * Display Title Inglese (AC3 5.1)
> * Extended Display Title AC3 5.1 (Inglese)
>
> * Imposti true
> * Codec SRT
> * Lingua Italiano
> * Language Tag it
> * Titolo Forced
> * Display Title Italiano Forzato (SRT)
> * Extended Display Title Forced (Italiano SRT)
>
> * Codec SRT
> * Lingua Italiano
> * Language Tag it
> * Titolo SDH
> * Display Title Italiano (SRT)
> * Extended Display Title SDH (Italiano SRT)
>
> * Codec SRT
> * Lingua Inglese
> * Language Tag en
> * Titolo SDH
> * Display Title Inglese (SRT)
> * Extended Display Title SDH (Inglese SRT)
HW transcoding not work on 1.32.6.7468 with HDR tone mapping turned on.
When I downgrade the PSM (1.32.6.7468 to 1.32.5.7349), the HW transcoding works fine even with HDR tone mapping turned on.
CPU:intel i5-13500
Unraid:6.12.4
Linux kernel:6.1.49
edit: i just tried on my debian server and it works with 1.31.3.6868 so something with Ubuntu maybe? or just my install?
edit2: definitely something wrong with my install on Ubuntu, i renamed plexmediaserver directory to .old and installed fresh 1.31.3.6868 and hw acceleration works. sooo what do I do? I really don’t want to have to rebuild my server.
i did that, unfortunately i mistakenly corrupted my database somehow now while trying to do a overwrite of the fresh install thinking that would fix my issues…it did not.
i had renamed plexmediaserver to plexmediaserver.old and installed a fresh plex to see if i could get hw transcoding working, i did. so i then tried to copy plexmediaserver.old back over to just plexmediaserver but forgot to delete the original folder first, and now? my database is corrupted.
Sep 06, 2023 03:17:50.106 [0x7fa379ed3aa8] ERROR - SQLITE3:0x80000001, 11, database corruption at line 68825 of [a29f994989]
Sep 06, 2023 03:17:50.106 [0x7fa379ed3aa8] ERROR - SQLITE3:0x80000001, 11, database corruption at line 68975 of [a29f994989]
Sep 06, 2023 03:17:50.106 [0x7fa379ed3aa8] ERROR - SQLITE3:0x80000001, 11, statement aborts at 10: [] database disk image is malformed
Sep 06, 2023 03:17:50.106 [0x7fa379ed3aa8] ERROR - SQLITE3:0x80000001, 11, database disk image is malformed in "PRAGMA cache_size=2048"
Sep 06, 2023 03:17:50.106 [0x7fa379ed3aa8] ERROR - Database corruption: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2048
Sep 06, 2023 03:17:50.106 [0x7fa379ed3aa8] ERROR - Error: Unable to set up server: sqlite3_statement_backend::prepare: database disk image is malformed for SQL: PRAGMA cache_size=2048 (N4soci10soci_errorE)
thank you, i shall give it a go.
edit: thank you for the attempt, it did fail with every command. I guess it was time to start over anyway it’s only been 11 years of watch history
Offloading some media decoding functionality from the CPU to the HEVC/H.265 micro (µ) Controller (HuC). Only applicable if using intel-media-driver for hardware video acceleration. Introduced with Gen9.
Using the GuC for scheduling, context submission, and power management. Introduced with Alder Lake-P (Mobile), within Gen12.
To use this functionality, the GuC firmware must be loaded. With regards to HuC support, some video features (e.g. CBR rate control on SKL low-power encoding mode) require loading the HuC firmware as well [6]. The GuC and HuC firmware files are both provided by linux-firmware.
GuC functionality is controlled by the i915.enable_guckernel parameter. Its usage is as follows:
By default, the Intel Media Driver is used on Intel CPUs.
For all CPUs, CometLake and higher, Intel Media Driver is required.
Rather than repeat what I posted, I’ll link it here.
For completeness’ sake, I reiterate here. This is on an Intel Celeron N5015 (Jasper Lake-based CPU); I’m on a kernel and distribution which are almost certainly unsupported (6.4.6/Pop!_OS 22.04 LTS), but performed hardware-accelerated transcoding with HDR tone mapping enabled on the previous stable server release.
Without HDR tone mapping enabled, HW accelerated transcoding works as expected. With HDR tone mapping enabled, transcoding falls back to software. Needless to say, on this CPU, this does not go well .
There is no virtual machine, container, or other abstraction involved here.
GuC/HuC are loaded successfully, if that’s in question:
Kernel releases aren’t what they used to be. Minor releases (in the major.minor.patch scheme) represent small, incremental changes these days. As they should do. Heck, even the bump from 5.19 to 6.0 was just because Linus wanted to. It’s almost as though he’s capricious or something.
For 2 (HDR off), I can only confirm that the hardware accelerated transcode is functioning. If there is HDR tone mapping occurring in this case, the client (Safari browser on macOS) is performing it.
No, no subtitles at all. This is the Life Untouched 4K Demo. I’ve forgotten where I got it at this point (LG? Sony?). If you have a particular sample you’d like me to test, let me know. I have the “LG Colors of Journey HDR UHD 4K” demo as well, if that would help.
All indications are right now that it’s having issues enumerating OpenCL platform availability.