Good morning,
I’m a new GEANT4 user. I have already installed the geant4-10-05-patch-01 version on a centOS and I just tried to run the examples/basic. However, I have a visualization problem on the example B1. I attached below the error messages:
[lscavarda@photoscan build_test]$ ./exampleB1
Available UI session types: [ Qt, GAG, tcsh, csh ]
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-lscavarda'
Vertex shader for simpleShaderProg (MainVertexShader & PositionOnlyVertexShader) failed to compile
Fragment shader for simpleShaderProg (MainFragmentShader & ShockingPinkSrcFragmentShader) failed to compile
QGLShaderProgram: shader programs are not supported
Errors linking simple shader:
Vertex shader for blitShaderProg (MainWithTexCoordsVertexShader & UntransformedPositionVertexShader) failed to compile
Fragment shader for blitShaderProg (MainFragmentShader & ImageSrcFragmentShader) failed to compile
QGLShaderProgram: shader programs are not supported
Errors linking blit shader:
Warning: "" failed to compile!
Warning: "" failed to compile!
Warning: "" failed to compile!
Warning: "" failed to compile!
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 2 (No such file or directory) on X server "localhost:12.0"
after 1022 requests (1022 known processed) with 0 events remaining.
I don’t have this problem with the B2 examples.
Then I tried to make a my own simulation and it worked well until I put in the vis.mac these lines:
/vis/scene/add/axes
/vis/scene/add/scale 10 cm
Then I checked in the vis.mac files of the two previous examples and I released that the
/vis/scene/add/axes
was in the B1/vis.mac file but not in B2/B2*/vis.mac files.
Someone can help me to spot out the problem? Could be something releated with installation procedure or with the GEANT4 version?
Thanks a lot in advance,
Cheers,
Lorenzo