Bug 514

Summary: gears applet not running on macos
Product: [JogAmp] Jogl Reporter: damir <damir.kolobaric>
Component: appletAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: major CC: damir.kolobaric, wwalker3
Priority: ---    
Version: 2   
Hardware: All   
OS: macosx   
Type: --- SCM Refs:
Workaround: ---

Description damir 2011-08-30 22:56:59 CEST
reference demo for applet launcher is not working anymore on MacOs.

http://jogamp.org/jogl-demos/www/applettest-jnlp.html

There is no picture, only white screen appears.
It seams that application is running normally, but render result
is not present. This happens only in applet.

Everything worked ok, two months ago.
Veryfied on with several macos users. Same scenario.


Using jogamp for my simple games 
http://78.47.124.235/qgames/bela/bela_large.html
http://www.100kas.com/games/theprimes/theprimes_large.html.


Tested on latest:
 Safari
 Chrome
 Mozilla

Macos: Snow Leopard 10.6.8
Hw: Macbook Pro


Trace log:

basic: Native library liblibEGL.jnilib not found
basic: JNLP2ClassLoader.findClass: demos.gears.Gears: try again ..
basic: JNLP2ClassLoader.getPermissions() ..
security: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: jpicertstore.cert.getkeystore
security: No timestamping info available
security: Cannot find jurisdiction list file
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment session certificate store
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
security: JAVAWS AppPolicy Permission requested for: http://jogamp.org/deployment/webstart/newt.all.jar
basic: JNLP2ClassLoader.getPermissions() X
GearsApplet: init() - end
basic: Applet initialized
basic: Removed progress listener: null
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
GearsApplet: start() - begin
GearsApplet: start() - end
basic: Applet started
basic: Told clients applet is started
Gears: Init: AWT-GLCanvas[Realized true,
	jogamp.opengl.macosx.cgl.MacOSXOnscreenCGLDrawable,
	Realized true,
	Factory   jogamp.opengl.macosx.cgl.awt.MacOSXAWTCGLDrawableFactory@3717ee94,
	handle    0x1001f7f30,
	Drawable size 600x400,
	AWT pos 0/0, size 600x400,
	visible true,
	AWTGraphicsConfiguration[AWTGraphicsScreen[AWTGraphicsDevice[type AWT[subType null], connection \Display0, unitID 0, awtDevice CGraphicsDevice[screen=0], handle 0x0], idx 0],
	chosen    GLCaps[on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2]],
	requested GLCaps[on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2]],
	apple.awt.CGraphicsConfig@56609959[dev=CGraphicsDevice[screen=0],pixfmt=0],
	encapsulated MacOSXCGLGraphicsConfiguration[DefaultGraphicsScreen[MacOSXGraphicsDevice[type MacOSX, connection decon, unitID 0, handle 0x0], idx 0],
	chosen    GLCaps[on-scr, rgba 8/8/8/8, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2]],
	requested GLCaps[on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2]]]]]
Chosen GLCapabilities: GLCaps[on-scr, rgba 8/8/8/0, opaque, accum-rgba 0/0/0/0, dp/st/ms: 16/0/0, dbl, mono  , hw, GLProfile[GL2/GL2]]
INIT GL IS: jogamp.opengl.gl4.GL4bcImpl
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: NVIDIA GeForce 9400M OpenGL Engine
GL_VERSION: 2.1 NVIDIA-1.6.36
basic: JNLP2ClassLoader.findClass: demos.gears.Gears$GearsMouseAdapter: try again ..
Gears: Reshape: 0/0 600x400
Comment 1 Wade Walker 2011-08-31 21:48:21 CEST
This bug is known for Chrome and Firefox (see https://jogamp.org/bugzilla/show_bug.cgi?id=497). It has also appeared on Safari as of version 5.1, when they switched to Plugin2.
Comment 2 Sven Gothel 2011-11-18 08:33:46 CET
This will be delivered w/ RC4, see JOGL branch osx_jawt_calayers. Builds are coming up soon.