[Gate-users] gate does not load openGL driver

franklin pereira pnicholasf at gmail.com
Fri Aug 1 19:29:33 CEST 2008


Hi,

I compiled all the source code and got Gate to run the benchmarkPET
and SPECT tests correctly.

However, although I enabled the openGL variables in the geant build script
(G4VIS_BUILD_OPENGLX_DRIVER  and G4VIS_USE_OPENGLX ), openGL does not
show up as one of
the graphics system when gate starts up ( in command line mode).

I have ubuntu-8.04 running on my computer and  openGL is included with
the distribution under  the /usr directory tree.

However, to be sure, I downloaded the mesa libraries, installed it
under a separate directory tree and had geant point to
this directory ... however, I still get the same result.

I'd appreciate any suggestions to fix this.

Thank you,
Franklin.


Following is a std output :

##################################################################################

root at Piglet:~# gate

*************************************************************
 Geant4 version Name: geant4-09-00-patch-02    (25-January-2008)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

I/O warning : failed to load external entity "Materials.xml"
   GateMaterialDatabase: did not find the Materials.xml file: no
properties read for material 'Air'
     This is only a problem when OPTICAL PHOTONS are transported in
this material.'
Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume
  drawByAttribute

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter
  attributeFilter

Time set to (s) 0
/control/saveHistory
/run/verbose 2
/event/verbose 1
/tracking/verbose 1
/gate/timing/setTime 0. s
Time set to (s) 0
/gate/application/setTimeSlice 1. s
PreInit>
PreInit> /vis/open OGLSX
/vis/open OGLSX
parameter value is not listed in the candidate List.
Parameter is out of candidate list (index 0)
Candidates : ATree DAWNFILE HepRepXML HepRepFile RayTracer VRML1FILE VRML2FILE

##############################################################################################



More information about the Gate-users mailing list