Qt viewer: scene tree empty

Dear community,

I have a problem with the Qt visualization, running Geant4 10.5.p01 on lxplus centos7. I connect to lxplus via ssh -Y using MacOS or Ubuntu 18.04. Example B1 compiles, runs,the Qt viewer appears, all buttuns work, but the scene tree is empty and nothing is drawn. There are no error messages.

All looks ok, I’m running out of ideas what to check. First I thought it was a problem of my MacBook and XQuartz, but as mentioned, Ubuntu 18.04 has the same issues. And I actually used Geant4 on lxplus via ssh since 2012, and besides the visualization being slow via ssh, never had any issues.

My settings and console output I put below. Here is a screenshot of how the visualization looks:

Please help!

Cheers

Dorothea

My Geant4 settings:

source /cvmfs/sft.cern.ch/lcg/contrib/gcc/8.3.0.1/x86_64-centos7-gcc8-opt/setup.csh
source /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/bin/geant4.csh /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/bin

My Qt settings:

setenv LD_LIBRARY_PATH /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/lib:{LD_LIBRARY_PATH} setenv LD_LIBRARY_PATH .:{LD_LIBRARY_PATH}
setenv QTDIR /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt
setenv QTINC /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/include
setenv QTLIB /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/lib
setenv QT_PLUGIN_PATH /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/plugins
setenv QT_QPA_PLATFORM_PLUGIN_PATH /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/plugins/platforms

setenv QT_DEBUG_PLUGINS 1

Output from: ldd ./exampleB1

