[SOLVED] how to enable HuC on 6.11.0-1-pve kernel?

stuck

Renowned Member
Feb 12, 2010
13
0
66
hello community,
I've been trying to enable HuC but judging by the fact that encoding using low power encoding inside my lxc is showing 80+% cpu utilization, leads me to believe it isn't working. Hw encoding (not using low power encoding) appears to be working fine.
All of the threads on this topic reference pinning to older kernel. But I need to be on 6.11 for my r8126 NICs to work. And most of the threads on this topic usually are passing into VMs which I don't really need.

Hoping someone can point me in the right direction to enable HuC. Please let me know if I can provide any more information to help answer this question...

my cpu is Ultra 5 125H on proxmox 8.3.1
grub isn't modified: GRUB_CMDLINE_LINUX_DEFAULT="quiet"

both the host and inside container show:
Code:
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Arc Graphics] (rev 08)

Code:
dmesg | grep i915
[    6.228567] i915 0000:00:02.0: [drm] Found METEORLAKE (device ID 7d55) display version 14.00 stepping C0
[    6.230110] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    6.230114] i915 0000:00:02.0: vgaarb: deactivate vga console
[    6.230132] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    6.243154] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    6.251806] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.23)
[    6.455021] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.29.2
[    6.466700] i915 0000:00:02.0: [drm] GT0: GUC: submission enabled
[    6.466702] i915 0000:00:02.0: [drm] GT0: GUC: SLPC enabled
[    6.466908] i915 0000:00:02.0: [drm] GT0: GUC: RC enabled
[    6.471806] mei_gsc_proxy 0000:00:16.0-0f73db04-97ab-4125-b893-e904ad0d5464: bound 0000:00:02.0 (ops i915_gsc_proxy_component_ops [i915])
[    6.472157] i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.29.2
[    6.472159] i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
[    6.505074] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for clear media
[    6.505580] i915 0000:00:02.0: [drm] GT1: GUC: submission enabled
[    6.505580] i915 0000:00:02.0: [drm] GT1: GUC: SLPC enabled
[    6.505644] i915 0000:00:02.0: [drm] GT1: GUC: RC enabled
[    6.507980] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    6.514633] [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 0
[    6.516433] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    6.526116] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    6.546084] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    6.556124] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[    6.647273] i915 0000:00:02.0: [drm] GT1: Loaded GSC firmware i915/mtl_gsc_1.bin (cv1.0, r102.0.10.1878, svn 1)
[    6.667499] i915 0000:00:02.0: [drm] GT1: HuC: authenticated for all workloads
[ 2431.159784] fbcon: i915drmfb (fb0) is primary device
[ 2431.221291] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

On the proxmox host this is what leads me to believe huc isn't loaded:
Code:
cat /sys/kernel/debug/dri/0/gt0/uc/huc_info
cat: /sys/kernel/debug/dri/0/gt0/uc/huc_info: No such file or directory

Code:
cat /sys/kernel/debug/dri/0/gt0/uc/guc_info
GuC firmware: i915/mtl_guc_70.bin
        status: RUNNING
        version: found 70.29.2
        uCode: 303360 bytes
        RSA: 384 bytes
GuC status 0x800301ec:
        Bootrom status = 0x76
        uKernel status = 0x1
        MIA Core status = 0x3
Scratch registers:
         0:     0x0
         1:     0xd13d7
         2:     0x410000
         3:     0x4
         4:     0x40
         5:     0x3c8
         6:     0x7d550008
         7:     0x0
         8:     0x0
         9:     0x0
        10:     0x0
        11:     0x0
        12:     0x0
        13:     0x0
        14:     0x0
        15:     0x0

GuC logging stats:
        Relay full count: 0
        DEBUG:  flush count          0, overflow count          0
        CRASH:  flush count          0, overflow count          0
        CAPTURE:        flush count          0, overflow count          0
CT enabled
H2G Space: 4060
Head: 8
Tail: 8
G2H Space: 12284
Head: 6
Tail: 6
GuC Submission API Version: 1.13.4
GuC Number Outstanding Submission G2H: 0
GuC tasklet count: 0
Requests in GuC submit tasklet:

Global scheduling policies:
  DPC promote time   = 500000
  Max num work items = 15
  Flags              = 0

