Issues with Intel(R) Core(TM) Ultra 7 155H NPU on Fedora 40 - Need Assistance

Hello everyone,

I am running Fedora 40 with a system powered by an Intel(R) Core™ Ultra 7 155H processor. I’ve been working to get the Neural Processing Unit (NPU) functioning properly, but I keep encountering errors related to the NPU firmware. I’ve compiled the relevant logs and environment details below. Any assistance or guidance would be greatly appreciated! One of the reasons I bought this computer was for the NPU and so far I have not been able to make use of it.

System Information:

Kernel Version: 6.10.12-200.fc40.x86_64
Processor: Intel(R) Core(TM) Ultra 7 155H
NPU Module: intel_vpu (driver in use: intel_vpu)

Error Messages from dmesg:

[    2.364028] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_request(): Failed to request firmware: -2
[    2.364174] intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
[    2.364305] intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -2
[  425.959246] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_parse(): Firmware file is too small: 132

Firmware Issues:

Oct 15 12:20:01 fedora kernel: intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_request(): Failed to request firmware: -2
Oct 15 03:27:05 fedora kernel: intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
Oct 15 03:28:13 fedora kernel: intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -22

If anyone has experience with the Intel VPU on this processor or Fedora 40, I’d love to know if you have had success or ideas for solutions. Would it be better to try a different distribution (e.g., Ubuntu, ClearLinux) or perhaps a newer firmware version?

Thanks in advance for any help you can provide!

Here is a summary of the log files below that I thought might be helpful:

------ SYSTEM KERNEL INFO ------
Linux fedora 6.10.12-200.fc40.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Sep 30 21:38:25 UTC 2024 x86_64 GNU/Linux

