Hello, I’m an engineer on Canonical’s Partner Engineering Intel squad. I just uploaded a new snap called intel-npu-driver
under my personal account (wfrench) which is pending manual review. We eventually hope to publish this under Canonical (I will make a separate request for this).
You can find more details about the snap (including the snapcraft.yaml
) in this repo: GitHub - canonical/intel-npu-driver-snap: Snap recipe for the Intel® NPU Driver (https://github.com/intel/linux-npu-driver/)
I would like to request autoconnections for these three plugs:
plugs:
intel-npu-plug:
interface: custom-device
custom-device: intel-npu-device
intel-npu-kmod:
interface: kernel-module-control
intel-npu-fw:
interface: kernel-firmware-control
Details for each:
- intel-npu-plug: required by an app (used for validation) in the snap to access the NPU device char node in
/dev/accel/
. This is for convenience and seems low risk as access is limited within thecustom-device
slot definition. - intel-npu-kmod: the snap builds and ships firmware that must match the user mode driver version. In order to load the new firmware the
intel_vpu
kernel module most be reloaded. There is a daemon packaged in the snap that handles this. An autoconnection would be convenient and also help ensure that the snap is being deployed and used properly (e.g. without an autoconnection a user may accidentally forget to connect the interface and therefore not load the correct firmware for the NPU device). - intel-npu-fw: this interface allows the NPU firmware to be loaded from a custom path on the host. An autoconnection is requested for the same reasons as intel-npu-kmod: convenience and ensuring tight coupling of the firmware with the rest of the NPU stack.
Thank you!