Some OGL Visualisers broken

Issue #112 closed
Laurie Nevay created an issue

On mac el Capitan, geant4.10.p02, bdsim develop (7th Jan, 2016) some visualisers won't render properly. The window comes up but nothing is displayed and an error is shown.

G4OpenGLXViewer::G4OpenGLXViewer: unable to get a single buffer visual.
G4OpenGLXViewer::G4OpenGLXViewer: unable to get a double buffer visual.
G4OpenGLXViewer::G4OpenGLXViewer: unable to get required visuals.
G4OpenGLStoredXm::CreateViewer: error flagged by negative view id in G4OpenGLStoredXmViewer creation.
 Destroying view and returning null pointer.
 ERROR in G4VisManager::CreateViewer during OpenGLStoredXm viewer creation.
 No action taken.
 WARNING: No viewer created.
 ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.
 ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.

Screen Shot 2016-01-07 at 16.25.25.png

Comments (4)

  1. Laurie Nevay reporter
    Current available graphics systems are:
    ASCIITree (ATree)
    DAWNFILE (DAWNFILE)
    G4HepRep (HepRepXML)
    G4HepRepFile (HepRepFile)
    OpenGLImmediateQt (OGLI, OGLIQt)
    OpenGLImmediateX (OGLIX)
    OpenGLImmediateXm (OGLIXm, OGLI_FALLBACK, OGLIQt_FALLBACK)
    OpenGLStoredQt (OGL, OGLS, OGLSQt)
    OpenGLStoredX (OGLSX)
    OpenGLStoredXm (OGLSXm, OGL_FALLBACK, OGLS_FALLBACK, OGLSQt_FALLBACK)
    RayTracer (RayTracer)
    RayTracerX (RayTracerX)
    VRML1FILE (VRML1FILE)
    VRML2FILE (VRML2FILE)
    gMocrenFile (gMocrenFile)
    

    OGLI works OGLSX, OGLSXm don't work

  2. Laurie Nevay reporter

    This is really outside of our control as it's not due to our code, but rather from the Geant4 side. I'll retest this soon.

    We recommend using Geant4.10.1 or later.

  3. Jochem Snuverink

    Agreed. I think there is nothing we can do here. This is either due to Geant4 or the user environment.

  4. Log in to comment