Problem 1932

Summary: Problem with /vis/viewer/create OGL on macOS (10.12.2)
Product: Geant4 Reporter: Kazuhito Suzuki <kaz.nuhepl>
Component: visualization/OpenGLAssignee: John.Allison
Status: RESOLVED WORKSFORME    
Severity: minor CC: kaz.nuhepl
Priority: P4    
Version: 10.3   
Hardware: Apple   
OS: Mac OS X   
Attachments: Log of exampleB1.

Description Kazuhito Suzuki 2017-01-12 06:14:17 CET
Created attachment 437 [details]
Log of exampleB1.

Hello,

I have installed Geant4 10.3.0 on macOS (10.12.2) with -DGEANT4_USE_OPENGL_X11=ON, but the G4 prompt did not return after /vis/viewer/create was issued when running exampleB1. The CPU usage went up to 99.8% and no viewer window popped up. I had to kill it by cntl-C.

-----
# Use this open statement to create an OpenGL view:
/vis/open OGL 600x600-0+0
/vis/sceneHandler/create OGL
/vis/viewer/create ! ! 600x600-0+0

Session terminated.
-----

The log of exampleB1 is attached. This happened for the other exampleB*.
Your help would be highly appreciated.

Best,

-- Kazuhito
Comment 1 John.Allison 2017-01-16 14:08:15 CET
I too am on MaxOS 10.12.2 with Geant4 10.3.0 and with -DGEANT4_USE_OPENGL_X11=ON and all's OK.  I'm also using the latest XQuartz 2.7.11 (xorg-server 1.18.4).  Some intermediate versions of XQuartz from about 2.7.8 had problems with OpenGL.  Please try updating XQuartz.