Can Inter 11th gen processors enable hardware decoding on UNRAID?(N5095)


Recommended Posts

u can open the unraid bash from the webgui or use ssh to connect and enter

uname –r

which returns me for unraid 6.9.2 5.10.28

6.10.x rc seems to have 5.15.30

https://forums.unraid.net/bug-reports/prereleases/unraid-os-version-6100-rc4-available-r1774

 

for the second part, i guess u are asking for a Media Center Application in relation to hardware de/encoding, this is not as simple :D

We have the great Intel Plugin from the community Apps, i already used handbrake with this hardware acceleration from my intel 10 series GPU

 

 

But it is not possible to use onboard Intel GPU as output source for your television so far. to ouput via hdmi u need a dedicated GPU. if you only want to use this inside a docker or VM, with not HDMi /Displayport output you might be fine.

Edited by astronax
Link to comment
56 minutes ago, astronax said:

We have the great Intel Plugin from the community Apps, i already used handbrake with this hardware acceleration from my intel 10 series GPU

 

Keep in mind that GVT-g is only supported up to 10th Gen Intel CPUs, please see this post: Click

 

11 hours ago, ontheroad said:

Hello, Evey one, What is the Linux kernel version of UNRAID? Can GUC/NUC be enabled?Thank you for your help

From what I know HW transcoding is working fine in my Jellyfin container with 11th Gen. Intel CPUs (just be sure to also try VAAPI if QuickSync isn't working for you).

  • Like 1
Link to comment
  • 2 weeks later...
On 4/8/2022 at 1:49 AM, ich777 said:

Keep in mind that GVT-g is only supported up to 10th Gen Intel CPUs, please see this post: Click

 

From what I know HW transcoding is working fine in my Jellyfin container with 11th Gen. Intel CPUs (just be sure to also try VAAPI if QuickSync isn't working for you).

Hi @ich777 what is your unraid version? on 6.9.2 my N6005 HW transcoding well with both Plex and emby,when I upgrade to 6.10 (rc2,3,4),it just broken.I have tried many method,incloud ‘echo "blacklist i915" > /boot/config/modprobe.d/i915.conf’,'install Intel_gpu_top', 'options i915 force_probe=4e71 options i915 enable_guc=2',I can see /dev/dri shows card0 and renderD128,but all of these did not work. someone uses 11gen core cpu like 1135G7, 11500 can use HW transcoding without any code,but my 11gen Pentium CPU cant. is there any other steps for Jasper Laker ? sorry about my poor English.

1647957100(1).jpg.9f55247a0c6f1d720d91e0d6d7212acc.jpg

1647957329(1).jpg.6bdd075b42480daccd2a4bfac4a4c40c.jpg

image.png.923bc579fb937eae79f818862e9607a5.png

Link to comment
20 minutes ago, always67 said:

options i915 force_probe=4e71 options i915 enable_guc=2

Do you have those options put somewhere?

Please post your Diagnostics.

 

20 minutes ago, always67 said:

@ich777 what is your unraid version?

I have no issues with my 10th gen i5-10600 on 6.8.3, 6.9.0, 6.9.1, 6.9.2, 6.10.0-RC series.

 

Also my test system with a Asrock J3160-ITX has no issue on those versions using the iGPU for transcoding.

Link to comment
24 minutes ago, ich777 said:

Do you have those options put somewhere?

Please post your Diagnostics.

 

I have no issues with my 10th gen i5-10600 on 6.8.3, 6.9.0, 6.9.1, 6.9.2, 6.10.0-RC series.

 

Also my test system with a Asrock J3160-ITX has no issue on those versions using the iGPU for transcoding.

here is my Diagnostics 

unraid-diagnostics-with blacklist i915 and intel_gpu_top.zip unraid-diagnostics-with force_probe=4e71 enable_guc=2 in boot config modprobe.di915.conf.zip unraid-diagnostics-without any config.zip

Link to comment
5 minutes ago, always67 said:

here is my Diagnostics 

Please remove any option or better speaking force_probe, blacklist the i915 module, install only the Intel GPU TOP plugin, the plugin will handle everything for you including the force_probe and reboot.

Do you have a monitor connected to the iGPU? If not temporarily connect a monitor to it and try it again.

  • Thanks 1
Link to comment
11 minutes ago, ich777 said:

请删除任何选项或更好地说 force_probe,将 i915 模块列入黑名单,仅安装 Intel GPU TOP 插件,该插件将为您处理所有事情,包括 force_probe 和重启。

你有连接到 iGPU 的显示器吗?如果没有暂时将显示器连接到它,然后再试一次。

thanks for your help, now I have only Intel GPU TOP installed,but still not work. I will try connect my monitor later.

unraid-diagnostics-20220420-1530.zip

Link to comment
27 minutes ago, always67 said:

thanks for your help, now I have only Intel GPU TOP installed,but still not work. I will try connect my monitor later.

Oh, I forgot that you have to blacklist the iGPU first because you are on 6.10.0-rc4, please execute this from the command line and reboot afterwards:

echo "blacklist i915" > /boot/config/modprobe.d/i915.conf

 

Do you've mounted the transcoding directory from Emby to your /tmp directory? If so please don't do this, this can cause OOM errors, I would rather recommend doing it like this:

 

Link to comment
32 minutes ago, ich777 said:

Oh, I forgot that you have to blacklist the iGPU first because you are on 6.10.0-rc4, please execute this from the command line and reboot afterwards:

echo "blacklist i915" > /boot/config/modprobe.d/i915.conf

 

Do you've mounted the transcoding directory from Emby to your /tmp directory? If so please don't do this, this can cause OOM errors, I would rather recommend doing it like this:

 

with echo "blacklist i915" > /boot/config/modprobe.d/i915.conf and reboot ,still with no luck

 

unraid-diagnostics-20220420-1637.zip

Link to comment
2 hours ago, ich777 said:

I would also recommend to enable GUC/HUC on your CPU by adding this to your syslinux.conf:

i915.enable_guc=3

 

FYI: I have HW transcoding working on 6.9.2 by

vi /boot/config/modprobe.d/i915.conf

options i915 force_probe=4e71

options i915 enable_guc=2

modprobe i915

if I only use intel_gpu_top,it wont have HW Transcoding.

 

And on 6.10 rc4,by

echo "blacklist i915" > /boot/config/modprobe.d/i915.conf

i915.enable_guc=3 in syslinux.conf

the system cant initialize GPU (emby does the same)

 

I have read the system logs 

'Apr 20 06:43:24 unraid kernel: i915 0000:00:02.0: GuC initialization failed -110

Apr 20 06:43:24 unraid kernel: i915 0000:00:02.0: Enabling uc failed (-5) Apr 20 06:43:24 unraid kernel: i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!

Apr 20 06:43:24 unraid kernel: i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_init+0x22a/0x242 [i915]'

 

sorry for taking up so much of your time

If it is a kernel problem I will go back to 6.9.2 after many tries

 

unraid-diagnostics-20220420-2146.zip unraid-diagnostics-20220420-2139.zip

Link to comment
On 4/20/2022 at 6:50 PM, ich777 said:

I would also recommend to enable GUC/HUC on your CPU by adding this to your syslinux.conf:

i915.enable_guc=3

 

Hi @ich777 After many attempts and analysis, I think the reason why 6.10 rc cannot hardware decode is that HUC cannot be enabled. Whether adding i915.enable_guc=2/3 in syslinux.cfg or adding options i915 enable_guc=2 in modprobe.d/i915.conf, the system log always showed

‘Apr 20 06:35:26 unraid kernel: i915 0000:00:02.0: GuC initialization failed -110
Apr 20 06:35:26 unraid kernel: i915 0000:00:02.0: Enabling uc failed (-5)
Apr 20 06:35:26 unraid kernel: i915 0000:00:02.0: Failed to initialize GPU, declaring it wedged!
Apr 20 06:35:26 unraid kernel: i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_init+0x22a/0x242 [i915]’

However,when I came back to  6.9.2, I can see

‘Apr 21 05:18:12 unraid kernel: i915 0000:00:02.0: [drm] GuC firmware i915/ehl_guc_33.0.4.bin version 33.0 submission:disabled’

’Apr 21 05:18:12 unraid kernel: i915 0000:00:02.0: [drm] HuC firmware i915/ehl_huc_9.0.0.bin version 9.0 authenticated:yes‘

then,the HW decode works fine

 

Link to comment
10 minutes ago, ich777 said:

Can you pleas give me the output from:

ls /lib/firmware/i915

when you are on 6.10.0-rc4?

root@unraid:~# ls /lib/firmware/i915  (RC 4)
adlp_dmc_ver2_10.bin  cml_huc_4.0.0.bin    icl_dmc_ver1_09.bin  skl_dmc_ver1_27.bin
adlp_guc_62.0.3.bin   dg1_dmc_ver2_02.bin  icl_guc_62.0.0.bin   skl_guc_62.0.0.bin
adls_dmc_ver2_01.bin  ehl_guc_62.0.0.bin   icl_huc_9.0.0.bin    skl_huc_2.0.0.bin
bxt_dmc_ver1_07.bin   ehl_huc_9.0.0.bin    kbl_dmc_ver1_04.bin  tgl_dmc_ver2_12.bin
bxt_guc_62.0.0.bin    glk_dmc_ver1_04.bin  kbl_guc_62.0.0.bin   tgl_guc_62.0.0.bin
bxt_huc_2.0.0.bin     glk_guc_62.0.0.bin   kbl_huc_4.0.0.bin    tgl_huc_7.9.3.bin
cml_guc_62.0.0.bin    glk_huc_4.0.0.bin    rkl_dmc_ver2_03.bin

 

root@unraid:~# ls /lib/firmware/i915   (6.9.2)
bxt_dmc_ver1_07.bin  cml_huc_4.0.0.bin    glk_dmc_ver1_04.bin  icl_guc_33.0.0.bin   kbl_huc_4.0.0.bin    skl_huc_2.0.0.bin
bxt_guc_33.0.0.bin   cnl_dmc_ver1_07.bin  glk_guc_33.0.0.bin   icl_huc_9.0.0.bin    rkl_dmc_ver2_02.bin  tgl_dmc_ver2_08.bin
bxt_huc_2.0.0.bin    ehl_guc_33.0.4.bin   glk_huc_4.0.0.bin    kbl_dmc_ver1_04.bin  skl_dmc_ver1_27.bin  tgl_guc_35.2.0.bin
cml_guc_33.0.0.bin   ehl_huc_9.0.0.bin    icl_dmc_ver1_09.bin  kbl_guc_33.0.0.bin   skl_guc_33.0.0.bin   tgl_huc_7.5.0.bin

 

 

Link to comment
7 minutes ago, always67 said:

root@unraid:~# ls /lib/firmware/i915  (RC 4)
adlp_dmc_ver2_10.bin  cml_huc_4.0.0.bin    icl_dmc_ver1_09.bin  skl_dmc_ver1_27.bin
adlp_guc_62.0.3.bin   dg1_dmc_ver2_02.bin  icl_guc_62.0.0.bin   skl_guc_62.0.0.bin
adls_dmc_ver2_01.bin  ehl_guc_62.0.0.bin   icl_huc_9.0.0.bin    skl_huc_2.0.0.bin
bxt_dmc_ver1_07.bin   ehl_huc_9.0.0.bin    kbl_dmc_ver1_04.bin  tgl_dmc_ver2_12.bin
bxt_guc_62.0.0.bin    glk_dmc_ver1_04.bin  kbl_guc_62.0.0.bin   tgl_guc_62.0.0.bin
bxt_huc_2.0.0.bin     glk_guc_62.0.0.bin   kbl_huc_4.0.0.bin    tgl_huc_7.9.3.bin
cml_guc_62.0.0.bin    glk_huc_4.0.0.bin    rkl_dmc_ver2_03.bin

 

root@unraid:~# ls /lib/firmware/i915   (6.9.2)
bxt_dmc_ver1_07.bin  cml_huc_4.0.0.bin    glk_dmc_ver1_04.bin  icl_guc_33.0.0.bin   kbl_huc_4.0.0.bin    skl_huc_2.0.0.bin
bxt_guc_33.0.0.bin   cnl_dmc_ver1_07.bin  glk_guc_33.0.0.bin   icl_huc_9.0.0.bin    rkl_dmc_ver2_02.bin  tgl_dmc_ver2_08.bin
bxt_huc_2.0.0.bin    ehl_guc_33.0.4.bin   glk_huc_4.0.0.bin    kbl_dmc_ver1_04.bin  skl_dmc_ver1_27.bin  tgl_guc_35.2.0.bin
cml_guc_33.0.0.bin   ehl_huc_9.0.0.bin    icl_dmc_ver1_09.bin  kbl_guc_33.0.0.bin   skl_guc_33.0.0.bin   tgl_huc_7.5.0.bin

 

 

 

Maybe I can simply replace the 6.9.2 driver with the 6.10 RC?

Link to comment
Just now, ich777 said:

Don‘t do that, this is not like on Windows, each driver version has to be compiled for the appropriate Kernel version.

forgive my ignorance.Too many people pay attention to the 12th generation,I can't find information about the 11th generation. And Jasperlake's GPU is actually same as Comet Lake

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.