Cannot launch Vitis HLS Gui mode with FPGA Developer AMI 1.10.0

0

Hi.
I was trying to launch Vitis HLS GUI with FPGA Deveoper AMI 1.10.0.

I did "git clone https://github.com/aws/aws-fpga.git $AWS_FPGA_REPO_DIR",
and then "cd $AWS_FPGA_REPO_DIR" and then "source vitis_setup.sh"
and then "source /opt/Xilinx/Vitis_HLS/2020.2/settings64.sh"

but when I launch "vitis_hls", I get message:

=================================
****** Vitis HLS - High-Level Synthesis from C, C++ and OpenCL v2020.2 (64-bit)
**** SW Build 3064766 on Wed Nov 18 09:12:47 MST 2020
**** IP Build 3064653 on Wed Nov 18 14:17:31 MST 2020
** Copyright 1986-2020 Xilinx, Inc. All Rights Reserved.

source /opt/Xilinx/Vitis_HLS/2020.2/scripts/vitis_hls/hls.tcl -notrace
INFO: [HLS 200-10] Running '/opt/Xilinx/Vitis_HLS/2020.2/bin/unwrapped/lnx64.o/vitis_hls'
INFO: [HLS 200-10] For user 'centos' on host 'ip-xxx-xx-xx-xx.ap-northeast-2.compute.internal' (Linux_x86_64 version 3.10.0-1160.6.1.el7.x86_64) on Tue Jul 13 06:47:43 UTC 2021
INFO: [HLS 200-10] On os "CentOS Linux release 7.9.2009 (Core)"
INFO: [HLS 200-10] In directory '/home/centos'
INFO: [HLS 200-10] Bringing up Vitis HLS GUI ...
INFO: [Common 17-206] Exiting vitis_hls at Tue Jul 13 06:47:48 2021...

So, pretty much no information on why it is not launching.
I can launch xeyes, so I don't think it is X problem.
If there additional dependencies I should install for Vitis HLS GUI, could anyone tell me the list?

asked 3 years ago666 views
6 Answers
0

Hi,

To make sure this is not an application issue, I went through the GUI setup steps here: https://github.com/aws/aws-fpga/blob/master/developer_resources/DCV.md

I was able to launch vitis_hls with the 1.10.0 Dev AMI after that with the DCV Viewer to view/access the desktop.

In your case, Are you trying to forward X? If so, can you check if access control for X is set to allow connections on your client?
To do that, run:

xhost +

If that doesn't work, could you try the DCV steps as that should work.

-Deep

Deep_P
answered 3 years ago
0

Thanks so much for the reply. I will definitely try DCV later if X doesn't work out for me.

So how I solve the problem is that since "vitis_hls" doesn't give any helpful message, I instead tried to run "vitis" GUI version - which did give out useful information.
I just followed the error message and installed the missing dependencies - the last one being sudo yum install webkitgtk3 (sorry, didn't document everything..). Then was able to launch vitis.
What's interesting is that after configuring "vitis", "vitis_hls" also launches correctly - so problem solved.

Moving on, could I request two things from the FPGA Developer AMI team?

  1. Would it be possible to automatically install missing dependency for GUI version as well in "vitis_setup.sh" and "Vitis_HLS/2020.2/settings64.sh"? Would be so much helpful for novice users like me :)
  2. Could you make vitis_hls to generate an error log like vitis? Currently, it is too difficult to debug vitis_hls problem without any hints on what's going on.

Thanks!
-Young

answered 3 years ago
0

Hi Young,

That is very good feedback. I will add the Vitis HLS setup part as an AI for us to improve on and provide feedback to Xilinx on the Vitis HLS error handling.

On the GUI front, we validate and suggest using DCV as it is provided and supported by AWS. Other methods can break in the Centos repository due to a package update/dependency issue. That is one big reason why we may not be able to bake in support for other methods.

Thanks!
-Deep

Deep_P
answered 3 years ago
0

Thanks for the explanation.
I looked at DCV in the link you provided, but it says it is free only up to 15 days.
I am trying to get my students to use it, so any additional cost is too burdensome. I will see if I can get it working on X, and switch to DCV if there are too many problems.

answered 3 years ago
0

Hi Young,

A clarification on DCV: DCV is free for use on EC2. You can setup your instances to allow access to S3 buckets like shown here: https://docs.aws.amazon.com/dcv/latest/adminguide/setting-up-license.html#setting-up-license-ec2

-Deep

Deep_P
answered 3 years ago
0

Thanks. I found that DCV has much less latency than GUI version, and decided to use that flow.

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions