VITIS HLS GUI often crashes with NICE DCV

0

Hi. This is a follow-up to post https://forums.aws.amazon.com/thread.jspa?messageID=990108&#990108.
I successfully installed NICE DCV for FPGA development using the guide (https://github.com/aws/aws-fpga/blob/master/developer_resources/DCV.md), and was able to launch vitis_hls (GUI) in my web browser.

The problem is that vitis_hls crashes very often (about every 10 minutes), with the error message on the upper right corner:
"A Problem has Occurred
A problem in the gnome-terminal-3.28.2-3.el7 package has been det..."
and this error message goes away about 5 seconds later. (I am not sure how to view more detailed message...)

I first thought it was due to lack of memory in m5.xlarge, so I switched to m5.2xlarge, but the problem persists.
I also checked the problem exists in both N. California and Seoul AWS server as well.
I also did some quick search on AWS Forum - nothing comes up.

Could anyone help me with this?

gefragt vor 3 Jahren295 Aufrufe
3 Antworten
0

Hi Young,

Is there a 'solution' folder created by vitis_hls? One way to check if it's an issue with the GUI is to run vitis_hls in command line mode.
The folder might have a script.tcl file and running it successfully on the command line might show an issue with either the tool or the Gnome GUI.

To run manually:

vitis_hls -f script.tcl

Another thing to check: does /var/log/messages show any errors worth looking at on the OS side that could cause such a crash?
Let me know if this doesn't help.

-Deep

Deep_P
beantwortet vor 3 Jahren
0

Thanks so much for looking into the problem.
Launching from the command line is working fine - it appears to be a GUI problem.

Here is /var/log/messages. Should I adjust the resolution of DCV before launching Vitis HLS?

==========================================================
org.gnome.Shell.desktop: Window manager warning: Window 0x2800003 (java) sets an MWM hint indicating it isn't resizable, but sets min size 397 x 299 and max size 2147483647 x 2147483647; this doesn't make much sense.
org.gnome.Shell.desktop: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2800003 (java)
kernel: gnome-terminal-[6106]: segfault at 24b7c ip 00007fa6ea579570 sp 00007ffd202d50b0 error 4 in ld-2.17.so[7fa6ea570000+22000]
abrt-hook-ccpp: Process 6106 (gnome-terminal-server) of user 1000 killed by SIGSEGV - dumping core
abrt-server: Generating core_backtrace
abrt-server: Duplicate: core backtrace
abrt-server: DUP_OF_DIR: /var/spool/abrt/ccpp-2021-07-15-05:56:28-7671
abrt-server: Deleting problem directory ccpp-2021-07-16-09:39:49-6106 (dup of ccpp-2021-07-15-05:56:28-7671)
abrt-applet.desktop: abrt-applet: repeated problem in gnome-terminal-3.28.2-3.el7, not showing the notification
abrt-server: Email address of sender was not specified. Would you like to do so now? If not, 'user@localhost' is to be used [y/N]
abrt-server: Email address of receiver was not specified. Would you like to do so now? If not, 'root@localhost' is to be used [y/N]
abrt-server: Sending an email...
abrt-server: Sending a notification email to: root@localhost
abrt-server: Email was sent to: root@localhost
systemd: Created slice User Slice of root.
systemd: Started Session 2 of user root.
systemd: Removed slice User Slice of root.
dbus[850]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
dbus[850]: [system] Successfully activated service 'org.freedesktop.problems'
kernel: gnome-terminal-[6974]: segfault at 2427c ip 00007f154af78570 sp 00007fffe7193f70 error 4 in ld-2.17.so[7f154af6f000+22000]
abrt-hook-ccpp: Process 6974 (gnome-terminal-server) of user 1000 killed by SIGSEGV - dumping core
abrt-server: Generating core_backtrace
abrt-server: Email address of sender was not specified. Would you like to do so now? If not, 'user@localhost' is to be used [y/N]
abrt-server: Email address of receiver was not specified. Would you like to do so now? If not, 'root@localhost' is to be used [y/N]
abrt-server: Sending an email...
abrt-server: Sending a notification email to: root@localhost
abrt-server: Email was sent to: root@localhost

beantwortet vor 3 Jahren
0

Hi Young,

I'm not sure if this is an issue with the Gnome terminal server or if it is an actual issue related to the Xilinx tool.
I can suggest trying a different desktop manager with a different terminal emulator.

sudo yum --enablerepo=epel -y groups install "MATE Desktop"
sudo bash -c 'echo PREFERRED=/usr/bin/mate-session > /etc/sysconfig/desktop'
echo "/usr/bin/mate-session" > ~/.Xclients && chmod +x ~/.Xclients
#Reboot after this step
sudo systemctl start dcvserver
sudo dcv create-session --name my-session --user centos --owner centos my-session

You should be able to use the mate terminal after this and try it out.
Let me know if that also causes this issue.

-Deep

Deep_P
beantwortet vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen