Closed lamalexck closed 10 months ago
Integrated GPUs are not formally supported by XPUM, so the output is unpredictable. Maybe you can try with sudo, to see if you can get more data.
@lamalexck In general, most of the metrics in Level-Zero Sysman API (used by XPUM), are not available on integrated GPUs, only discrete ones.
(Integrated GPU shares e.g. memory and power with CPU, so there's no GPU specific metric for them that could be reported. Kernel may offer some per-context memory usage info in sysfs, but there's no Sysman API for that, only for device level memory usage.)
Best is to test directly what Sysman supports, using tester from Sysman backend project:
$ TESTER=zello_sysman
$ wget https://raw.githubusercontent.com/intel/compute-runtime/$TAG_TESTER/level_zero/tools/test/black_box_tests/$TESTER.cpp
$ g++ -O2 -Wall -o $TESTER $TESTER.cpp -lze_loader -locloc
(Building requires level-zero header / frontend to be installed, which are available from Intel driver repositories, and latest distro repositories.)
zello_sysman
tester has separate options for querying each different metric type: https://spec.oneapi.io/level-zero/latest/sysman/api.html
If it reports a metric value, but XPUM does not (when both use the same Level-Zero backend library), it's XPUM issue. Otherwise the issue is on backend driver side, or kernel/FW/HW not providing that information.
thanks for the explanation.
Do we support iGPU? I am getting all N/A for iGPU and Freq is not the frequency in realtime, but the max freq the SoC support.