Server Version#: 1.40.5.8921
Player Version#: 4.137.1 (web)
I am currently migrating my plex setup from an Odroid H3+ (Jasper Lake N6005) to H4+ (Alder Lake N97). I have gone through the process of backing up, reinstalling Linux, restoring, etc. To be clear, Plex says it is doing hardware transcoding but I am using way more CPU than I am used to (unless I am mistaken). I feel like the H3+ did hardware transcoding around 12% of CPU and the H4+ uses closer to 40%.
Back / Restore Steps
a. backup existing plexmediaserver
sudo service plexmediaserver stop
cd /var/lib
sudo rsync -aPhi --delete /var/lib/plexmediaserver /backup
b. install fresh Debian 12.7 amd
c. install plexmediaserver
Everything seems correct from a firmware perspective. I see that my i915 driver is installed and dmesg doesn’t have errors like ‘Your graphics device *** is not properly supported by the driver’, this happened on H3. But maybe I should be using a different driver setup?
Transcoding
Plex says it is hardware transcoding and here is a screenshot of that.
This is HW transcoding, with tonemapping, and audio conversion on an N100 (AlderLake-N) as seen on my N100.
CPU load will settle down once the output buffer fills and it goes into ‘sloth’ mode (visible in the logs)
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
904459 999 20 0 477444 229836 82688 R 50.8 1.4 0:21.98 Plex Transcoder
895164 999 20 0 2624 1260 1152 S 12.2 0.0 0:27.69 EasyAudioEncode
36810 999 20 0 339704 111008 35584 S 6.9 0.7 19:25.88 Plex Media Serv
886125 root 20 0 0 0 0 I 1.0 0.0 0:01.24 kworker/u8:1-xprtiod
895214 root 20 0 0 0 0 I 0.9 0.0 0:01.02 kworker/u8:4-xprtiod
899730 root 20 0 0 0 0 I 0.7 0.0 0:00.38 kworker/u8:0-xprtiod
903607 root 20 0 0 0 0 I 0.5 0.0 0:00.23 kworker/3:1-i915-unordered
922 root 20 0 160832 106916 9096 S 0.4 0.7 10:46.69 pvestatd
17 root 20 0 0 0 0 I 0.3 0.0 1:20.15 rcu_preempt
The SEI Type 5 are usually associated with timestamps from either poorly encoded or damaged files. A Remux (mkvtoolnix / mkvmerge) will fix the timestamps.
Typical log of these type errors.
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[matroska @ 0x2901800] Non-monotonous DTS in output stream 0:0; previous: 0, current: -167; changing to 0. This may result in incorrect timestamps in the output file.
[matroska @ 0x2901800] Non-monotonous DTS in output stream 0:0; previous: 0, current: -134; changing to 0. This may result in incorrect timestamps in the output file.
[matroska @ 0x2901800] Non-monotonous DTS in output stream 0:0; previous: 0, current: -100; changing to 0. This may result in incorrect timestamps in the output file.
[matroska @ 0x2901800] Non-monotonous DTS in output stream 0:0; previous: 0, current: -67; changing to 0. This may result in incorrect timestamps in the output file.
[matroska @ 0x2901800] Non-monotonous DTS in output stream 0:0; previous: 0, current: -34; changing to 0. This may result in incorrect timestamps in the output file.
[NULL @ 0x28f1ac0] SEI type 5 size 1360 truncated at 680