Message: Problem with OpenGL visual Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Problem with OpenGL visual 

Forum: Installation and Configuration
Date: 05 Apr, 2009
From: M Tariq Siddique <M Tariq Siddique>

Hello, i am using geant4.9.1 on a suse linux 11.1 and i have a fully functional and working perfectly geant code on my office pc. two days ago i install the geant on my home pc with the same mathod as i used to install in my office pc. it was installed perfectly but when i execute the exampleNO2 it didnt give any OpenGL visual but display some error which i was not able to resolve its given below. in last two days i stuck with an OpenGL visual problem please help me in this regard.

/run/verbose 2
#             
# Create a scene handler for a specific graphics system
# (Edit the next line(s) to choose another graphics system)
#                                                          
/vis/open OGLIX 600x600-0+0                                
/vis/sceneHandler/create OGLIX                             
/vis/viewer/create ! ! 600x600-0+0                         
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.      
G4OpenGLImmediateX::CreateViewer: error flagged by negative view id in G4OpenGLImmediateXViewer creation.
 Destroying view and returning null pointer.                                                             
ERROR in G4VisManager::CreateViewer during OpenGLImmediateX viewer creation.                             
  No action taken.                                                                                       
WARNING: No viewer created.                                                                              
#                                                                                                        
####/vis/open OGLSXm                                                                                     
####/vis/open HepRepXML                                                                                  
#                                                                                                        
####/vis/open DAWNFILE                                                                                   
#                                                                                                        
# draw scene                                                                                             
#                                                                                                        
/vis/drawVolume                                                                                          
/vis/scene/create                                                                                        
/vis/scene/add/volume world                                                                              
/vis/sceneHandler/attach                                                                                 
#                                                                                                        
/vis/viewer/set/viewpointThetaPhi 90 180 deg                                                             
ERROR: G4VisCommandsViewerSet::SetNewValue: no current viewer.                                           
/vis/viewer/zoom 1.4                                                                                     
ERROR: G4VisCommandsViewerZoom::SetNewValue: no current viewer.                                          
#                                                                                                        
# for drawing the tracks                                                                                 
/vis/scene/add/trajectories                                                                              
/tracking/storeTrajectory 1                                                                              
WARNING: Trajectory storing has been requested.  This action may be                                      
  reversed with "/tracking/storeTrajectory 0".                                                           
# (if too many tracks cause core dump => /tracking/storeTrajectory 0)                                    
# for drawing the hits, uncomment next line                                                              
# /vis/scene/add/hits                                                                                    
# (if you prefer refreshing each event, comment out next line)                                           
/vis/scene/endOfEventAction accumulate                                                                   
WARNING: The vis manager will keep up to 100 events.                                                     
  This may use a lot of memory.                       

 Add Message Add Message
to: "Problem with OpenGL visual"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]