------ DMESG NPU RELATED ------
[    0.008704] ACPI: SSDT 0x000000006BBAB000 0007E4 (v02 INTEL  PDatTabl 00001000 INTL 20210930)
[    0.008717] ACPI: SSDT 0x000000006BB3A000 00263E (v02 INTEL  IgfxSsdt 00003000 INTL 20210930)
[    0.008720] ACPI: SSDT 0x000000006BB30000 009AB7 (v02 INTEL  TcssSsdt 00001000 INTL 20210930)
[    0.008770] ACPI: UEFI 0x000000006BC07000 00063A (v01 INTEL  RstVmdE  00000000 INTL 00000000)
[    0.008773] ACPI: UEFI 0x000000006BC06000 00005C (v01 INTEL  RstVmdV  00000000 INTL 00000000)
[    0.108538] smpboot: CPU0: Intel(R) Core(TM) Ultra 7 155H (family: 0x6, model: 0xaa, stepping: 0x4)
[    0.108538] Performance Events: XSAVE Architectural LBR, PEBS fmt4+-baseline,  AnyThread deprecated, Meteorlake Hybrid events, 32-deep LBR, full-width counters, Intel PMU driver.
[    0.623005] DMAR: Intel-IOMMU force enabled due to platform opt in
[    0.625062] DMAR: Intel(R) Virtualization Technology for Directed I/O
[    1.420544] intel-lpss 0000:00:15.0: enabling device (0004 -> 0006)
[    1.439547] intel-lpss 0000:00:15.1: enabling device (0004 -> 0006)
[    1.458542] intel-lpss 0000:00:1e.0: enabling device (0000 -> 0002)
[    1.472537] intel-lpss 0000:00:1e.3: enabling device (0004 -> 0006)
[    1.482868] intel_pstate: Intel P-state driver initializing
[    1.487530] intel_pstate: HWP enabled
[    2.362824] intel_vpu 0000:00:0b.0: enabling device (0000 -> 0002)
[    2.364028] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_request(): Failed to request firmware: -2
[    2.364174] intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
[    2.364305] intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -2
[    3.063480] BTRFS info (device nvme0n1p4): using crc32c (crc32c-intel) checksum algorithm
[    4.382015] input: Intel HID events as /devices/platform/INTC1077:00/input/input9
[    4.382283] intel-hid INTC1077:00: platform supports 5 button array
[    4.387151] input: Intel HID 5 button array as /devices/platform/INTC1077:00/input/input10
[    4.387714] intel_vsec 0000:00:0a.0: enabling device (0000 -> 0002)
[    4.389004] intel-hid INTC1077:00: failed to get button capability
[    4.443685] intel_pmc_core INT33A1:00: Assuming a default substate order for this platform
[    4.443811] intel_pmc_core INT33A1:00:  initialized
[    4.454420] EDAC MC0: Giving out device to module igen6_edac controller Intel_client_SoC MC#0: DEV 0000:00:00.0 (INTERRUPT)
[    4.463211] EDAC MC1: Giving out device to module igen6_edac controller Intel_client_SoC MC#1: DEV 0000:00:00.0 (INTERRUPT)
[    4.475555] idma64 idma64.0: Found Intel integrated DMA 64-bit
[    4.487788] idma64 idma64.1: Found Intel integrated DMA 64-bit
[    4.507263] idma64 idma64.2: Found Intel integrated DMA 64-bit
[    4.520489] idma64 idma64.3: Found Intel integrated DMA 64-bit
[    4.591672] intel_rapl_msr: PL4 support detected.
[    4.593875] intel_rapl_common: Found RAPL domain package
[    4.593880] intel_rapl_common: Found RAPL domain core
[    4.593882] intel_rapl_common: Found RAPL domain uncore
[    4.606147] iTCO_wdt iTCO_wdt: Found a Intel PCH TCO device (Version=6, TCOBASE=0x0400)
[    4.642544] intel_rapl_common: Found RAPL domain package
[    4.662639] Intel(R) Wireless WiFi driver for Linux
[    4.782136] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[    4.953036] iwlwifi 0000:00:14.3: Detected Intel(R) Wi-Fi 6E AX211 160MHz, REV=0x441
[    4.979276] sof-audio-pci-intel-mtl 0000:00:1f.3: enabling device (0000 -> 0002)
[    4.979505] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[    4.979570] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    4.986525] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[    5.025513] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 5
[    5.025518] sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[    5.025523] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[    5.083312] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
[    5.083316] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
[    5.083318] sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
[    5.083318] sof-audio-pci-intel-mtl 0000:00:1f.3:  Topology file:     intel/sof-ace-tplg/sof-hda-generic-2ch.tplg
[    5.127195] sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.11.1.1
[    5.246887] sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.11.1.1
[    5.272121] sof-audio-pci-intel-mtl 0000:00:1f.3: Topology: ABI 3:29:1 Kernel ABI 3:23:0
[    5.813317] Bluetooth: hci0: Found device firmware: intel/ibt-0180-0041.sfi
[    7.392230] Bluetooth: hci0: Found Intel DDC parameters: intel/ibt-0180-0041.ddc
[    7.394369] Bluetooth: hci0: Applying Intel DDC parameters completed
[  425.959246] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_parse(): Firmware file is too small: 132
[  425.959383] intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
[  425.959512] intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -22
[  494.369923] intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_parse(): Firmware file is too small: 132
[  494.370060] intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
[  494.370186] intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -22

