$ ls -ltr geant4-config -prefix/lib/libG4O* $ grep GLX_STENCIL /usr/local/Geant4/source/11.00.03/source/visualization/OpenGL/src/ (I can’t test on BigSur and Monterey, I have no machine with these around). But the code within G4OpenGLX to choose a “visual” is quite standard, then I would strongly suspect somethings around your X11-GLX server… If you think that your X11/GLX server is ok, then, yes, there is perhaps something now wrong with the logic to choose a “visual” within the G4/vis/G4OpenGLX driver (then relative to the recent macOS upgrades…). (The glxinfo one could give you also infos). What you can do also to check your X11/GLX, is to run another OpenGL app, for example the standard “glxgears” one (from your Mac or a remote Linux). The XQuartz/2.7.11 was the “less worst” of them, but with time passing it appeared to degrade strongly hard to have a remote session with a Linux, unable to run multiple X11/GLX apps at the same time, unable to run the same app twice without restarting XQuartz, etc…). You may have a look to update to latest version (recently I passed to XQuartz/2.8.2 which looks a little bit less… disastrous as the XQuartz/2.7.x. The upper “defaults” command may be needed to be done again, if upgrading XQuartz. In any case, use the shell command xdpyinfo (from your Mac, or a remote machine) to see if you have the GLX extensions available. Remember that for “some version” of XQuartz (in particular the 2.7.x), you have to explicitly enable the “OpenGL extensions” with something as “macOS> defaults write 11 enable_iglx -bool true”. You should strongly suspect the X11 window server your are using on your Mac. Available graphics systems are (short names):ĪTree DAWNFILE HepRepFile OGL OGLI OGLIX OGLS OGLSX RayTracer VRML2FILE gMocrenFile G4OpenGLStoredX::CreateViewer: error flagged by negative view id in G4OpenGLStoredXViewer creation.ĭestroying view and returning null pointer.ĮRROR in G4VisManager::CreateViewer: null pointer during OpenGLStoredX viewer creation. G4OpenGLXViewer::G4OpenGLXViewer: unable to get required visuals. G4OpenGLXViewer::G4OpenGLXViewer: unable to get a double buffer visual. G4OpenGLXViewer::G4OpenGLXViewer: unable to get a single buffer visual. Running Geant4 version 11.0.3 in my Mac with BigSur, I get an error when trying to open an OpenGL scene (see below).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |