Log
Collect GPU diagnostic logs and write them to a file. Gathers a comprehensive snapshot of system and GPU state useful for troubleshooting and bug reports.
Note
This command is supported on Linux only.
Synopsis
xpu-smi log -f [fileName]
Options
- -h, --help
Print this help message and exit.
- -f <fileName>, --file <fileName>
The output file to write all collected diagnostic data into.
Collected Information
The log command collects the following information:
System snapshots (from /proc):
CPU info, interrupt table, memory info, loaded modules, kernel version
OS and kernel logs:
/var/log/syslog,kern*.logfiles, kernel messages (dmesg)
GPU driver info:
Kernel version,
xegraphics driver module path and load status
DRM and debugfs:
Files from
/sys/class/drmand/sys/kernel/debug/dri(if available)
Intel package inventory:
Installed Intel GPU stack packages (
dpkgon Debian/Ubuntu,rpmon RHEL/SUSE)
System command outputs (where tools are available):
lspci -v -xxx,dmidecode,lsusbxpu-smi discoveryclinfo(OpenCL platform info)vainfo(video acceleration info)
Examples
Collect diagnostic logs to a file:
xpu-smi log -f gpu_debug.log