Code:
ls -l /lib/firmware/i915
total 13188
-rw-r--r-- 1 root root   79088 Oct 24 07:58 adlp_dmc.bin
-rw-r--r-- 1 root root   72104 Oct 24 07:58 adlp_dmc_ver2_12.bin
-rw-r--r-- 1 root root   77084 Oct 24 07:58 adlp_dmc_ver2_16.bin
-rw-r--r-- 1 root root  336704 Oct 24 07:58 adlp_guc_62.0.3.bin
-rw-r--r-- 1 root root  356416 Oct 24 07:58 adlp_guc_69.0.3.bin
-rw-r--r-- 1 root root  289472 Oct 24 07:58 adlp_guc_70.1.1.bin
-rw-r--r-- 1 root root  328768 Oct 24 07:58 adlp_guc_70.bin
-rw-r--r-- 1 root root   18704 Oct 24 07:58 adls_dmc_ver2_01.bin
-rw-r--r-- 1 root root   45964 Oct 24 07:58 bmg_dmc.bin
-rw-r--r-- 1 root root    8380 Oct 24 07:58 bxt_dmc_ver1_07.bin
-rw-r--r-- 1 root root  199616 Oct 24 07:58 bxt_guc_62.0.0.bin
-rw-r--r-- 1 root root  206464 Oct 24 07:58 bxt_guc_70.1.1.bin
-rw-r--r-- 1 root root  149824 Oct 24 07:58 bxt_huc_2.0.0.bin
-rw-r--r-- 1 root root  200448 Oct 24 07:58 cml_guc_62.0.0.bin
-rw-r--r-- 1 root root  206976 Oct 24 07:58 cml_guc_70.1.1.bin
-rw-r--r-- 1 root root  226048 Oct 24 07:58 cml_huc_4.0.0.bin
-rw-r--r-- 1 root root   16624 Oct 24 07:58 dg1_dmc_ver2_02.bin
-rw-r--r-- 1 root root  302656 Oct 24 07:58 dg1_guc_70.bin
-rw-r--r-- 1 root root  589888 Oct 24 07:58 dg1_huc.bin
-rw-r--r-- 1 root root   22540 Oct 24 07:58 dg2_dmc_ver2_08.bin
-rw-r--r-- 1 root root  369408 Oct 24 07:58 dg2_guc_70.bin
-rw-r--r-- 1 root root  630784 Oct 24 07:58 dg2_huc_gsc.bin
-rw-r--r-- 1 root root  327488 Oct 24 07:58 ehl_guc_62.0.0.bin
-rw-r--r-- 1 root root  274496 Oct 24 07:58 ehl_guc_70.1.1.bin
-rw-r--r-- 1 root root  498880 Oct 24 07:58 ehl_huc_9.0.0.bin
-rw-r--r-- 1 root root    8800 Oct 24 07:58 glk_dmc_ver1_04.bin
-rw-r--r-- 1 root root  200000 Oct 24 07:58 glk_guc_62.0.0.bin
-rw-r--r-- 1 root root  206784 Oct 24 07:58 glk_guc_70.1.1.bin
-rw-r--r-- 1 root root  226048 Oct 24 07:58 glk_huc_4.0.0.bin
-rw-r--r-- 1 root root   25952 Oct 24 07:58 icl_dmc_ver1_09.bin
-rw-r--r-- 1 root root  327488 Oct 24 07:58 icl_guc_62.0.0.bin
-rw-r--r-- 1 root root  274496 Oct 24 07:58 icl_guc_70.1.1.bin
-rw-r--r-- 1 root root  498880 Oct 24 07:58 icl_huc_9.0.0.bin
-rw-r--r-- 1 root root    8840 Oct 24 07:58 kbl_dmc_ver1_04.bin
-rw-r--r-- 1 root root  200448 Oct 24 07:58 kbl_guc_62.0.0.bin
-rw-r--r-- 1 root root  206976 Oct 24 07:58 kbl_guc_70.1.1.bin
-rw-r--r-- 1 root root  226048 Oct 24 07:58 kbl_huc_4.0.0.bin
-rw-r--r-- 1 root root   52712 Oct 24 07:58 mtl_dmc.bin
-rw-r--r-- 1 root root 1134592 Oct 24 07:58 mtl_gsc_1.bin
-rw-r--r-- 1 root root  303872 Oct 24 07:58 mtl_guc_70.bin
-rw-r--r-- 1 root root  561152 Oct 24 07:58 mtl_huc_gsc.bin
-rw-r--r-- 1 root root   18476 Oct 24 07:58 rkl_dmc_ver2_03.bin
-rw-r--r-- 1 root root    8928 Oct 24 07:58 skl_dmc_ver1_27.bin
-rw-r--r-- 1 root root  199552 Oct 24 07:58 skl_guc_62.0.0.bin
-rw-r--r-- 1 root root  206208 Oct 24 07:58 skl_guc_70.1.1.bin
-rw-r--r-- 1 root root  136320 Oct 24 07:58 skl_huc_2.0.0.bin
-rw-r--r-- 1 root root   19760 Oct 24 07:58 tgl_dmc_ver2_12.bin
-rw-r--r-- 1 root root  326016 Oct 24 07:58 tgl_guc_62.0.0.bin
-rw-r--r-- 1 root root  343296 Oct 24 07:58 tgl_guc_69.0.3.bin
-rw-r--r-- 1 root root  277440 Oct 24 07:58 tgl_guc_70.1.1.bin
-rw-r--r-- 1 root root  316352 Oct 24 07:58 tgl_guc_70.bin
-rw-r--r-- 1 root root  589888 Oct 24 07:58 tgl_huc_7.9.3.bin
-rw-r--r-- 1 root root  589888 Oct 24 07:58 tgl_huc.bin
-rw-r--r-- 1 root root   59872 Oct 24 07:58 xe2lpd_dmc.bin
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!