DG2 Arc A770 GPU HUC firmware fails to load. Ubuntu 22.04 with drm-tip (6.2.0-rc1+) kernel
Greetings I trying to get my Arc GPU (Intel A770) to work on Ubuntu 22.04 with an i915 drm-tip kernel. Firmware bin files from https://github.com/intel-gpu/intel-gpu-firmware were placed in /lib/firmware/updates/i915/
.
Custom kernel compiled from drm-tip source:
$ uname -r
6.2.0-rc1+
dmesg | grep i915
[ 6.468887] i915 0000:03:00.0: [drm] VT-d active for gfx access
[ 6.468972] i915 0000:03:00.0: vgaarb: deactivate vga console
[ 6.469009] i915 0000:03:00.0: [drm] Local memory IO size: 0x00000003fa000000
[ 6.469010] i915 0000:03:00.0: [drm] Local memory available: 0x00000003fa000000
[ 6.481764] i915 0000:03:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
[ 6.483431] i915 0000:03:00.0: Direct firmware load for i915/dg2_dmc_ver2_08.bin failed with error -2
[ 6.483434] i915 0000:03:00.0: [drm] Failed to load DMC firmware i915/dg2_dmc_ver2_08.bin. Disabling runtime power management.
[ 6.483435] i915 0000:03:00.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[ 6.496240] i915 0000:03:00.0: [drm] Can't load HuC due to missing MEI modules
[ 6.496242] i915 0000:03:00.0: [drm] HuC init failed with -5
[ 6.496746] i915 0000:03:00.0: [drm] GuC firmware i915/dg2_guc_70.bin version 70.5.1
[ 6.496748] i915 0000:03:00.0: [drm] HuC firmware i915/dg2_huc_gsc.bin version 7.10.3
[ 6.511625] i915 0000:03:00.0: [drm] GuC submission enabled
[ 6.511627] i915 0000:03:00.0: [drm] GuC SLPC enabled
[ 6.511964] i915 0000:03:00.0: [drm] GuC RC: enabled
[ 6.528345] i915 0000:03:00.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
[ 6.534730] [drm] Initialized i915 1.6.0 20201103 for 0000:03:00.0 on minor 0
[ 6.535412] snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops i915_audio_component_bind_ops [i915])
[ 6.565757] fbcon: i915drmfb (fb0) is primary device
[ 6.794458] i915 0000:03:00.0: [drm] fb0: i915drmfb frame buffer device
journalctl -b-1 | grep i915
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] VT-d active for gfx access
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: vgaarb: deactivate vga console
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] Local memory IO size: 0x00000003fa000000
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] Local memory available: 0x00000003fa000000
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=none
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: Direct firmware load for i915/dg2_dmc_ver2_08.bin failed with error -2
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] Failed to load DMC firmware i915/dg2_dmc_ver2_08.bin. Disabling runtime power management.
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] DMC firmware homepage: https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] Can't load HuC due to missing MEI modules
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] HuC init failed with -5
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] GuC firmware i915/dg2_guc_70.bin version 70.5.1
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] HuC firmware i915/dg2_huc_gsc.bin version 7.10.3
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] GuC submission enabled
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] GuC SLPC enabled
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] GuC RC: enabled
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] Reducing the compressed framebuffer size. This may lead to less power savings than a non-reduced-size. Try to increase stolen memory size if available in BIOS.
Jan 01 18:14:12 arctic kernel: [drm] Initialized i915 1.6.0 20201103 for 0000:03:00.0 on minor 0
Jan 01 18:14:12 arctic kernel: snd_hda_intel 0000:04:00.0: bound 0000:03:00.0 (ops i915_audio_component_bind_ops [i915])
Jan 01 18:14:12 arctic kernel: fbcon: i915drmfb (fb0) is primary device
Jan 01 18:14:12 arctic kernel: i915 0000:03:00.0: [drm] fb0: i915drmfb frame buffer device
Jan 01 18:14:12 arctic gnome-shell[1129]: Added device '/dev/dri/card0' (i915) using atomic mode setting.
Jan 01 18:14:30 arctic gnome-shell[1965]: Added device '/dev/dri/card0' (i915) using atomic mode setting.
cat /sys/kernel/debug/dri/0/gt/uc/huc_info
HuC firmware: i915/dg2_huc_gsc.bin
status: INIT FAIL
version: found 7.10.3
uCode: 0 bytes
RSA: 0 bytes
HuC status: 0x00164000
cat /sys/kernel/debug/dri/0/gt/uc/guc_info
GuC firmware: i915/dg2_guc_70.bin
status: RUNNING
version: found 70.5.1
uCode: 369088 bytes
RSA: 384 bytes
GuC status 0x8003f0ec:
Bootrom status = 0x76
uKernel status = 0xf0
MIA Core status = 0x3
Scratch registers:
0: 0x0
1: 0xfdfc03d7
2: 0x24800
3: 0x4
4: 0x40
5: 0x1fc1c0
6: 0x56a00008
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: 2168
Head: 333
Tail: 333
G2H Space: 12284
Head: 2730
Tail: 2730
GuC Submission API Version: 1.1.0
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
hwinfo --gfxcard
06: PCI 300.0: 0300 VGA compatible controller (VGA)
[Created at pci.386]
Unique ID: svHJ.nDfmnmUHKH4
Parent ID: GA8e.mr2N3fBJq5F
SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:01.0/0000:03:00.0
SysFS BusID: 0000:03:00.0
Hardware Class: graphics card
Model: "Intel VGA compatible controller"
Vendor: pci 0x8086 "Intel Corporation"
Device: pci 0x56a0
SubVendor: pci 0x8086 "Intel Corporation"
SubDevice: pci 0x1020
Revision: 0x08
Driver: "i915"
Driver Modules: "i915"
Memory Range: 0x96000000-0x96ffffff (rw,non-prefetchable)
Memory Range: 0x4000000000-0x43ffffffff (ro,non-prefetchable)
Memory Range: 0x97000000-0x971fffff (ro,non-prefetchable,disabled)
IRQ: 216 (24040 events)
Module Alias: "pci:v00008086d000056A0sv00008086sd00001020bc03sc00i00"
Driver Info #0:
Driver Status: i915 is active
Driver Activation Cmd: "modprobe i915"
Config Status: cfg=new, avail=yes, need=no, active=unknown
Attached to: #38 (PCI bridge)
Any ideas on how to get Huc firmware to update/load?