[dpfeiffe@lxplus792 build]$ ldd ./exampleB1

   linux-vdso.so.1 =>  (0x00007ffeedd58000)

   libG4Tree.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4Tree.so (0x00007fa3a95aa000)

   libG4GMocren.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4GMocren.so (0x00007fa3a9367000)

   libG4visHepRep.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4visHepRep.so (0x00007fa3a90e1000)

   libG4RayTracer.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4RayTracer.so (0x00007fa3a8eb4000)

   libG4VRML.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4VRML.so (0x00007fa3a8c9a000)

   libG4OpenGL.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4OpenGL.so (0x00007fa3a89eb000)

   libG4gl2ps.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4gl2ps.so (0x00007fa3a87d6000)

   libG4interfaces.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4interfaces.so (0x00007fa3a8554000)

   libG4persistency.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4persistency.so (0x00007fa3a821c000)

   libG4error_propagation.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4error_propagation.so (0x00007fa3a7fdf000)

   libG4readout.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4readout.so (0x00007fa3a7dd5000)

   libG4physicslists.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4physicslists.so (0x00007fa3a7a4e000)

   libG4parmodels.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4parmodels.so (0x00007fa3a7837000)

   libG4FR.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4FR.so (0x00007fa3a7622000)

   libG4vis_management.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4vis_management.so (0x00007fa3a732d000)

   libG4modeling.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4modeling.so (0x00007fa3a703b000)

   libXm.so.4 => /lib64/libXm.so.4 (0x00007fa3a6b68000)

   libSM.so.6 => /lib64/libSM.so.6 (0x00007fa3a6960000)

   libICE.so.6 => /lib64/libICE.so.6 (0x00007fa3a6744000)

   libX11.so.6 => /lib64/libX11.so.6 (0x00007fa3a6406000)

   libXext.so.6 => /lib64/libXext.so.6 (0x00007fa3a61f4000)

   libXt.so.6 => /lib64/libXt.so.6 (0x00007fa3a5f8d000)

   libXmu.so.6 => /lib64/libXmu.so.6 (0x00007fa3a5d72000)

   libGLU.so.1 => /lib64/libGLU.so.1 (0x00007fa3a5af2000)

   libGL.so.1 => /lib64/libGL.so.1 (0x00007fa3a5866000)

   libQt5OpenGL.so.5 => /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/lib/libQt5OpenGL.so.5 (0x00007fa3a560d000)

   libQt5PrintSupport.so.5 => /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/lib/libQt5PrintSupport.so.5 (0x00007fa3a53a7000)

   libQt5Widgets.so.5 => /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/lib/libQt5Widgets.so.5 (0x00007fa3a4b66000)

   libQt5Gui.so.5 => /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/lib/libQt5Gui.so.5 (0x00007fa3a43b1000)

   libQt5Core.so.5 => /cvmfs/sft.cern.ch/lcg/releases/LCG_95/qt5/5.11.1/x86_64-centos7-gcc8-opt/lib/libQt5Core.so.5 (0x00007fa3a3bdb000)

   libxerces-c-3.1.so => /cvmfs/sft.cern.ch/lcg/releases/LCG_95/XercesC/3.1.3/x86_64-centos7-gcc8-opt/lib/libxerces-c-3.1.so (0x00007fa3a3627000)

   libG4run.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4run.so (0x00007fa3a33a5000)

   libG4event.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4event.so (0x00007fa3a312d000)

   libG4tracking.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4tracking.so (0x00007fa3a2ee0000)

   libG4processes.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4processes.so (0x00007fa39ea47000)

   libG4analysis.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4analysis.so (0x00007fa39e371000)

   libhdf5.so.10 => /cvmfs/sft.cern.ch/lcg/releases/LCG_95/hdf5/1.8.18/x86_64-centos7-gcc8-opt/lib/libhdf5.so.10 (0x00007fa39de7e000)

   libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fa39dc62000)

   libz.so.1 => /cvmfs/sft.cern.ch/lcg/releases/zlib/1.2.11-da225/x86_64-centos7-gcc8-opt/lib/libz.so.1 (0x00007fa39da48000)

   libdl.so.2 => /lib64/libdl.so.2 (0x00007fa39d844000)

   libG4zlib.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4zlib.so (0x00007fa39d62d000)

   libexpat.so.1 => /lib64/libexpat.so.1 (0x00007fa39d403000)

   libG4digits_hits.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4digits_hits.so (0x00007fa39d156000)

   libG4track.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4track.so (0x00007fa39cf35000)

   libG4particles.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4particles.so (0x00007fa39cc1e000)

   libG4geometry.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4geometry.so (0x00007fa39c753000)

   libG4materials.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4materials.so (0x00007fa39c47c000)

   libG4graphics_reps.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4graphics_reps.so (0x00007fa39c23a000)

   libG4intercoms.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4intercoms.so (0x00007fa39bfe1000)

   libG4global.so => /cvmfs/geant4.cern.ch/geant4/10.5.p01/x86_64-centos7-gcc8-opt/lib64/libG4global.so (0x00007fa39bd8a000)

   libCLHEP-2.4.1.0.so => /cvmfs/geant4.cern.ch/externals/clhep/2.4.1.0/x86_64-centos7-gcc8-opt/lib/libCLHEP-2.4.1.0.so (0x00007fa39ba2e000)

   libstdc++.so.6 => /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0.1-0a5ad/x86_64-centos7/lib64/libstdc++.so.6 (0x00007fa39b6a5000)

   libm.so.6 => /lib64/libm.so.6 (0x00007fa39b3a3000)

   libgcc_s.so.1 => /cvmfs/sft.cern.ch/lcg/releases/gcc/8.3.0.1-0a5ad/x86_64-centos7/lib64/libgcc_s.so.1 (0x00007fa39b18b000)

   libc.so.6 => /lib64/libc.so.6 (0x00007fa39adbd000)

   libXp.so.6 => /lib64/libXp.so.6 (0x00007fa39abb4000)

   libXft.so.2 => /lib64/libXft.so.2 (0x00007fa39a99e000)

   libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00007fa39a749000)

   libpng15.so.15 => /lib64/libpng15.so.15 (0x00007fa39a51e000)

   libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fa39a319000)

   libxcb.so.1 => /lib64/libxcb.so.1 (0x00007fa39a0f1000)

   libGLX.so.0 => /lib64/libGLX.so.0 (0x00007fa399ebf000)

   libGLdispatch.so.0 => /lib64/libGLdispatch.so.0 (0x00007fa399c09000)

   libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007fa399a07000)

   libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007fa3996f1000)

   /lib64/ld-linux-x86-64.so.2 (0x00007fa3a97bc000)

   libnsl.so.1 => /lib64/libnsl.so.1 (0x00007fa3994d7000)

   libcurl.so.4 => /lib64/libcurl.so.4 (0x00007fa39926d000)

   libXau.so.6 => /lib64/libXau.so.6 (0x00007fa399069000)

   libfontconfig.so.1 => /lib64/libfontconfig.so.1 (0x00007fa398e27000)

   libfreetype.so.6 => /lib64/libfreetype.so.6 (0x00007fa398b68000)

   libXrender.so.1 => /lib64/libXrender.so.1 (0x00007fa39895d000)

   libpcre.so.1 => /lib64/libpcre.so.1 (0x00007fa3986fb000)

   libidn.so.11 => /lib64/libidn.so.11 (0x00007fa3984c8000)

   libssh2.so.1 => /lib64/libssh2.so.1 (0x00007fa39829b000)

   libssl3.so => /lib64/libssl3.so (0x00007fa398042000)

   libsmime3.so => /lib64/libsmime3.so (0x00007fa397e1a000)

   libnss3.so => /lib64/libnss3.so (0x00007fa397aeb000)

   libnssutil3.so => /lib64/libnssutil3.so (0x00007fa3978bb000)

   libplds4.so => /lib64/libplds4.so (0x00007fa3976b7000)

   libplc4.so => /lib64/libplc4.so (0x00007fa3974b2000)

   libnspr4.so => /lib64/libnspr4.so (0x00007fa397274000)

   libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fa397027000)

   libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fa396d3e000)

   libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fa396b0b000)

   libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fa396907000)

   liblber-2.4.so.2 => /lib64/liblber-2.4.so.2 (0x00007fa3966f8000)

   libldap-2.4.so.2 => /lib64/libldap-2.4.so.2 (0x00007fa3964a3000)

   libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fa396293000)

   libssl.so.10 => /lib64/libssl.so.10 (0x00007fa396021000)

   libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fa395bbe000)

   librt.so.1 => /lib64/librt.so.1 (0x00007fa3959b6000)

   libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fa3957a6000)

   libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fa3955a2000)

   libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fa395389000)

   libsasl2.so.3 => /lib64/libsasl2.so.3 (0x00007fa39516c000)

   libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fa394f45000)

   libcrypt.so.1 => /lib64/libcrypt.so.1 (0x00007fa394d0e000)

   libfreebl3.so => /lib64/libfreebl3.so (0x00007fa394b0b000)

console_output.txt (33.3 KB)

Dear all,

I have to correct what I wrote on Friday. Connecting from Ubuntu 18.04 to lxplus results in a working visualization. The problem seems thus to be related to Qt on MacOS. Any ideas?

Cheers

Dorothea

Hi Dorothea

Glad to hear one of your avenues is working.

Let me be clear - Ubuntu 18.04 to lxplus works but Mac to lxplus does not. So it looks like something is strange about the Mac. However, when you are connecting remotely to a G4 app using “ssh -Y” you are not using Qt on the Mac. You are using Qt on lxplus and using the X windows server/client mechanism to get a picture on the Mac. So perhaps something strange about XQuartz on Mac. What versions of Mac OS and XQuartz are you using?

I’m not in a position to try this myself just now, but I hope you can make progress with your Ubuntu machine.

John