Dear Geant4 Gurus,
I am not able to visualise the detector geometry of a Geant4 existing detector, when I compile the package on lxplus (source /cvmfs/geant4.cern.ch/geant4/10.5/x86_64-centos7-gcc63-opt/CMake-setup.sh).
If I try to run this very simple macro:
/vis/open OGL 600x600-0+0
/vis/drawVolume
/vis/viewer/set/background white
I get the following error:
WARNING: G4VisCommandSceneHandlerCreate::SetNewValue:
Using fallback graphics system: OpenGLStoredX (OGLSX)
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 149 (GLX)
Minor opcode of failed request: 3 (X_GLXCreateContext)
Value in failed request: 0x0
Serial number of failed request: 27
Current serial number in output stream: 28
When running from a ssh -X terminal on my macbook pro with Mojave 10.14.6 and up-to-date XQuartz installed.
Is there a fix for this?
pietro