Skip to content

v2.4.0

Latest

Choose a tag to compare

@savery42 savery42 released this 16 Nov 20:37

xpu-smi

Note

Configuring and reading device health status requires Level Zero ≥ 1.33.1 (spec v1.18). On older driver stacks the commands compile and run but return UNSUPPORTED_FEATURE; all other xpu-smi functionality is unaffected.

Note

ECC and RAS error fields have been removed from xpu-smi [ query | --query-gpu | dump ] until driver RAS reads are reliable; a RAS read the driver never answers could stall the whole command. ecc.mode.current, ecc.errors.* and ras.* are no longer accepted by --query-gpu, the ECC group (e) is no longer accepted by dump --metrics, and dump metrics 12–16, 29 and 30 now report Unsupported.

Note

xpu-smi discovery --dump IDs 54 (KMD Version) and 55 (Thermal Design Power) are now 52 and 53, and xpu-smi health -c 6 (GPU Frequency) is now -c 4; scripts that use the old IDs need to be updated.

Bug Fixes

  • xpu-smi ps per-process GPU memory is now calculated correctly when the driver reports it in MiB rather than KiB, and the memory column now shows its unit; the help text now states that memory is reported in KiB
  • xpu-smi ps and the default view no longer list a multi-GPU process on GPUs it only initialized; Level Zero sets up every visible GPU at zeInit(), reserving ~20 MiB and running setup work on each. Use --all to list these idle runtime contexts
  • xpu-smi [ --loop <int> | --loop-ms <int> ] default view no longer cuts device names mid-word (e.g. Intel(R) Arc(TM) Pro B / 60 Graphics); names are shortened for this view only (Intel(R) Arc(TM) Pro B60 Graphics → Arc Pro B60) and wrap at word boundaries. xpu-smi [ discovery | query | --query-gpu | dump ] and JSON output keep the full name
  • xpu-smi [ --loop <int> | --loop-ms <int> ] default view no longer shows the unsupported Persistence-M field
  • xpu-smi [ --loop <int> | --loop-ms <int> ] default view collects each device's information in parallel during the sampling window, so it no longer slows down with more GPUs and processes
  • xpu-smi [ --loop <int> | query --loop <int> ] re-queries a serial number that was unknown because the AMC was busy, instead of printing unknown until exit
  • xpu-smi --query-gpu=<fields> --format csv now accepts --format with a space before its value, like --format=csv; when options do not parse, the error now names the argument at fault rather than the first argument on the command line
  • xpu-smi [ query | --query-gpu | dump ] utilization.gpu now reports the busiest engine, as documented, instead of opening an EU metric stream per device, which took several seconds per device; eu.active still reports the EU figure
  • xpu-smi [ query | --query-gpu | dump ] PCIe throughput no longer overflows on large byte counts or reports huge rates when a counter goes backwards, and an idle PCIe link now reads 0 kB/s instead of N/A
  • xpu-smi [ query | --query-gpu | dump ] an unknown current clock now reads N/A instead of -1 MHz, and a memory clock reported as 0 MHz reads N/A
  • xpu-smi [ query | --query-gpu | dump ] memory read/write bandwidth now reads N/A instead of ~1.8e19 kB/s, and bandwidth utilization no longer goes negative, when a memory counter resets between samples
  • xpu-smi [ stats | dump ] GPU memory bandwidth utilization now reports 0 instead of N/A when the driver does not provide peak memory bandwidth (dump metric 17); this value is a placeholder, not a measurement
  • xpu-smi stats an idle GT's GPU and media clocks now read 0 MHz instead of N/A, matching --query-gpu
  • xpu-smi stats engine utilization rows from DRM fdinfo now read 0 instead of N/A on an idle GPU
  • xpu-smi stats samples devices in parallel and, with -e, starts EU collection before the interval sleep, so runtime no longer grows with devices × samples × (interval + EU window)
  • xpu-smi discovery SKU type is no longer empty on systems where the firmware reply took longer than 100 ms, and a firmware write no longer waits indefinitely
  • xpu-smi listpciinfo now takes PCIe max gen/width from both ends of the slot link instead of the root port only; a Gen5 card in a Gen6 slot was shown as Gen6, disagreeing with xpu-smi [ discovery | --query-gpu ]
  • xpu-smi listpciinfo reports unknown PCIe link attributes as N/A, like xpu-smi discovery, instead of max_link_width: 255, pcie_generation: 0 and max_bandwidth_gbps: 0.0; in JSON output these fields are now the string "N/A" when unknown
  • xpu-smi topology -f <file> no longer segfaults randomly on Ubuntu 26.04; hwloc 2.13's levelzero discovery plugin calls zeDeviceGetProperties() with uninitialized stype/pNext, so the plugin is now excluded from topology export
  • xpu-smi config -h help: --pciedowngrade description aligned with the other options, --fanid moved from the Usage block into Options, and the --ignore-gpu-user-processes description no longer wraps its last word onto its own line
  • xpu-smi [ config --reset | amc ] -d <index> now selects the same GPU that xpu-smi discovery lists as device <index>; devices are numbered in the Level Zero device order regardless of ZE_AFFINITY_MASK, and AMC and reset messages name the GPU by its PCI BDF
  • xpu-smi vgpu -l no longer fails with Failed to read LMEM quota for every VF on kernels whose sriov_admin interface exposes only scheduling attributes; the VF LMEM quota is read from debugfs instead
  • xpu-smi vgpu no longer provisions the PF scheduling priority manually, so the xe driver correctly provisions the VF preemption timeout and execution quantum
  • xpu-smi updatefw now explains why a GFX_DATA image is refused instead of failing with Failed to flash firmware: 0x7FFFFFFE (ZE_RESULT_ERROR_UNKNOWN); image and device GFX_DATA versions are compared by IGSC's rules before flashing, and an image the device would refuse (e.g. the already-installed version) is not flashed. --force does not override the check; COMPOSITE packages take the same path
  • xpu-smi updatefw -t <type> now names the firmware type and device when Level Zero Sysman exposes no firmware to update, instead of Failed to find firmware handle 0x7FFFFFFE (ZE_RESULT_ERROR_UNKNOWN), and points to a missing shared igsc library when that is the cause
  • xpu-smi updatefw firmware updates through the AMC now follow the DMTF MCTP/PLDM specifications: multi-packet messages are split and reassembled, all components are updated in one session with retries on timeouts, the update is cancelled on Ctrl+C or SIGTERM, 100% is reported only for a successful update, and a per-device summary is printed
  • xpu-smi amc in-band file transfer no longer returns partial data; the file is now read section by section instead of only the first 512-byte section
  • xpu-smi amc the AMC bus is now locked per operation instead of for the lifetime of a process, and a busy AMC is waited on for up to 5 s, so concurrent xpu-smi processes no longer report the serial number as unknown; the AMC serial number is also cached for the rest of the boot, each AMC reply is checked against the request sent, and a failed AMC firmware version read no longer discards the serial number
  • xpu-smi amc --gpureset now masks the AER Surprise Link Down bit, removes the device from PCIe, rescans it once the reset completes and unmasks the bit again
  • xpu-smi commands no longer hang when the driver never answers a RAS read; RAS calls are now time-limited and affected values read N/A (driver did not respond)
  • xpu-smi no longer segfaults at exit with debug logging enabled
  • xpu-smi total GPU memory now reads the physical memory size, falling back to the previous value when it is not reported, which gives correct and consistent memory telemetry on iGPUs
  • xpu-smi default GPU shutdown temperature is now capped at the maximum the driver reports for its sensors; thresholds configured for a device are unchanged
  • xpu-smi commands start faster: the GSC is queried over MEI only when firmware data is needed (xpu-smi discovery firmware fields, the vbios_version metric, xpu-smi updatefw), MEI devices are listed once for all GPUs instead of once per GPU, RAS error sets are enumerated on first use instead of at device init, and process utilization is read with one /proc walk for all devices
  • xpu-smi no longer logs an error when a device does not support RAS or has no temperature sensors
  • Resolved a build failure against driver zes_intel_gpu_sysman.h headers that lack ZES_INTEL_MEM_TYPE_LPDDR5X
  • xpu-smi dump power no longer shows spikes, 0 W or N/A on Intel Arc B-series GPUs when another tool reads the same telemetry; an implausible energy counter reading is read again, and power is now reported correctly when the energy counter wraps around instead of N/A
  • xpu-smi discovery now reports the memory vendor; it previously always read N/A
  • xpu-smi discovery no longer shows the Memory Date Code and Memory IC/Die Info fields, which always read unknown because no driver or firmware interface provides them; they are removed from the text, JSON and --dump output, and KMD Version and Thermal Design Power move from --dump IDs 54/55 to 52/53
  • xpu-smi health no longer lists the GPU Memory (-c 4) and Reserved (-c 5) components; GPU Memory always read Unknown because memory health is only reported on HBM devices. GPU Frequency moves from -c 6 to -c 4, and -c 6 is rejected with a hint to use 4. An invalid -c or a missing -d/-l is now rejected before the driver is initialized, so -j returns a JSON error
  • xpu-smi raslog now collects CPER records through the standard Level Zero info log API; the Intel experimental info log functions used before return UNSUPPORTED_FEATURE in current drivers
  • xpu-smi <command> -j replaces invalid UTF-8 in strings read from a device or its firmware instead of aborting the command
  • xpu-smi amc every AMC command (discovery, FRU, platform monitoring, file transfer, VR sync and GPU reset) now uses the same MCTP request path as the AMC firmware update: multi-packet replies work for every command, each packet's checksum (PEC) is verified, and a damaged or lost reply is requested again (a GPU reset is never resent); an AMC version string that is not printable ASCII is refused

