@Linerjoe do you have the Intel compute runtime packages installed? On PMS 1.22.0.4163, a i7-10700 should do hw transcoding, including HDR tone mapping, once you install them and restart the PMS service.
I did not! I just installed them, and restarted PMS. That seemed to help, although CPU usage does appear higher than previous.
Before, transcoding a 4k HDR title to 1080/flac (Chrome) would use all 8 CPU’s, pushing usage to 100%. Now it’s about 30%. Most of my watching is done on a Shield Pro, which doesn’t require any transcoding, so I really didn’t notice this issue until I was doing some testing on some webhooks, so I was starting/stopping from a browser (triggering transcoding).
If you’re using subtitles (PGS, VOBSUB, DVDRIP, or just burning in SRT), you will burn CPU cycles on that.
The special libraries do not yet provide HW burning of subtitles.
No subtitles.
May I have the DEBUG logs please which capture this?
- Start playback
- Play 20-30 seconds
- Stop
- Wait 20 seconds for logs to flush to disk
- Settings - Server - Troubleshooting - Download Logs
- Attach the ZIP file here for me to review.
This issue persists with PMS 1.22.1.4228-724c56e62.
Same for me as well - i5-10600K with Intel Compute runtime installed.
Would you all be kind enough to please create some fresh logs for the transcoder team to come grab?
Best logs to provide:
-
Verify DEBUG logging enabled, VERBOSE logging disabled – SAVE if you make changes
-
Restart PMS
-
Wait 2 minutes
-
Recreate the failure by:
a. Start Playback
b. Let play 20 seconds
c. Stop Playback
d. Let sit idle 20 seconds for logs to flush to disk -
Download Logs ZIP file (Settings - Server - Troubleshooting - Download Logs)
-
Attach that ZIP file here (in thread upload)
@ChuckPa here you go: Plex Media Server Logs_2021-03-25_07-45-03.zip (2.6 MB)
Seems like this is the relevant info needed @ChuckPa
Mar 25, 2021 07:43:26.286 [0x7f4c3effd700] ERROR - [Transcoder] [AVHWDeviceContext @ 0x18a5d40] No matching devices found.
Mar 25, 2021 07:43:26.287 [0x7f4c227fc700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0x18a31c0] Failed to created derived device context: -19.
Mar 25, 2021 07:43:26.287 [0x7f4ba3fff700] ERROR - [Transcoder] [Parsed_hwmap_2 @ 0x18a31c0] Failed to configure output pad on Parsed_hwmap_2
Mar 25, 2021 07:43:26.288 [0x7f4c3effd700] ERROR - [Transcoder] Error reinitializing filters!
Mar 25, 2021 07:43:26.289 [0x7f4c227fc700] ERROR - [Transcoder] Failed to inject frame into filter network: No such device
Mar 25, 2021 07:43:26.289 [0x7f4ba3fff700] ERROR - [Transcoder] Error while processing the decoded data for stream #0:0
Mar 25, 2021 07:43:26.336 [0x7f4c55528700] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 28437 is 1 (failure)
Mar 25, 2021 07:43:26.336 [0x7f4c23fff700] DEBUG - Streaming Resource: Changing client to use software decoding
That’s what I’m seeing to.
I wrote it up yesterday and gave it to Engineering.
IMHO, it’s a regression but time will tell
My recommendation for now is to downgrade PMS version
Today’s Challenge Question:
Is everyone who’s having problems ALSO running Ubuntu 20.04 or the Debian 10?
Ubuntu 19 and older will not cut it here.
Same goes for older Debian versions.
There is insufficient kernel support
nuc@nuc:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
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"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
nuc@nuc:~$ uname -r
5.11.8-051108-generic
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
5.10.0-5-amd64 #1 SMP Debian 5.10.24-1 (2021-03-19) x86_64 GNU/Linux
Model name: Intel(R) Core(TM) i5-10600K CPU @ 4.10GHz
I update kernel manually from SID
You guys are killing me!
I run a Redhat-based system now but still a NUC8i7-HVK.
I need a working ESXi VM with i915 passthrough (which I’ve not figured out yet how to do).
$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
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"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
$ uname -r
5.4.0-70-generic
that 5.4 kernel will not hack it. It’s not even the right kernel
chuck@ubuntu:~$ uname -a
Linux ubuntu 5.8.0-44-generic #50~20.04.1-Ubuntu SMP Wed Feb 10 21:07:30 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
chuck@ubuntu:~$ cat /etc/os-release
NAME="Ubuntu"
VERSION="20.04.2 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.2 LTS"
VERSION_ID="20.04"
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"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
chuck@ubuntu:~$
Everyone – Please also include which CPU you are using – EXTREMELY important to help my sanity (also trying to keep -10xxx CPUs sorted)
IF I understand everything correctly –
- All Intel processor SKUs below -9000 will continue to use Beignet
- All Intel processors SKUs above -9000 are to switch to Intel Compute Runtime.
This is a change Engineering put in (which I’m still trying to get clarification on while learning how some of this stuff works).
nuc@nuc:~$ sudo lshw -short
H/W path Device Class Description
=============================================================
system NUC10i7FNH (BXNUC10i7FNH)
/0 bus NUC10i7FNB
/0/0 memory 64KiB BIOS
/0/37 memory 32GiB System Memory
/0/37/0 memory 16GiB SODIMM DDR4 Synchronous 2667 MHz (0.4 ns)
/0/37/1 memory 16GiB SODIMM DDR4 Synchronous 2667 MHz (0.4 ns)
/0/43 memory 384KiB L1 cache
/0/44 memory 1536KiB L2 cache
/0/45 memory 12MiB L3 cache
/0/46 processor Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
/0/100 bridge Intel Corporation
/0/100/2 /dev/fb0 display Intel Corporation
/0/100/8 generic Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
/0/100/12 generic Comet Lake Thermal Subsytem
/0/100/14 bus Intel Corporation
/0/100/14/0 usb1 bus xHCI Host Controller
/0/100/14/0/a communication Bluetooth wireless interface
/0/100/14/1 usb2 bus xHCI Host Controller
/0/100/14.2 memory RAM memory
/0/100/14.3 wlp0s20f3 network Wireless-AC 9462
/0/100/15 bus Serial IO I2C Host Controller
/0/100/15.2 bus Intel Corporation
/0/100/16 communication Comet Lake Management Engine Interface
/0/100/17 storage Comet Lake SATA AHCI Controller
/0/100/1c bridge Intel Corporation
/0/100/1c/0 bridge JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/0 bridge JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/0/0 generic JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018]
/0/100/1c/0/1 bridge JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/2 bridge JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018]
/0/100/1c/0/2/0 bus JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018]
/0/100/1c/0/2/0/0 usb3 bus xHCI Host Controller
/0/100/1c/0/2/0/1 usb4 bus xHCI Host Controller
/0/100/1d bridge Intel Corporation
/0/100/1d/0 storage Sandisk Corp
/0/100/1d/0/0 /dev/nvme0 storage WDS500G3X0C-00SJG0
/0/100/1d/0/0/1 /dev/nvme0n1 disk 500GB NVMe namespace
/0/100/1d/0/0/1/1 /dev/nvme0n1p1 volume 511MiB Windows FAT volume
/0/100/1d/0/0/1/2 /dev/nvme0n1p2 volume 465GiB EXT4 volume
/0/100/1d.5 bridge Intel Corporation
/0/100/1d.5/0 generic Genesys Logic, Inc
/0/100/1f bridge Intel Corporation
/0/100/1f.3 multimedia Intel Corporation
/0/100/1f.4 bus Intel Corporation
/0/100/1f.5 bus Comet Lake SPI (flash) Controller
/0/100/1f.6 eno1 network Ethernet Connection (10) I219-V
/0/1 system PnP device PNP0c02
/0/2 generic PnP device ITE8708
/0/3 system PnP device PNP0c02
/0/4 generic PnP device INT3f0d
/0/5 system PnP device PNP0c02
/0/6 system PnP device PNP0c02
/0/7 system PnP device PNP0c02
/0/8 system PnP device PNP0c02
/0/9 scsi2 storage
/0/9/0.0.0 /dev/sda disk 1TB SHGS31-1000GS-2
/0/9/0.0.0/1 /dev/sda1 volume 931GiB EXT4 volume
/1 power To Be Filled By O.E.M.
nuc@nuc:~$ lscpu
Architecture: x86_64
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 39 bits physical, 48 bits virtual
CPU(s): 12
On-line CPU(s) list: 0-11
Thread(s) per core: 2
Core(s) per socket: 6
Socket(s): 1
NUMA node(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 166
Model name: Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz
Stepping: 0
CPU MHz: 1600.000
CPU max MHz: 4700.0000
CPU min MHz: 400.0000
BogoMIPS: 3199.92
Virtualization: VT-x
L1d cache: 192 KiB
L1i cache: 192 KiB
L2 cache: 1.5 MiB
L3 cache: 12 MiB
NUMA node0 CPU(s): 0-11
Vulnerability Itlb multihit: KVM: Mitigation: VMX disabled
Vulnerability L1tf: Not affected
Vulnerability Mds: Not affected
Vulnerability Meltdown: Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2: Mitigation; Enhanced IBRS, IBPB conditional, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort: Not affected
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est t
m2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single ssbd ibrs ibpb stibp ibrs_enhanced tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 avx2 sm
ep bmi2 erms invpcid mpx rdseed adx smap clflushopt intel_pt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear flush_l1d arch_capabilities
5.4 is what comes stock with 20.04 LTS FYI @ChuckPa
Linux ubuntu-test 5.4.0-70-generic #78-Ubuntu SMP Fri Mar 19 13:29:52 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
From a VM I recently spun up for some unrelated testing