------ FIRMWARE INFO ------
Oct 15 12:20:01 fedora kernel: [Firmware Bug]: TSC ADJUST: CPU0: -2116120579 force to 0
Oct 15 12:20:01 fedora kernel: CPU topo: [Firmware Bug]: APIC enumeration order not specification compliant
Oct 15 12:20:01 fedora kernel: [Firmware Bug]: TSC ADJUST differs within socket(s), fixing all errors
Oct 15 12:20:01 fedora kernel: intel_vpu 0000:00:0b.0: enabling device (0000 -> 0002)
Oct 15 12:20:01 fedora kernel: intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_request(): Failed to request firmware: -2
Oct 15 12:20:01 fedora kernel: intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
Oct 15 12:20:01 fedora kernel: intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -2
Oct 15 12:20:01 fedora kernel: i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.23)
Oct 15 12:20:02 fedora kernel: i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 70.29.2
Oct 15 12:20:02 fedora kernel: i915 0000:00:02.0: [drm] GT1: GuC firmware i915/mtl_guc_70.bin version 70.29.2
Oct 15 12:20:02 fedora kernel: i915 0000:00:02.0: [drm] GT1: HuC firmware i915/mtl_huc_gsc.bin version 8.5.4
Oct 15 12:20:02 fedora kernel: i915 0000:00:02.0: [drm] GT1: Loaded GSC firmware i915/mtl_gsc_1.bin (cv1.0, r102.0.10.1878, svn 1)
Oct 15 03:20:03 fedora kernel: iwlwifi 0000:00:14.3: loaded firmware version 89.202a2f7b.0 ma-b0-gf-a0-89.ucode op_mode iwlmvm
Oct 15 03:20:04 fedora kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware paths/files for ipc type 1:
Oct 15 03:20:04 fedora kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware file:     intel/sof-ipc4/mtl/sof-mtl.ri
Oct 15 03:20:04 fedora kernel: sof-audio-pci-intel-mtl 0000:00:1f.3:  Firmware lib path: intel/sof-ipc4-lib/mtl
Oct 15 03:20:04 fedora kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.11.1.1
Oct 15 03:20:04 fedora kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: Booted firmware version: 2.11.1.1
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: Falling back to default firmware.
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware version: 3
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: DSP1: Firmware: 400a4 vendor: 0x2 v0.58.0, 2 algorithms
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.0: Firmware Loaded - Type: spk-prot, Gain: 17
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: Falling back to default firmware.
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware version: 3
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: DSP1: Firmware: 400a4 vendor: 0x2 v0.58.0, 2 algorithms
Oct 15 03:20:04 fedora kernel: cs35l41-hda spi0-CSC3551:00-cs35l41-hda.1: Firmware Loaded - Type: spk-prot, Gain: 17
Oct 15 03:20:04 fedora kernel: Bluetooth: hci0: Minimum firmware build 1 week 10 2014
Oct 15 03:20:04 fedora kernel: Bluetooth: hci0: Found device firmware: intel/ibt-0180-0041.sfi
Oct 15 03:20:04 fedora kernel: Bluetooth: hci0: Firmware Version: 171-18.24
Oct 15 03:20:06 fedora kernel: Bluetooth: hci0: Waiting for firmware download to complete
Oct 15 03:20:06 fedora kernel: Bluetooth: hci0: Firmware loaded in 1496152 usecs
Oct 15 03:20:06 fedora kernel: Bluetooth: hci0: Firmware timestamp 2024.18 buildtype 1 build 3243
Oct 15 03:20:06 fedora kernel: Bluetooth: hci0: Firmware SHA1: 0xa8bb3f39
Oct 15 03:27:05 fedora kernel: intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_parse(): Firmware file is too small: 132
Oct 15 03:27:05 fedora kernel: intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
Oct 15 03:27:05 fedora kernel: intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -22
Oct 15 03:28:13 fedora kernel: intel_vpu 0000:00:0b.0: [drm] *ERROR* ivpu_fw_parse(): Firmware file is too small: 132
Oct 15 03:28:13 fedora kernel: intel_vpu 0000:00:0b.0: [drm] ivpu_hw_37xx_power_down(): NPU not idle during power down
Oct 15 03:28:13 fedora kernel: intel_vpu 0000:00:0b.0: probe with driver intel_vpu failed with error -22