New Features

  • xpu-smi query new command prints a report of the main attributes of each GPU (identity, PCI link, clock throttle reasons, memory, utilization, temperatures, power, clocks and processes) as an indented Key : Value listing
    • xpu-smi query [ --display <sections> ] [ --device <deviceIds> ] [ --json ] [ --verbose ] [ --loop <seconds> | --loop-ms <milliseconds> ] [ --count <count> ] [ --file <path> ]
    • Sections: IDENTITY, MEMORY, UTILIZATION, TEMPERATURE, POWER, CLOCK, PCI, EU_ARRAY, FAN, COMPUTE, PERFORMANCE, SUPPORTED_CLOCKS (only when named, or with ALL), PIDS, ALL
    • With --loop on a terminal, the report is drawn once and only the lines whose values changed are rewritten
    • Rows a device does not report are left out of both text and JSON; --verbose prints them, as Not Supported where the driver or OS says so
    • A value that is missing because of insufficient privileges reads N/A (requires ...), naming the capability or device access needed (CAP_SYS_ADMIN, CAP_PERFMON or the MEI device node)
    • The unimplemented xpu-smi [ -q | --query ] top-level stub is removed
  • xpu-smi [ query | --query-gpu | dump ] add new fields, including:
    • Clocks: per-reason throttle fields, minimum/requested/efficient/TDP clocks, allowed hardware/software clock ranges and supported clocks (clocks.supported.graphics)
    • Power: instantaneous and memory-domain power (power.draw.instant, power.draw.memory.instant), and sustained/burst/peak/default/minimum limits (power.limit.*)
    • Temperature: throttle and shutdown thresholds (temperature.*.threshold.*) and driver maximum operating temperature (temperature.gpu.max, temperature.memory.max)
    • Utilization: media split into utilization.video and utilization.video_enhancement
    • Memory: memory.reserved, retired and offline page counts, and memory health
    • PCI: root-port link maximums (pcie.link.gen.host_max, pcie.link.width.host_max), AER error counters (pcie.errors.*), AtomicOp capabilities (pcie.atomic.*), memory BAR size and Resizable BAR state (pci.bar.*), class codes (pci.base_class, pci.sub_class) and PCI slot
    • Device: graphics IP version (ip_version), enabled SR-IOV VFs (vf.enabled), scheduler and standby modes, device health, memory repair status, recovery action, performance factors, fan mode and count
    • dump --metrics adds the COMPUTE, PERFORMANCE and SUPPORTED_CLOCKS groups
  • xpu-smi [ --timeout <sec> | --timeout=<sec> ] aborts any command that makes no progress for <sec> seconds (default 60 plus 5 per GPU on Linux, 0 to disable), e.g. because a driver call never returns, and exits with code 124; a warning naming the stuck phase is printed after half the timeout. The timeout is suspended while firmware is written (xpu-smi updatefw) and while a GPU is reset (xpu-smi [ config --reset | config --coldreset | amc --gpureset ])
  • xpu-smi [ ps | --loop <int> | --loop-ms <int> ] --all lists idle runtime contexts that are hidden by default
  • xpu-smi stats reports per-process utilization (compute/copy/render/media, plus EU active/stall when available) from DRM fdinfo as Process Util (%) rows and a processes JSON array; when Level Zero engine groups are unavailable, the engine-instance table and device-level utilization are derived from fdinfo, so they are reported without root
  • xpu-smi config [ --reset | --coldreset ] can now reset a wedged GPU that Level Zero no longer reports, by resetting the PCI function through sysfs; other config settings are refused for such a device
  • xpu-smi updatefw now locks each device separately instead of the whole machine, so firmware can be updated on different devices at the same time; a device already being updated is reported as busy
  • xpu-smi -v now reports build provenance (git describe and commit, commit date, build time, build type and platform) and runtime versions (Level Zero loader version and path, and any preloaded libraries); everything except the loader version is printed before Level Zero is initialized, so -v still identifies the binary when driver initialization fails
  • XPU_SMI_LOG_LEVEL=DBG xpu-smi ... now prints the xpu-smi -v version report at the top of every debug log
  • xpu-smi [ discovery | --query-gpu ] and the xpu-smi banner now report KMD Version on Windows, read from the GPU's PCI device node
  • xpu-smi health reads the power TDP threshold from the AMC on boards that have one, falling back to device_thresholds.json and then the 300 W default; xpu-smi discovery reports the same TDP, and the value read from the AMC is cached for the rest of the boot

