Ubuntu Intel N5105 QSV HW Transcoder not detected

yea sorry about the cpu i think i mentioned somewhere in one of my comments, i also had opened a forum here link.

after my second reboot my hw transcoding start working and i think indeed the problem might have been the permissions.

maybe try to replicate what i have done and see if it will fix the problem.

in the omv dashboard goto users and then users again create new users with the following group


idk if the reboot is needed but i think after rebooting after this step my hw transcoding starts working

because i first did this

echo "options i915 enable_guc=2" >> /etc/modprobe.d/i915.conf
update-initramfs -u

rebooted and create a user and container and didn’t work then i just reboot because of another container and the hw transcoding was working.

i am a very noob in the Linux.
here also my current log as well i tried 3 4k transcodings and it was done very easily
Plex Media Server Logs_2022-12-13_23-48-35.zip (1.8 MB)

image

While this isn’t on a N-series. It is abstracted and running on the OMV runtimes.

(I wanted to make certain the core OMV distro was ok)

If you’re curious – Plex (.DEB file) installed on the native OS via command line.

is there an advantage to running the plex native instead of the container in docker?

also, was the solution same as mine in the user group ?

The container is an abstraction of the application from the OS.

That’s why you have to MAP everything into it.

I am very old-school when it comes to some things.

I run a different kind of container.

Rather than running Docker, I run it as LXC (Linux container) where it virtualizes the whole OS at no additional cost.

Now I install native apps in the LXC . (all my media bots run in one LXC)

On NAS boxes (qnap, synology, asustor, etc), running the native app is really the best way.

On OMV, because Plex doesn’t support it, your only choice is docker. That works but comes with the pain of all the mapping.

For OMV, what I created (via the command line) was:

  1. Made a symlink for md0 (i’m lazy and it’ll never change)
  2. Created a shared folder for the media on my main NAS
  3. Created a user for myself (UID=1000) and added to both video and render groups
  4. Created the required directories to support the container environment
  5. Launched and claimed
root@omv:/md0# cat dockerplex-1292 
sudo docker stop plex
sudo docker rm plex

# Remove old image if exists
Image="$(sudo docker images | grep -i plex | awk '{print $3}')"

if [ "$Image" != "" ]; then

  sudo docker stop plex
  sudo docker stop plex
  sudo docker rm plex
  sudo docker rmi -f $Image
fi


sudo docker run \
-d \
--name plex \
--network=host \
-e PLEX_CLAIM=claim-4wDvyRWGsLh3QXRx5sLn \
-e TZ="EST" \
-e LANG="en_US.UTF-8" \
-e PLEX_UID=1000 \
-e PLEX_GID=0 \
-e PUID=1000 \
-e PGID=0 \
-h omv \
-v /md0/plex/config:/config \
-v /md0/plex/tmp:/tmp \
-v /md0/plex/transcode:/transcode \
-v /md0/glockner:/glockner \
--device=/dev/dri:/dev/dri \
plexinc/pms-docker:1.29.2.6364-6d72b0cf6 

#docker start plex
#docker update --restart=unless-stopped plex
root@omv:/md0#

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.

but thanks for the help i appreciate it

These are the UID / GID for the Plex processes.

PLEX_UID / PLEX_GID

  • are equivalent to

PUID / PGID

PUID / PGID works for both PlexDocker and LinuxServer docker

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.

Info: that’s an i915 :wink:

If you have TrueHD audio tracks, check them. There is a known issue with TrueHD for some users (many).

If this impacts you too, the last known working is 1.29.2 .

Keep your kernel as you have it.

1 Like

Hardware decoder still has issues with my N5105 server.

In this post (Ubuntu Intel N5105 QSV HW Transcoder not detected - #50 by ChuckPa), you tested on ubuntu 20.04 with 5.15-48 kernel .

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 .

lol. yes, I just presumed any intel QSV fix would be the same TBH.

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.

Thanks Reply

Kernel and other relevant information are as follows:

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:

It doesn’t appear to be initializing the GuC. Did you try the steps in this how-to yet?

If not, please do. If it still doesn’t transcode using hardware, please provide fresh server logs and the output of dmesg | grep -i i915 again.

GUC / HUC issues we’re seeing is because the kernels aren’t keeping up with hardware demand.

Enabling GUC mode 2 helps in most cases but not guaranteed.

Updating the i915 firmware is the better solution but dependent on OS and kernel version as well as hardware being used.

nope, still not working, logs and dmesg:

Plex Media Server Logs_2023-01-16_12-54-22.zip (190.5 KB)

[    1.527469] i915 0000:00:02.0: vgaarb: deactivate vga console
[    1.529753] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    1.530283] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9)
[    1.641427] i915 0000:00:02.0: GuC initialization failed -110
[    1.641458] i915 0000:00:02.0: Enabling uc failed (-5)
[    1.641468] i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!
[    1.641763] i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_set_wedged_on_init+0x33/0x40 [i915]
[    1.683127] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[    1.694833] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    1.695168] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    4.604623] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915])
[    4.628586] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])

I gave up, thanks for you help anyway.

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.

and thanks~

Morning.

Where to get the newest firmware for your processor (better than what comes with the distro)

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915

already tried this last night, not working. and do some google:

from this github issue (GuC for Jasper Lake (Celeron N5095) · Issue #1352 · intel/media-driver · GitHub) post by intel developer:

you can not just update GuC driver without kernel.

and from this blog (N5105 软路由安装 ESXi 7 直通核显给 Debian / Ubuntu 虚拟机通过 Docker 实现 jellyfin 硬件转码视频文件(硬解/编码)) shows N5105 need at least 5.17 kernel & ehl_guc_69.0.3.bin to work.

I tryed use ehl_guc_69.0.3.bin with the 5.15-58 kernel distribute with Ubuntu 20.04, no effect.

so i gave up, and wait the new LTS kernel