------ LSPCI NPU DEVICES ------
0000:00:00.0 Host bridge: Intel Corporation Device 7d01 (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: igen6_edac
	Kernel modules: igen6_edac
0000:00:02.0 VGA compatible controller: Intel Corporation Meteor Lake-P [Intel Arc Graphics] (rev 08)
	DeviceName: VGA
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: i915
--
0000:00:04.0 Signal processing controller: Intel Corporation Meteor Lake-P Dynamic Tuning Technology (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: proc_thermal_pci
	Kernel modules: processor_thermal_device_pci
0000:00:07.0 PCI bridge: Intel Corporation Meteor Lake-P Thunderbolt 4 PCI Express Root Port #0 (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: pcieport
0000:00:07.1 PCI bridge: Intel Corporation Meteor Lake-P Thunderbolt 4 PCI Express Root Port #1 (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: pcieport
0000:00:08.0 System peripheral: Intel Corporation Meteor Lake-P Gaussian & Neural-Network Accelerator (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
0000:00:0a.0 Signal processing controller: Intel Corporation Meteor Lake-P Platform Monitoring Technology (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: intel_vsec
	Kernel modules: intel_vsec
0000:00:0b.0 Processing accelerators: Intel Corporation Meteor Lake NPU (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device 20bf
	Kernel modules: intel_vpu
0000:00:0d.0 USB controller: Intel Corporation Meteor Lake-P Thunderbolt 4 USB Controller (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: xhci_hcd
0000:00:0d.2 USB controller: Intel Corporation Meteor Lake-P Thunderbolt 4 NHI #0 (rev 10)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: thunderbolt
	Kernel modules: thunderbolt
0000:00:0e.0 RAID bus controller: Intel Corporation Volume Management Device NVMe RAID Controller Intel Corporation
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: vmd
	Kernel modules: vmd
0000:00:12.0 Serial controller: Intel Corporation Meteor Lake-P Integrated Sensor Hub (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: intel_ish_ipc
	Kernel modules: intel_ish_ipc
0000:00:14.0 USB controller: Intel Corporation Meteor Lake-P USB 3.2 Gen 2x1 xHCI Host Controller (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 201f
	Kernel driver in use: xhci_hcd
0000:00:14.2 RAM memory: Intel Corporation Device 7e7f (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
0000:00:14.3 Network controller: Intel Corporation Meteor Lake PCH CNVi WiFi (rev 20)
	DeviceName: WLAN
	Subsystem: Intel Corporation Wi-Fi 6E AX211 160MHz
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi
0000:00:15.0 Serial bus controller: Intel Corporation Meteor Lake-P Serial IO I2C Controller #0 (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: intel-lpss
0000:00:15.1 Serial bus controller: Intel Corporation Meteor Lake-P Serial IO I2C Controller #1 (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: intel-lpss
0000:00:16.0 Communication controller: Intel Corporation Meteor Lake-P CSME HECI #1 (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: mei_me
	Kernel modules: mei_me
0000:00:1e.0 Communication controller: Intel Corporation Meteor Lake-P Serial IO UART Controller #0 (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: intel-lpss
0000:00:1e.3 Serial bus controller: Intel Corporation Meteor Lake-P Serial IO SPI Controller #1 (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: intel-lpss
0000:00:1f.0 ISA bridge: Intel Corporation Device 7e02 (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
0000:00:1f.3 Multimedia audio controller: Intel Corporation Meteor Lake-P HD Audio Controller (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: sof-audio-pci-intel-mtl
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_mtl
0000:00:1f.4 SMBus: Intel Corporation Meteor Lake-P SMBus Controller (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: i801_smbus
	Kernel modules: i2c_i801
0000:00:1f.5 Serial bus controller: Intel Corporation Meteor Lake-P SPI Controller (rev 20)
	Subsystem: ASUSTeK Computer Inc. Device 1a63
	Kernel driver in use: intel-spi
	Kernel modules: spi_intel_pci
10000:e0:06.0 System peripheral: Intel Corporation RST VMD Managed Controller
10000:e0:06.2 PCI bridge: Intel Corporation Device 7ecb (rev 10)
	Kernel driver in use: pcieport
10000:e1:00.0 Non-Volatile memory controller: Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)
	Subsystem: Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)

------ LOADED MODULES (VPU) ------
intel_vpu             290816  0

------ OPENVINO ENVIRONMENT VARIABLES ------
INTEL_OPENVINO_DIR=/usr/local/openvino/scripts/setupvars
PYTHONPATH=/usr/local/openvino/scripts/setupvars/python:/home/gompert/.local/lib/python3.12/site-packages:/usr/local/openvino/scripts/setupvars/python:/home/gompert/.local/lib/python3.12/site-packages:
1 Like