Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation Test 8 fails #321

Open
ThatOneCalculator opened this issue Dec 10, 2024 · 1 comment
Open

Validation Test 8 fails #321

ThatOneCalculator opened this issue Dec 10, 2024 · 1 comment

Comments

@ThatOneCalculator
Copy link
Contributor

  • Arch Linux (EndeavourOS) x86_64
  • ASUS UM5606WA (ZenBook S 16, Ryzen 9 AI 370)
$  sudo /opt/xilinx/xrt/bin/xrt-smi validate

Validate Device           : [0000:c5:00.1]
    Platform              : RyzenAI-npu4
    Power Mode            : Performance
-------------------------------------------------------------------------------
Test 1 [0000:c5:00.1]     : latency
    Details               : Average latency: 61.8 us
    Test Status           : [PASSED]
-------------------------------------------------------------------------------
Test 2 [0000:c5:00.1]     : throughput
    Details               : Average throughput: 65648.0 ops
    Test Status           : [PASSED]
-------------------------------------------------------------------------------
Test 3 [0000:c5:00.1]     : cmd-chain-latency
    Details               : Average latency: 9.0 us
    Test Status           : [PASSED]
-------------------------------------------------------------------------------
Test 4 [0000:c5:00.1]     : cmd-chain-throughput
    Details               : Average throughput: 94739.9 ops
    Test Status           : [PASSED]
-------------------------------------------------------------------------------
Test 5 [0000:c5:00.1]     : df-bw
    Details               : Average bandwidth per shim DMA: 37.7 GB/s
    Test Status           : [PASSED]
-------------------------------------------------------------------------------
Test 6 [0000:c5:00.1]     : tct-one-col
    Details               : Average TCT throughput: 381271.4 TCT/s
    Test Status           : [PASSED]
-------------------------------------------------------------------------------
Test 7 [0000:c5:00.1]     : tct-all-col
    Details               : Average TCT throughput: 825537.9 TCT/s
    Test Status           : [PASSED]
-------------------------------------------------------------------------------
Test 8 [0000:c5:00.1]     : spatial-sharing-overhead
    Error(s)              : Command failed to complete successfully
                            (ERT_CMD_STATE_ERROR)
    Test Status           : [FAILED]
-------------------------------------------------------------------------------
[                    ]: Running Test... < 0s >
/usr/include/c++/14.2.1/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = xrt::run; _Alloc = std::allocator<xrt::run>; reference = xrt::run&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
/usr/include/c++/14.2.1/bits/stl_vector.h:1130: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_ty/opt/xilinx/xrt/bin/xrt-smi: line 41: 353534 Aborted                 (core dumped) "${XRT_LOADER_DIR}/unwrapped/${XRT_PROG}" "${XRTWRAP_PROG_ARGS[@]}"

Output of examine:

$  sudo /opt/xilinx/xrt/bin/xrt-smi examine

System Configuration
  OS Name              : Linux
  Release              : 6.13.0-rc2-1-mainline-um5606-dirty
  Machine              : x86_64
  CPU Cores            : 24
  Memory               : 31196 MB
  Distribution         : EndeavourOS
  GLIBC                : 2.40
  Model                : ASUS Zenbook S 16 UM5606WA_UM5606WA
  BIOS Vendor          : American Megatrends International, LLC.
  BIOS Version         : UM5606WA.309

XRT
  Version              : 2.19.0
  Branch               : master
  Hash                 : 42e5fb6f572cc94b6593cba1fca0536ed8f9d49c
  Hash Date            : 2024-12-09 22:17:48
  xocl                 : unknown, unknown
  xclmgmt              : unknown, unknown
WARNING: xclmgmt version is unknown. Is xclmgmt driver loaded? Or is MSD/MPD running?
  amdxdna              : 2.19.0_20241209, 05c3d73ef7ab93405c8866c4c0c12239d3afe5fc
  NPU Firmware Version : 1.0.0.63

Device(s) Present
|BDF             |Name          |
|----------------|--------------|
|[0000:c5:00.1]  |RyzenAI-npu4  |
@maxzhen
Copy link
Collaborator

maxzhen commented Dec 10, 2024

This is a known issue and should be fixed by Xilinx/XRT#8647. We are monitoring the progress of that PR. Once it is merged, we'll update XRT submodule in xdna-driver repo to include the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants