out of curiosity what are those env variables you are defining?
i have heard of something similar to what you have described it was on proxmox if i dont mistake but my issue is i have 2 8tb external HDD that i like to act is media storgae and the omv gui is seems very easy to navigate and manage i have seen if i switch to proxmox and do the LXC container thing i use actually less resources compare to my current setup.
Just found this thread as I discovered this morning my server is also not hardware transcoding anymore (used to do it). Whats the recommended fix proposed? I’m on 1.30.1.6497
:/opt/plexupdate$ uname -a
Linux plexserver2 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
:/opt/plexupdate$ cat /proc/cpuinfo | grep ‘model name’ | uniq
model name : Intel(R) Core™ i7-10710U CPU @ 1.10GHz
:/opt/plexupdate$ dpkg -l | grep plexm
ii plexmediaserver 1.30.1.6497-5fc2e0894 amd64
lexMediaServer install: PlexMediaServer-1.30.1.6497-5fc2e0894 - 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: video
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /tmp
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Processor: Intel(R) Core™ i7-10710U CPU @ 1.10GHz
PlexMediaServer install: Intel i915 Hardware: Not 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.1.6497-5fc2e0894 - Installation successful. Errors: 0, Warnings: 0
ocl-icd-libopencl1 is already the newest version (2.2.14-3).
beignet-opencl-icd is already the newest version (1.3.2-7build1).
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Fixed it - removed beignet; reinstalled intel open cli. Clinfo shows it working now; Plex install shows i916 hardware there and transcoding via hardware now working again.
So I reinstall my server with official ubuntu 20.04.5 image
AND Installed native package plexmediaserver_1.29.2.6364-6d72b0cf6_amd64.deb without any modifications after system install was complete.
But hardware decoder still not working .
Then trying clear up and update plexmediaserver to 1.30.2.6563 and get same error. here is log for both version: 1.30.2.6563.zip (215.8 KB) 1.29.2.6364.zip (233.7 KB)
My server looks like this (uname & dmesg & /dev/dri & modinfo shell output):
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.15.0-46-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
System information as of Sun 15 Jan 2023 07:34:45 AM UTC
System load: 1.12 Temperature: 49.0 C
Usage of /: 13.8% of 53.69GB Processes: 146
Memory usage: 17% Users logged in: 0
Swap usage: 0% IPv4 address for enp1s0: 192.168.1.2
* Strictly confined Kubernetes makes edge and IoT secure. Learn how MicroK8s
just raised the bar for easy, resilient and secure K8s cluster deployment.
https://ubuntu.com/engage/secure-kubernetes-at-the-edge
83 updates can be applied immediately.
58 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable
New release '22.04.1 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Your Hardware Enablement Stack (HWE) is supported until April 2025.
Last login: Sun Jan 15 07:30:32 2023 from 192.168.1.118
root@paw-side-server:~# uname -a
Linux paw-side-server 5.15.0-46-generic #49~20.04.1-Ubuntu SMP Thu Aug 4 19:15:44 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
root@paw-side-server:~# dpkg -l | grep plexm
ii plexmediaserver 1.30.2.6563-3d4dc0cce amd64 Plex organizes all of your personal media so you can easily access and enjoy it.
root@paw-side-server:~# dmesg | grep -i i915
[ 1.635628] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 1.638466] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 1.639016] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[ 1.661288] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 1.711067] fbcon: i915drmfb (fb0) is primary device
[ 1.796145] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 3.849939] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[ 3.854089] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
root@paw-side-server:~# ll /dev/dri
total 0
drwxr-xr-x 3 root root 100 Jan 15 07:10 ./
drwxr-xr-x 19 root root 4360 Jan 15 07:10 ../
drwxr-xr-x 2 root root 80 Jan 15 07:10 by-path/
crw-rw---- 1 root render 226, 0 Jan 15 07:19 card0
crw-rw---- 1 root render 226, 128 Jan 15 07:19 renderD128
root@paw-side-server:~# modinfo i915 | grep guc
firmware: i915/skl_guc_62.0.0.bin
firmware: i915/bxt_guc_62.0.0.bin
firmware: i915/kbl_guc_62.0.0.bin
firmware: i915/glk_guc_62.0.0.bin
firmware: i915/kbl_guc_62.0.0.bin
firmware: i915/kbl_guc_62.0.0.bin
firmware: i915/cml_guc_62.0.0.bin
firmware: i915/icl_guc_62.0.0.bin
firmware: i915/ehl_guc_62.0.0.bin
firmware: i915/ehl_guc_62.0.0.bin
firmware: i915/tgl_guc_62.0.0.bin
firmware: i915/tgl_guc_62.0.0.bin
firmware: i915/tgl_guc_62.0.0.bin
firmware: i915/adlp_guc_62.0.3.bin
parm: enable_guc:Enable GuC load for GuC submission and/or HuC load. Required functionality can be selected using bitmask values. (-1=auto [default], 0=disable, 1=GuC submission, 2=HuC load) (int)
parm: guc_log_level:GuC firmware logging level. Requires GuC to be loaded. (-1=auto [default], 0=disable, 1..4=enable with verbosity min..max) (int)
parm: guc_firmware_path:GuC firmware path to use instead of the default one (charp)
root@paw-side-server:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 156
model name : Intel(R) Celeron(R) N5105 @ 2.00GHz
stepping : 0
microcode : 0x24000023
cpu MHz : 2000.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 0
cpu cores : 4
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 27
wp : yes
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 rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust smep erms rdt_a rdseed smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip waitpkg gfni rdpid movdiri movdir64b md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs srbds mmio_stale_data
bogomips : 3993.60
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 156
model name : Intel(R) Celeron(R) N5105 @ 2.00GHz
stepping : 0
microcode : 0x24000023
cpu MHz : 2000.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 1
cpu cores : 4
apicid : 2
initial apicid : 2
fpu : yes
fpu_exception : yes
cpuid level : 27
wp : yes
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 rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust smep erms rdt_a rdseed smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip waitpkg gfni rdpid movdiri movdir64b md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs srbds mmio_stale_data
bogomips : 3993.60
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 2
vendor_id : GenuineIntel
cpu family : 6
model : 156
model name : Intel(R) Celeron(R) N5105 @ 2.00GHz
stepping : 0
microcode : 0x24000023
cpu MHz : 2000.000
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 2
cpu cores : 4
apicid : 4
initial apicid : 4
fpu : yes
fpu_exception : yes
cpuid level : 27
wp : yes
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 rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust smep erms rdt_a rdseed smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip waitpkg gfni rdpid movdiri movdir64b md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs srbds mmio_stale_data
bogomips : 3993.60
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 156
model name : Intel(R) Celeron(R) N5105 @ 2.00GHz
stepping : 0
microcode : 0x24000023
cpu MHz : 781.499
cache size : 4096 KB
physical id : 0
siblings : 4
core id : 3
cpu cores : 4
apicid : 6
initial apicid : 6
fpu : yes
fpu_exception : yes
cpuid level : 27
wp : yes
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 rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl est tm2 ssse3 sdbg cx16 xtpr pdcm sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave rdrand lahf_lm 3dnowprefetch cpuid_fault epb cat_l2 cdp_l2 ssbd ibrs ibpb stibp ibrs_enhanced fsgsbase tsc_adjust smep erms rdt_a rdseed smap clflushopt clwb intel_pt sha_ni xsaveopt xsavec xgetbv1 xsaves split_lock_detect dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp hwp_pkg_req umip waitpkg gfni rdpid movdiri movdir64b md_clear flush_l1d arch_capabilities
bugs : spectre_v1 spectre_v2 spec_store_bypass swapgs srbds mmio_stale_data
bogomips : 3993.60
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:
run apt upgrade, get 5.15.0-58-generic kernel. hardware decoder still not working .
Can you provide the output of running dmesg | grep -i i915 on this system? You may need to sudo it.
This error from your logs makes me think you either don’t have GuC enabled at all, or that the required firmware blob to utilize it is missing from your system. The dmesg output will confirm (or disprove) this.
Jan 15, 2023 07:21:36.408 [0x7fe9d9225b38] ERROR - [Req#c16/Transcode/stx8jz4cyjq82y6hl1xsl9oo/c316a296-79c3-41f4-9f7c-2257d4555209] [h264_vaapi @ 0x7f9354ba2080] Driver does not support any RC mode compatible with selected options (supported modes: CQP).
I saw this same error on my server before sorting out the problem I described above. In my case I had to manually install the required GuC firmware blob.
hardware transcode is working on a QNAP NAS with j4025 cpu, but this cpu is too weak, it can’t decode videos with bitrate higher than 30Mbps and will freeze.
I will use QNAP NAS for a while, until linux 6.x LTS kernel is release and ubuntu server is update to it, may be i will try again.