Geant4 Version: Geant4-11.3.2
Operating System: Alma Linux 10
Compiler/Version: 14.2.1
CMake Version: 3.30.5
i have just installed geant4 on alma linux 10. as i executed expample B1 it shows some geometry rendering issue, not any error specifically just background desktop or windows are apearing instead of the geometry.
as i changed the vis driver to OGLIX or OGLSX then there is proper visualization of geometry but outside Qt gui in a separate window.
can anyone help what could be the problem and why OGL is not rendering the geometry properly.
Hi Muhammad
I am not familiar with Alma, but this sounds like some installation issue. I have not seen this particular symptom before, but here are some things to try.
- Check that your installations of X11 and Qt are up to date.
- If you are not using it already, install Qt6 and add the cmake option
GEANT4_USE_QT_QT6=ON.
- Try building without X11 (i.e., without the cmake option
GEANT4_USE_OPENGL_X11=ON nor GEANT4_USE_RAYTRACER_X11=ON).
- Check that your graphics card driver is up to date.
Let us know if this helps.
John
yes it works thanks a lot.
i reconfigure setting GEANT4_USE_QT_QT6=ON
and turning off the OPENGL_X11 AND RAYTRACER_X11
and it works
That’s great. Thanks for letting us know.
From the next release, Qt6 will be the default; GEANT4_USE_QT=ON on it’s own will be enough.
John