UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor mark04
Visitor
11,785 Views
Registered: ‎04-15-2014

Vivado hangs forever with white window during startup (Linux)

Jump to solution

First of all, I am running this on Debian Jessie (testing).  I want to get that out of the way, because I know one of the first replies will be "use a supported distribution."  Unfortunately, I use this computer for many things besides FPGA development really can't justify a dedicated workstation just for Vivado.

 

So, earlier this year I had installed and used 2014.1 on the same machine without problems.  After a gap of a few months, I tried launching this [previously working] installation, and after the Vivado splash screen, it opens the main GUI window, but nothing is drawn in the window---it just stays white.  It remains stuck like that forever, with zero CPU usage.

 

I hadn't done any real work yet, so I blew away that install and tried installing 2014.2.  I get the exact same symptoms when running the 80MB installer bin---Vivado splash screen appears, the big GUI window opens, and then it just sits there.  There are no obvious errors in the installer log; the last messages are

 

2014-06-19 20:31:15,196 DEBUG: j.k:? - Successfully downloaded http://www.xilinx.com/direct/swhelp/installClientInfo.dat. Downloaded 364 bytes, elapsedTime: 0:0:0:0
2014-06-19 20:31:15,196 INFO : j.b:? - Internet connection validated, can connect to internet.
2014-06-19 20:31:15,196 DEBUG: j.b:? - Loading install client info from: /tmp/TMP_LD_LIB_PATH2014-06-19-20-31-10-1403235070/1403235074154/installClientInfo.dat

So, what changed during those last three months:

--regular updates (the system was already on Jessie/testing)

--installed Eclipse, which pulled in the Debian-provided java

--got rid of GNOME and went back to basic X + window manager setup

 

I am wondering if java could be the problem?  When I installed Eclipse, I probably got the java provided by the Debian packages.  Running java -version shows this:

 

java version "1.7.0_51"
OpenJDK Runtime Environment (IcedTea 2.4.5) (7u51-2.4.5-2)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)

I don't know if I had java when I installed Vivado 2014.1.  If the Vivado installer doesn't find java on the system, does it install its own?  Is there a particular required version, or a range of versions?  Where can I find that information?

 

If java is the problem, can I force the installer to use its own bundled java, and have both versions coexist on my system?  I would like to solve this without having to nuke my entire Eclipse install...

 

Thanks,

 

Mark

 

0 Kudos
1 Solution

Accepted Solutions
17,978 Views
Registered: ‎07-21-2014

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Hi there,

 

I'm a DWM tiling window manager user on Arch Linux and experienced the same white window problem that you described. I found a solution at this page:

http://awesome.naquadah.org/wiki/Problems_with_Java#Use_OpenJDK_With_Vendor_Fix

 

In a nutshell setting the environment variable in my user's ~/.zshrc (or .bashrc) aka:

export _JAVA_AWT_WM_NONREPARENTING=1

fixes the problem.

 

Cheers!

Brandon

13 Replies
Xilinx Employee
Xilinx Employee
11,763 Views
Registered: ‎04-16-2012

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Hi Mark,

 

Check this thread, it may help you.

 

If the above thread doesn't help, try invoking vivado using the following command: vivado -jvm Xmx4096m

 

Thanks,

Vinay

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Visitor mark04
Visitor
11,745 Views
Registered: ‎04-15-2014

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Hi Vinay,

 

I checked the other thread.  I was already awareof most of that, e.g. the need to use bash instead of dash during installation.  And the java version he recommends installilng is the one I already have.

 

Unfortunately I cannot try the "-jvm Xmx4096m" command-line option as I don't have an existing vivado install to test it with.  I did try it as an option to xsetup; it didn't seem to do anything though.

 

But I think I may have found something.  A closer look at the process list reveals that the installer is NOT using my installed java version after all.  It is running a java executable located in /tmp/......  which I presume is the one included in the installer archive.  The other thread on Debian suggested that that java does not work on Debian, although the symptom was supposed to be a crash, whereas on my system is just stalls with zero CPU forever.  But, it's something anyway.

 

To that end, can you tell me how the installer decides which java to use, and how to force it to use my own java?  On my system "java" lives in /usr/bin, and is a symlink to /etc/alternatives/java, which in turn is a symlink to the actual executable, /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java

 

