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

Vitis_2024.1 not working properly #82

Open
0david0mp opened this issue Nov 14, 2024 · 3 comments
Open

Vitis_2024.1 not working properly #82

0david0mp opened this issue Nov 14, 2024 · 3 comments

Comments

@0david0mp
Copy link

Not realy sure if this is a wrong thing about the package, my specific installation or if it has somethign to do with a redeclaration issue (i have another version of xilinx installed), but when trying to run the command vitis or with any other flags -g, -w it just prints out the banner.

When inspecting the vitis bash script, i noticed the file $XILINX_VITIS/ide/electron-app/lnx64/vitisng-ide which states a missing library: /opt/Vitis/2024.1/ide/electron-app/lnx64/vitisng-ide: error while loading shared libraries: libxshmfence.so.1: cannot open shared object file: No such file or directory.

i've also tried launching it from the vivado ide (tools > launch vitis ide), but wouldnt work neither.

Any help or guidance? Thanks in advance

@Mic92
Copy link
Member

Mic92 commented Nov 15, 2024

Would adding xorg.libxshmfence solve the issue? If so, please make a pull request.

@0david0mp
Copy link
Author

I've got it to work with the --classic flag. Also, running ldd shows this output:

❯ ldd $XILINX_VITIS/ide/electron-app/lnx64/vitisng-ide
        linux-vdso.so.1 (0x00007ffe1bd13000)
        libffmpeg.so => /opt/Vitis/2024.1/ide/electron-app/lnx64/libffmpeg.so (0x00007f2623a00000)
        ...
        libgio-2.0.so.0 => /lib/libgio-2.0.so.0 (0x00007f2623600000)
        libnss3.so => not found
        libnssutil3.so => not found
        libsmime3.so => not found
        libnspr4.so => not found
        libatk-1.0.so.0 => not found
        libatk-bridge-2.0.so.0 => not found
        libdbus-1.so.3 => not found
        libdrm.so.2 => not found
        libgtk-3.so.0 => /lib/libgtk-3.so.0 (0x00007f2622c00000)
        libpango-1.0.so.0 => not found
        libcairo.so.2 => not found
        libgdk_pixbuf-2.0.so.0 => not found
        libm.so.6 => /lib/libm.so.6 (0x00007f2623519000)
        libX11.so.6 => /lib/libX11.so.6 (0x00007f2622ab4000)
        libXcomposite.so.1 => not found
        libXdamage.so.1 => not found
        libXext.so.6 => /lib/libXext.so.6 (0x00007f262c9ab000)
        libXfixes.so.3 => not found
        libXrandr.so.2 => not found
        libexpat.so.1 => not found
        libxcb.so.1 => /lib/libxcb.so.1 (0x00007f262c97d000)
        libxkbcommon.so.0 => not found
        libgbm.so.1 => not found
        libasound.so.2 => not found
        libatspi.so.0 => not found
        libcups.so.2 => not found
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f2623ddb000)
        ...

and i've not been able to find some of the missing libraries under nixpkgs, so probably will just try some different version until i found one that works. Have yo tried any version that do work @Mic92??

@0david0mp
Copy link
Author

the missing libraries of 2023.2:

❯ ldd $XILINX_VITIS/ide/electron-app/lnx64/vitisng-ide | grep "not found"
	libnss3.so => not found
	libnssutil3.so => not found
	libsmime3.so => not found
	libnspr4.so => not found
	libatk-1.0.so.0 => not found
	libatk-bridge-2.0.so.0 => not found
	libdbus-1.so.3 => not found
	libdrm.so.2 => not found
	libpango-1.0.so.0 => not found
	libcairo.so.2 => not found
	libgdk_pixbuf-2.0.so.0 => not found
	libXcomposite.so.1 => not found
	libXdamage.so.1 => not found
	libXfixes.so.3 => not found
	libXrandr.so.2 => not found
	libexpat.so.1 => not found
	libxkbcommon.so.0 => not found
	libgbm.so.1 => not found
	libasound.so.2 => not found
	libatspi.so.0 => not found
	libcups.so.2 => not found

the last working version seems to be 2022.2. should i close this issue or you think you will try to fix this?

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

2 participants