Problem 1932 - Problem with /vis/viewer/create OGL on macOS (10.12.2)
Summary: Problem with /vis/viewer/create OGL on macOS (10.12.2)
Status: RESOLVED WORKSFORME
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/OpenGL (show other problems)
Version: 10.3
Hardware: Apple Mac OS X
: P4 minor
Assignee: John.Allison
URL:
Depends on:
Blocks:
 
Reported: 2017-01-12 06:14 CET by Kazuhito Suzuki
Modified: 2017-06-20 09:13 CEST (History)
1 user (show)

See Also:


Attachments
Log of exampleB1. (3.42 KB, text/plain)
2017-01-12 06:14 CET, Kazuhito Suzuki
Details

Note You need to log in before you can comment on or make changes to this problem.
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.