If the installer is looking for java in some hard-coded location, that could explain why it isn't finding mine.

 

Thanks in advance.

0 Kudos
Xilinx Employee
Xilinx Employee
11,737 Views
Registered: ‎04-16-2012

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution
Hi Mark,

Are you able to open Vivado in Tcl mode.
Here is the command: vivado -mode tcl


Thanks,
Vinay
--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Visitor mark04
Visitor
11,736 Views
Registered: ‎04-15-2014

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Hi Vinay,

 

I don't have vivado installed, so I cannot test any commands that start with "vivado ..."  :)

 

(Before that, I *did* have 2014.1 installed, and it was exhibiting the same problem that the installer does--blank white window and sits forever.  But I deleted that installation hoping that 2014.2 would solve my problem, and it did not.  So now I don't have an installation to test things like Tcl mode on... I just have the installer.)

 

Is there a way to tell the installer NOT to use its built-in java, and use my installed version instead?

 

Thanks,

Mark

0 Kudos
Xilinx Employee
Xilinx Employee
11,734 Views
Registered: ‎04-16-2012

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Hi Mark,

 

I dont think there is an option. 

When you double click on thin installer, it extracts the java to temp/xinstall/jre/bin and uses it to install the Vivado tool.

 

Thanks,

Vinay

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
17,979 Views
Registered: ‎07-21-2014

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Hi there,

 

I'm a DWM tiling window manager user on Arch Linux and experienced the same white window problem that you described. I found a solution at this page:

http://awesome.naquadah.org/wiki/Problems_with_Java#Use_OpenJDK_With_Vendor_Fix

 

In a nutshell setting the environment variable in my user's ~/.zshrc (or .bashrc) aka:

export _JAVA_AWT_WM_NONREPARENTING=1

fixes the problem.

 

Cheers!

Brandon

Newbie asamarts
Newbie
10,689 Views
Registered: ‎11-18-2014

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

I just want to say that I also ran into this issue as well using XMonad.

 

The solution is to to add 'setWMName "LG3D"' to your startupHook as described here:

 

http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-SetWMName.html

0 Kudos
Xilinx Employee
Xilinx Employee
10,681 Views
Registered: ‎04-16-2012

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Hello @mark04 

 

Are the above suggestions helpful?

Is the issue solved?

 

Thanks,

Vinay

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
0 Kudos
Visitor mark04
Visitor
10,672 Views
Registered: ‎04-15-2014

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Vuppala,

 

I gave up and installed Vivado on a spare Windows laptop, before the other solutions were proposed.  So for all I know, they may work...

 

Mark

 

0 Kudos
Visitor jmayergoogle
Visitor
5,515 Views
Registered: ‎03-16-2015

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

I saw the same problem, when running Vivado using the "Awesome" window manager.

 

Vivado works correctly with Cinnamon or Unity window managers, and "white screens out" with Awesome.

 

I think the difference between Awesome and Cinnamon/Unity is that Cinnamon/Unity use the old Xlib library for rendering, and Awesome uses the new asynchronous XCB library instead.  My guess is that the GUI toolkit used by Vivado is too out-of-date to work with an XCB-based window manager.

0 Kudos
Scholar dwisehart
Scholar
5,509 Views
Registered: ‎06-23-2013

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

Start a new thread.

0 Kudos
Visitor mark04
Visitor
4,326 Views
Registered: ‎04-15-2014

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

@dwisehart, jmayer's reply is entirely on-topic and might even provide Xilinx with the information necessary to fix this problem, if they cared to.

 

As the OP, I wanted to update this topic and confirm that @brandonedens suggested workaround is still necessary as of Vivado 2015.3.  Yes, that is one and a half years later.

 

At least the workaround works.

 

0 Kudos
929 Views
Registered: ‎10-02-2017

Re: Vivado hangs forever with white window during startup (Linux)

Jump to solution

I realize this is an old thread, but in case this is helpful, I wanted to add in my solution.

 

I'm running Vivado 17.2 on RedHat 7. When using XRDP and trying to run Vivado remotely from Windows, I run into the situation described by the OP (white screen where the Vivado GUI is supposed to be displayed). The solution was to change the settings in Remote Desktop from 32-bit to 24-bit.

 

Here is the post where I got the solution:

https://forums.aws.amazon.com/thread.jspa?messageID=786249&tstart=0

0 Kudos