xpumd

  • Breaking changes (for the XPUMD config):
    • intel_crashlog receiver glob option replaced by globs list, to support multiple filename patterns
      • Action required: if custom config is used, the glob: "<pattern>" needs to be updated to globs: ["<pattern>"]
    • intel_xpu_status processor support for defaults which have lower thresholds than more specific thresholds, by stopping conditions processing at first value with a matching parent filter
      • Action required: specify states' default threshold values as the last condition
  • Breaking changes (for the intel_xpu_info exporter gRPC API):
    • Proto package renamed from deviceinfo to deviceinfo.v1alpha2
    • SeverityLevel enum values of SEVERITY_LEVEL_OK and SEVERITY_LEVEL_UNKNOWN swapped (OK=0, UNKNOWN=1), so that the numeric value increases with severity
    • Action required: gRPC clients need to be regenerated from the updated deviceinfo.proto
  • Metric workarounds:
    • Report also disabled power limits (part of #184 fix)
    • SR-IOV virtual functions are skipped, as they provide duplicate or bogus metrics of their PF
    • OEM serial ID is used as hw.gpu.info serial number fallback (like xpu-smi does)
  • Metric updates:
    • Fan metrics support
    • Log output includes all relevant metric (differentiation) attributes
    • New internal telemetry metrics: otelcol_sysman_sampler_missed_deadlines, otelcol_sysman_sampler_interval_usage and otelcol_crashlogs_dropped
  • Metric output fixes:
    • intel_xpu_info exporter reported an empty subdevice ID, and aggregated memory modules of the same type on different subdevices
    • intel_xpu_info exporter event message was empty for non-string log record bodies
    • intel_xpu_status processor and intel_xpu_info exporter attribute filters did not match non-string attributes
  • Config updates:
    • intel_xpu receiver:
      • subsystems option, to disable scraping of whole metric subsystems
    • intel_crashlog receiver:
      • min_file_size (default 1 byte, i.e. skip empty files) and max_file_size (default 1 MiB) options
    • intel_xpu_status processor:
      • Metrics aggregation (aggregate) support for rules
      • operator (In / NotIn) support for attribute filters
    • intel_xpu_info exporter:
      • operator (In / NotIn) support for attribute filters
  • New extensions included:
    • health_check extension, enabled by default in the example config and in the Helm chart, for checking the collector status over HTTP (port 13133)
    • basicauth and bearertokenauth extensions for authenticating the OTLP exporters and the Prometheus exporter endpoint
  • Helm chart:
    • Readiness probe for the xpumd container (readinessProbe), using the health_check extension
    • Liveness probe (livenessProbe), disabled by default
    • intel_xpu_status temperature and power warning threshold rules synced with xpu-smi (also in the example config), including new critical states for the core and memory temperatures (memory temperature warning state replaced by critical one)
  • XPUMD binary reports the actual XPUMD version (instead of 0.0.0)
  • XPUMD privileges: NET_ADMIN capability is required by an upcoming GPU driver release for the RAS error events, and is added to the Helm chart
  • XPUMD image:
    • Base image digest pinned
    • The xpumd image now only contains the daemon, the stub Level-Zero driver and xpuinfo-cli moved to the new xpumd-devel image variant
    • The xpumd-devel image now includes also the list-sysman and events-sysman example apps from the level-zero-go bindings
    • L0 driver stack update to 26.40.40196.8 + loader 1.34.0
  • Go dependencies: OTel collector update to v0.163.0 + other version updates
  • Sysman Go bindings: Update to L0 API spec v1.19.12 (in loader 1.34.0), adding new extensions for driver properties, driver-scoped events and info logs

Supported Operating Systems

  • Ubuntu 24.04
  • Ubuntu 26.04
  • Windows Server 2022 & 2025 (limited features, xpu-smi only):
    • GPU device information
    • GPU telemetry
    • GPU firmware update
    • GPU configuration

Supported Devices

  • Intel(R) Arc™ Pro B50 GPU
  • Intel(R) Arc™ Pro B60 GPU
  • Intel(R) Arc™ Pro B65 GPU
  • Intel(R) Arc™ Pro B70 GPU
  • Intel(R) Core Ultra Series 3 iGPU

Package verification

Refer to *.sha256 files below for SHA256 checksums for Linux release files, and *.sig files for Windows release files.