Xilinx / Vitis-AI

Vitis AI is Xilinx’s development stack for AI inference on Xilinx hardware platforms, including both edge devices and Alveo cards.
https://www.xilinx.com/ai
Apache License 2.0
1.44k stars 626 forks source link

Bus error when executing xdputil query #1262

Open salcanmor opened 1 year ago

salcanmor commented 1 year ago

Hi all, I'm getting Bus error when executing xdputil query.

This is my setup:

I've installed VART, following https://github.com/Xilinx/Vitis-AI/tree/2.0/setup/mpsoc/VART (step 2-point 4) I also added XRT to Petalinux: XRT in Petalinux (https://xilinx.github.io/XRT/master/html/yocto.html)

But I still get ### Bus error ###: root@x:~/Vitis-AI-2.0/setup/mpsoc/VART# xdputil query /usr/bin/xdputil: line 20: 1256 Bus error /usr/bin/python3 -m xdputil $* root@x:~/Vitis-AI-2.0/setup/mpsoc/VART# root@x:~/Vitis-AI-2.0/setup/mpsoc/VART# xdputil status /usr/bin/xdputil: line 20: 1258 Bus error /usr/bin/python3 -m xdputil $* root@x:~/Vitis-AI-2.0/setup/mpsoc/VART# root@x:~/Vitis-AI-2.0/setup/mpsoc/VART# show_dpu device_core_id=0 device= 0 core = 0 fingerprint = 0x1000020f6014405 batch = 1 full_cu_name=unknown:dpu0 ` root@x:~/Vitis-AI-2.0/setup/mpsoc/VART#`

Can anyone help me please?

xihuazhanghui commented 1 year ago

If you have installed xrt, you can check if the xrt works fine by using xrt tool:

xbutil query