cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer
Observer
543 Views
Registered: ‎04-04-2018

HW emulation segfaults for KCU1500 in SDX 2018.3

Hi I'm having trouble running any of the sample projects in H/W emultation in SDx 2018.3 on Ubuntu 16.04 (kernel version is 4.13.0-45). I can compile and run S/W emulation OK, but H/W emulation dies with a seg fault. Here is the output from the sobel-filter example:

Calculating Max Energy...
inputBits = 8 coefMax = 2
Max Energy = 14 Bits
Image Dimensions: 1024x1895
Found Platform
Platform Name: Xilinx
Creating Context...
XCLBIN File Name: krnl_edge
INFO: Importing ../krnl_edge.xclbin
Loading: '../krnl_edge.xclbin'
INFO: [SDx-EM 01] Hardware emulation runs simulation underneath. Using a large data set will result in long simulation times. It is recommended that a small dataset is used for faster execution. This flow does not use cycle accurate models and hence the performance data generated is approximate.
[libprotobuf ERROR google/protobuf/message_lite.cc:123] Can't parse message of type "response_packet_info" because it is missing required fields: size
simulate.sh: line 18:  5439 Segmentation fault      (core dumped) "$@"

I am running a clean install of SDx 2018.3 with the KCU1500 platform copied in from my previous 2018.2 installation. I have installed XRT from the VCU1525 getting-started page : https://www.xilinx.com/bin/public/openDownload?filename=xrt_201830.2.1.1695_16.04-xrt.deb

Has anyone else seen this and come up with a workaround?

Cheers,

             Joe.

 

 

0 Kudos
4 Replies
Highlighted
Observer
Observer
510 Views
Registered: ‎04-04-2018

Re: HW emulation segfaults for KCU1500 in SDX 2018.3

I also seem to be able to sucessfully run on the hardware with the System build - I just can't run a HW emulation!

0 Kudos
Highlighted
Observer
Observer
485 Views
Registered: ‎04-04-2018

Re: HW emulation segfaults for KCU1500 in SDX 2018.3

I'm not really sure how to go about debugging this further - dmesg tells me this:

 axsim[21751]: segfault at 118 ip 00007f306404aba6 sp 00007f305f868960 error 4 in libxtlm.so[7f3063f34000+19f000]

0 Kudos
Highlighted
Moderator
Moderator
463 Views
Registered: ‎11-04-2010

Re: HW emulation segfaults for KCU1500 in SDX 2018.3

Could you just try to run it in SDx 2018.2?

-------------------------------------------------------------------------
Don't forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Highlighted
Observer
Observer
446 Views
Registered: ‎04-04-2018

Re: HW emulation segfaults for KCU1500 in SDX 2018.3


@hongh wrote:

Could you just try to run it in SDx 2018.2?


Unfortunately no - 2018.2 has some other bugs such as kernel printf that cause me problems. As they seem to have been fixed in 2018.3 I'm keen to leave 2018.2 behind!

0 Kudos