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

[Tip] Launching Vitis #37

Open
reteps opened this issue Mar 4, 2024 · 3 comments
Open

[Tip] Launching Vitis #37

reteps opened this issue Mar 4, 2024 · 3 comments

Comments

@reteps
Copy link

reteps commented Mar 4, 2024

Hi there, I was able to launch Vitis by swapping libgdk to version 3. It appears there is a known incompatibility if libgdk version 2 and JavaFX are loaded simultaneously.

So my full script is:

#!/bin/bash
cd /home/user
export LD_PRELOAD="/lib/x86_64-linux-gnu/libudev.so.1 /lib/x86_64-linux-gnu/libselinux.so.1 /lib/x86_64-linux-gnu/libz.so.1 /lib/x86_64-linux-gnu/libgdk-3.so.0"
export JAVA_TOOL_OPTIONS="-Dsun.java2d.xrender=false"
export JAVA_OPTS="-Dsun.java2d.xrender=false"
export DISPLAY="host.docker.internal:0"
/home/user/Xilinx/Vitis_HLS/*/settings64.sh
/home/user/Xilinx/Vitis_HLS/*/bin/vitis_hls

Note that I am using /lib/x86_64-linux-gnu/libgdk-3.so.0 instead of /lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0

CleanShot 2024-03-04 at 17 21 05@2x

@ichi4096
Copy link
Owner

Nice! I have added libgtk2 because without preloading that Vivado crashes.

@sapertuz
Copy link

Are you also able to run the Vitis Unified IDE ?

@reteps
Copy link
Author

reteps commented Apr 15, 2024

I have not tried, but I assume no as it is not included in the installation package by default.

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

3 participants