Jump to content
  • 0

Vivado on Linux


chaseemory

Question

I’ve been using Vivado and writing RTL for Xilinx FPGAs for a year and a half now, but I have been doing it all in Windows. An internship at Micron over the summer as well as my classes so far this year have made me realize I need to get my at home usage onto Linux as well. I know my way around Linux to a reasonable level, but I wouldn’t call myself a Linux guru.

 

does anyone know of a good guide for installing Vivado on Linux? I tried multiply times yesterday, following guides online, and I couldn’t ever get it to work after the install, there was always a string of Java errors and then it would say it couldn’t launch the GUI.

 

the digilent guide says to use sudo, which I did the first time and it still didn’t work, but the Xilinx guide says you don’t have to use sudo anymore, only to install the usb cable drivers, and I would rather not always have to use sudo anytime I run Vivado. But when I installed it without sudo, it still had the same Java errors.

 

Any help would be appreciated :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

1) Xilinx still says that it isnt required, I did use sudo to install the cable drivers though, both say they install correctly.

2) I am dual booting Windows 10 with Ubuntu 18.04.1

3) in the terminal I am seeing this error when I try to launch vivado, after sourcing settings64.sh

 

Quote

****** Vivado v2018.3 (64-bit)
  **** SW Build 2405991 on Thu Dec  6 23:36:41 MST 2018
  **** IP Build 2404404 on Fri Dec  7 01:43:56 MST 2018
    ** Copyright 1986-2018 Xilinx, Inc. All Rights Reserved.

start_gui
java.lang.reflect.InvocationTargetException
    at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
    at java.desktop/java.awt.EventQueue.invokeAndWait(Unknown Source)
    at java.desktop/javax.swing.SwingUtilities.invokeAndWait(Unknown Source)
    at ui.PlanAhead.i(SourceFile:1505)
    at ui.PlanAhead.eq(SourceFile:585)
    at ui.PlanAhead.ex(SourceFile:881)
    at ui.PlanAhead.a(SourceFile:1609)
    at ui.frmwork.b.l.d(SourceFile:41)
    at ui.frmwork.HTclEventBroker.i(SourceFile:255)
    at ui.frmwork.HTclEventBroker.fireTclEvent(SourceFile:350)
Caused by: java.lang.IllegalArgumentException: Window must not be zero
    at java.desktop/sun.awt.X11.XAtom.checkWindow(Unknown Source)
    at java.desktop/sun.awt.X11.XAtom.getAtomData(Unknown Source)
    at java.desktop/sun.awt.X11.XToolkit.getWorkArea(Unknown Source)
    at java.desktop/sun.awt.X11.XToolkit.getInsets(Unknown Source)
    at java.desktop/sun.awt.X11.XToolkit.getScreenInsets(Unknown Source)
    at java.desktop/sun.java2d.SunGraphicsEnvironment.getUsableBounds(Unknown Source)
    at java.desktop/sun.awt.X11GraphicsEnvironment.getXineramaWindowBounds(Unknown Source)
    at java.desktop/sun.awt.X11GraphicsEnvironment.getMaximumWindowBounds(Unknown Source)
    at com.jidesoft.utils.PortingUtils.getLocalScreenBounds(Unknown Source)
    at com.jidesoft.utils.PortingUtils.ensureVisible(Unknown Source)
    at com.jidesoft.action.DefaultDockableBarManager.m(Unknown Source)
    at com.jidesoft.action.DefaultDockableBarManager.f(Unknown Source)
    at com.jidesoft.action.DefaultDockableBarManager.resetToDefault(Unknown Source)
    at com.jidesoft.swing.AbstractLayoutPersistence.loadLayoutDataFrom(Unknown Source)
    at com.jidesoft.swing.AbstractLayoutPersistence.loadLayoutData(Unknown Source)
    at ui.q.ag(SourceFile:137)
    at ui.bm.bK(SourceFile:960)
    at ui.bm.<init>(SourceFile:161)
    at ui.de.a(SourceFile:1396)
    at ui.de.run(SourceFile:1359)
    at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.desktop/java.awt.EventQueue.access$500(Unknown Source)
    at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
    at java.desktop/java.awt.EventQueue$3.run(Unknown Source)
    at java.base/java.security.AccessController.doPrivileged(Native Method)
    at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
    at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
    at ui.frmwork.b.d.dispatchEvent(SourceFile:88)
    at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Failed to open 'Vivado application'. Please check your system resources and launch again.

I also found this page, https://www.xilinx.com/support/answers/66184.html , and i ran that script and this is the output

Quote

librdi_commonmain.so => not found
/usr/lib/x86_64-linux-gnu/libboost_signals.so
/lib/x86_64-linux-gnu/libpthread.so.0
/lib/x86_64-linux-gnu/libgcc_s.so.1
/lib64/ld-linux-x86-64.so.2
/lib/x86_64-linux-gnu/libdl.so.2
/lib/x86_64-linux-gnu/liblzma.so.5
/usr/lib/x86_64-linux-gnu/libunwind.so.8
librdi_common.so => not found
/usr/lib/x86_64-linux-gnu/libtcmalloc.so.4
/lib/x86_64-linux-gnu/libm.so.6
/usr/lib/x86_64-linux-gnu/libstdc++.so.6
linux-vdso.so.1
/lib/x86_64-linux-gnu/libc.so.6

But I do not know how to go about fixing the missing items.

 

thank you for the help

 

EDIT: So I just tried launching it from the desktop shortcut, and that worked! and now when i launch it from the terminal it works as well...does anyone know why this might be?

Link to comment
Share on other sites

Hi @chaseemory,

I am glad that vivado is launching correctly. I am not sure what caused Vivado to now launch correctly. My guess is that some incorrect paths were corrected when launching vivado through the shortcut and now those paths have been set correctly Vivado will now launch correctly from the terminal.  For a better understanding I would suggest reaching out to xilinx support.

thank you,

Jon

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...