Author Topic: OVITO launching but display is blank  (Read 144 times)

steve

  • Newbie
  • *
  • Posts: 5
OVITO launching but display is blank
« on: March 23, 2018, 05:46:21 PM »
Hi - I grabbed the Linux binary for Ovito 2.9 (stable) and am trying
to run it on a RH 7 desktop box.  It launches but the
display screen is blank.  I know it's running b/c if I type ctrl-O
I get a dialog box.  Could I be missing some correct version
of a QT or viz library?

Thanks,
Steve

Alexander Stukowski

  • Administrator
  • Sr. Member
  • *****
  • Posts: 348
Re: OVITO launching but display is blank
« Reply #1 on: March 23, 2018, 08:59:55 PM »
Hi Steve,

I'm not sure: This could be an OpenGL/graphics driver problem (please check if other OpenGL-based applications (e.g. ParaView) work on the same machine or not; also check if your Linux distro provides other graphics drivers that you can install). Or it could be a compatibility problem of the Qt library, which is used by OVITO for the user interface. You can try the current development release of OVITO, which ships with a newer version of the Qt library.

-Alex

steve

  • Newbie
  • *
  • Posts: 5
Re: OVITO launching but display is blank
« Reply #2 on: March 23, 2018, 11:54:14 PM »
Thanks for the quick response.  I found a simple OpenGL program
that draws a square, and was able to build/run it, and it works.
Also tried the OVITO 3.0 (devel) and it has the same blank screen.

Below is the result of "ldd ovito" on my box.  Are there any
lib linkages that look suspicious?

Steve

------------------

   linux-vdso.so.1 =>  (0x00007ffc069bf000)
   libGui.so => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libGui.so (0x00007f866c23e000)
   libOpenGLRenderer.so => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libOpenGLRenderer.so (0x00007f866bfc4000)
   libCore.so => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libCore.so (0x00007f866b96f000)
   libQt5Concurrent.so.5 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libQt5Concurrent.so.5 (0x00007f866b966000)
   libQt5Widgets.so.5 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libQt5Widgets.so.5 (0x00007f866b319000)
   libQt5Gui.so.5 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libQt5Gui.so.5 (0x00007f866ad50000)
   libQt5Network.so.5 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libQt5Network.so.5 (0x00007f866abe6000)
   libQt5Core.so.5 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libQt5Core.so.5 (0x00007f866a649000)
   libstdc++.so.6 => /projects/sems/install/rhel7-x86_64/sems/compiler/gcc/6.1.0/base/lib64/libstdc++.so.6 (0x00007f866a2b3000)
   libm.so.6 => /lib64/libm.so.6 (0x00007f8669f94000)
   libgcc_s.so.1 => /projects/sems/install/rhel7-x86_64/sems/compiler/gcc/6.1.0/base/lib64/libgcc_s.so.1 (0x00007f8669d7c000)
   libc.so.6 => /lib64/libc.so.6 (0x00007f86699b9000)
   libGL.so.1 => /usr/lib64/nvidia/libGL.so.1 (0x00007f8669714000)
   libz.so.1 => /projects/sems/install/rhel7-x86_64/sems/tpl/zlib/1.2.8/gcc/6.1.0/base/lib/libz.so.1 (0x00007f86694fa000)
   libavformat.so.56 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libavformat.so.56 (0x00007f86691ef000)
   libavcodec.so.56 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libavcodec.so.56 (0x00007f866826e000)
   libavutil.so.54 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libavutil.so.54 (0x00007f8668041000)
   libavfilter.so.5 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libavfilter.so.5 (0x00007f8667e2f000)
   libswscale.so.3 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libswscale.so.3 (0x00007f8667be5000)
   libavresample.so.2 => /home/sjplimp/tools/ovito-2.9.0-x86_64/bin/./../lib/ovito/libavresample.so.2 (0x00007f86679c8000)
   /lib64/ld-linux-x86-64.so.2 (0x000055de39578000)
   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f86677ab000)
   librt.so.1 => /lib64/librt.so.1 (0x00007f86675a3000)
   libdl.so.2 => /lib64/libdl.so.2 (0x00007f866739e000)
   libGLX.so.0 => /usr/lib64/nvidia/libGLX.so.0 (0x00007f866716e000)
   libGLdispatch.so.0 => /usr/lib64/nvidia/libGLdispatch.so.0 (0x00007f8666ea0000)
   libX11.so.6 => /lib64/libX11.so.6 (0x00007f8666b61000)
   libXext.so.6 => /lib64/libXext.so.6 (0x00007f866694f000)
   libxcb.so.1 => /lib64/libxcb.so.1 (0x00007f8666726000)
   libXau.so.6 => /lib64/libXau.so.6 (0x00007f8666522000)

Alexander Stukowski

  • Administrator
  • Sr. Member
  • *****
  • Posts: 348
Re: OVITO launching but display is blank
« Reply #3 on: March 24, 2018, 08:47:23 AM »
What stands out in your ldd output is the fact that some .so libs, e.g. libstdc++, get loaded from a GCC 6 installation on your system instead of the system directories. This may or may not be a problem. At the moment, I cannot think of a reason why this should affect just the UI graphics but not the general operation of the OVITO program though. Perhaps you can clear the LD_LIBRARY_PATH env variable to see if running OVITO with the system libs makes any difference.

Do you see any terminal output from OVITO? (Normally there shouldn't be any, but perhaps Qt is reporting problems).

Just to make sure: You are not running OVITO through a remote desktop connection or even a virtual machine, right?

Alexander Stukowski

  • Administrator
  • Sr. Member
  • *****
  • Posts: 348
Re: OVITO launching but display is blank
« Reply #4 on: March 24, 2018, 11:00:19 AM »
Looks like somebody else had the same problem before:  http://forum.ovito.org/index.php?topic=196.0

In 2016, I had received another report from a user via email, who also experienced seemingly the same problem (on Fedora 22). Unfortunately, I never heard back from any them. So it's unclear whether theses users simply gave up or eventually found a workaround for the "black program window" problem. It doesn't seem to be a very common problem, given that many thousands of users run OVITO under Linux successfully.

Let's see what's your response to my previous questions, and then we can think about further actions.

steve

  • Newbie
  • *
  • Posts: 5
Re: OVITO launching but display is blank
« Reply #5 on: March 26, 2018, 04:55:22 PM »
ok - things are working now!  The GCC 6 hint was a good one.
In case others have issues, here is what happened:

a) I downloaded 2.9 stable and it originally gave several CXXABI errors
at runtime and didn't launch.

b) My system g++ is 4.8.5 so I assumed
that was too old.  So I loaded a newer GCC 6.1
that I have available thru modules on our network.

c) Then there were no CXXABI errors and OVITO launched with the blank screen,
so I thought I had a new problem and posted my message.

d) Later I saw the note on your download page about CXXABI and
grabbed the two *.so files it mentioned and added them to the OVITO lib dir.
But I didn't think about it being related to the blank screen.  So I kept using
GCC 6.

e) Now when I undo the loaded GCC 6 modules and go back to g++ 4.8 it works fine.
No CXXABI errors and no blank screen.

Thanks Alex,
Steve