"Test page for JOGL Applets" do NOT work on Mac OS X Snow Leopard

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"Test page for JOGL Applets" do NOT work on Mac OS X Snow Leopard

Jan Kolar
None of the test applets from the following page work on my Mac.

http://jogamp.org/deployment/jogamp-current/jogl-test-applets.html

Launching the test applications is associated with few seconds of absolute unresponsiveness of the whole computer - something that I have not experienced on this computer before. The Java Console pops up at first but then whole java process crashes/disappears without any message.

The only test that launched successfully after the few seconds of unresponsiveness is "JOGL Version Information" . The output is provided bellow.

Any hints?

--Jan


-- output bellow ----

Java Web Start 1.6.0_26
Using JRE version 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit Server VM

Platform: MACOS / Mac OS X 10.6.8 (os), x86_64 (arch) 24 cores
MachineDescription: runtimeValidated true, littleEndian true, 32Bit false, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    8 / 8
  int32   4 / 4, int64   8 / 8
  float   4 / 4, double  8 / 8, ldouble 16 / 16
  pointer 8 / 8, page    4096
Platform: Java Version: 1.6.0_26, VM: Java HotSpot(TM) 64-Bit Server VM, Runtime: Java(TM) SE Runtime Environment
Platform: Java Vendor: Apple Inc., http://www.apple.com/, is JavaSE: true
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: com.jogamp.common
Extension Name: com.jogamp.common
Specification Title: GlueGen Java Bindings Generator
Specification Vendor: JogAmp Community
Specification Version: 2.0
Implementation Title: GlueGen Run-Time
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.0-b33-20111219
Implementation Branch: rc
Implementation Commit: 013600318f24391cd6c8c541343c208736b5f4f4
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
Package: javax.media.opengl
Extension Name: javax.media.opengl
Specification Title: Java Bindings for OpenGL API Specification
Specification Vendor: JogAmp Community
Specification Version: 2.0
Implementation Title: Java Bindings for OpenGL Runtime Environment
Implementation Vendor: JogAmp Community
Implementation Vendor ID: com.jogamp
Implementation URL: http://jogamp.org/
Implementation Version: 2.0-b45-20111219
Implementation Branch: rc
Implementation Commit: 2f2b071d60f5b630989140b1ade49d648ad78c20
-----------------------------------------------------------------------------------------------------
VersionApplet: init() - end
VersionApplet: start() - begin
VersionApplet: start() - end
-----------------------------------------------------------------------------------------------------
MacOSXGraphicsDevice[type MacOSX, connection decon]: GLAvailability[Native[GL4bc false, GL4 false, GL3bc false, GL3 false, GL2 true[2.1 (compatibility profile, any, new)], GL2ES1 true, GLES1 false, GL2ES2 true, GLES2 false], Profiles[GLProfile[GL2ES2/GL2], GLProfile[GL2ES1/GL2], GLProfile[GL2/GL2], GLProfile[GL2/GL2], GLProfile[GL2GL3/GL2], , default GLProfile[GL2/GL2]]]
Swap Interval -1
GL Profile    GLProfile[GL2/GL2]
CTX VERSION   2.1 (compatibility profile, any, new) - 2.1 NVIDIA-1.6.37
GL            jogamp.opengl.gl4.GL4bcImpl@67032bc9
GL_VENDOR     NVIDIA Corporation
GL_VERSION    2.1 NVIDIA-1.6.37
GL_EXTENSIONS
              GL_ARB_transpose_matrix GL_ARB_vertex_program GL_ARB_vertex_blend GL_ARB_window_pos GL_ARB_shader_objects GL_ARB_vertex_shader GL_ARB_shading_language_100 GL_EXT_multi_draw_arrays GL_EXT_clip_volume_hint GL_EXT_rescale_normal GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_geometry_shader4 GL_EXT_transform_feedback GL_APPLE_client_storage GL_APPLE_specular_vector GL_APPLE_transform_hint GL_APPLE_packed_pixels GL_APPLE_fence GL_APPLE_vertex_array_object GL_APPLE_vertex_program_evaluators GL_APPLE_element_array GL_APPLE_flush_render GL_APPLE_aux_depth_stencil GL_NV_texgen_reflection GL_NV_light_max_exponent GL_IBM_rasterpos_clip GL_SGIS_generate_mipmap GL_ARB_imaging GL_ARB_point_parameters GL_ARB_texture_env_crossbar GL_ARB_texture_border_clamp GL_ARB_multitexture GL_ARB_texture_env_add GL_ARB_texture_cube_map GL_ARB_texture_env_dot3 GL_ARB_multisample GL_ARB_texture_env_combine GL_ARB_texture_compression GL_ARB_texture_mirrored_repeat GL_ARB_shadow GL_ARB_depth_texture GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_occlusion_query GL_ARB_point_sprite GL_ARB_texture_non_power_of_two GL_ARB_vertex_buffer_object GL_ARB_pixel_buffer_object GL_ARB_draw_buffers GL_ARB_shader_texture_lod GL_ARB_color_buffer_float GL_ARB_half_float_vertex GL_ARB_texture_rg GL_ARB_texture_compression_rgtc GL_ARB_framebuffer_object GL_EXT_compiled_vertex_array GL_EXT_draw_buffers2 GL_EXT_framebuffer_object GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_texture_rectangle GL_ARB_texture_rectangle GL_EXT_texture_env_add GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_texture_lod_bias GL_EXT_abgr GL_EXT_bgra GL_EXT_stencil_wrap GL_EXT_texture_filter_anisotropic GL_EXT_secondary_color GL_EXT_blend_func_separate GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_depth_bounds_test GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_sRGB GL_EXT_blend_equation_separate GL_EXT_texture_mirror_clamp GL_EXT_packed_depth_stencil GL_EXT_bindable_uniform GL_EXT_texture_integer GL_EXT_gpu_shader4 GL_EXT_framebuffer_sRGB GL_EXT_provoking_vertex GL_APPLE_flush_buffer_range GL_APPLE_ycbcr_422 GL_APPLE_rgb_422 GL_APPLE_vertex_array_range GL_APPLE_texture_range GL_APPLE_float_pixels GL_ATI_texture_float GL_ARB_texture_float GL_ARB_half_float_pixel GL_APPLE_pixel_buffer GL_APPLE_object_purgeable GL_NV_point_sprite GL_NV_blend_square GL_NV_fog_distance GL_NV_depth_clamp GL_NV_multisample_filter_hint GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NV_conditional_render GL_ATI_texture_mirror_once GL_ATI_texture_env_combine3 GL_ATI_separate_stencil GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_EXT_texture_array GL_EXT_vertex_array_bgra GL_ARB_instanced_arrays GL_ARB_depth_buffer_float GL_EXT_packed_float GL_EXT_texture_shared_exponent
GLX_EXTENSIONS
             
GLSL          true, shader-compiler: true
Reply | Threaded
Open this post in threaded view
|

Re: "Test page for JOGL Applets" do NOT work on Mac OS X Snow Leopard

Wade Walker
Administrator
Hi Jan,

I get the same results in OS X Lion 10.7.1 (on a MacBook Air with NVIDIA GeForce 320M). I think that the Mac browser plugin part of JOGL is still under heavy development to try comply with the new Plugin2 requirements. Hopefully Sven can update us soon about progress on that front.

Reply | Threaded
Open this post in threaded view
|

Re: "Test page for JOGL Applets" do NOT work on Mac OS X Snow Leopard

Sven Gothel
Administrator
On Sunday, January 01, 2012 01:18:50 AM Wade Walker [via jogamp] wrote:
>
> Hi Jan,
>
> I get the same results in OS X Lion 10.7.1 (on a MacBook Air with NVIDIA
> GeForce 320M). I think that the Mac browser plugin part of JOGL is still
> under heavy development to try comply with the new Plugin2 requirements.
> Hopefully Sven can update us soon about progress on that front.
>

Ok, so here we have the 'freeze' problem on 10.6.8 _and_ 10.7.1,
where the latter seems to be 'new'.
  https://jogamp.org/bugzilla/show_bug.cgi?id=533

Pls check your OSX 'Console' for the messages:
  NVDA(OpenGL): Channel exception! exception type = 0xd = GR: SW Notify Error
  NVDA(OpenGL): Channel timeout!
https://jogamp.org/bugzilla/show_bug.cgi?id=533#c3

If the above happens, .. I have no clue whats causing it
from the JOGL side. However, Apple/NV reply to this generic/general
known issue here (send back machine (RMA) to repair):
  http://www.insanelymac.com/forum/index.php?showtopic=244227
  http://support.apple.com/kb/TS4088

This happens with my old MBP as well, but I am very surprised this happens
with Wade's MacBook Air and the relative new NV 320M.
I guess the NV hardware issue was about some silicon heat/stress and cracks
reported a long time ago around 2008 or so (semiaccurate.com, search for 'bumpgate'):
  http://semiaccurate.com/2010/10/07/bumpgate-alternative-class-action/

But ofc I am not sure. All I know is that I have tried several different initialization sequences
while working on bug 533  on my defective MBP and nothing helped.
Sometime (cold boot) .. no freeze appears at first, but later on the freeze appears.

So the new additional behavior on your machine(s) are:
  - JOGL crashes after the freeze
  - freeze/crash happens on more modern NV 320M MB-Air

The last commit in regards OSX was:
  http://jogamp.org/git/?p=jogl.git;a=commit;h=04707d3c1c628d6bf493d6916621d5e34dfefc30
which is not yet condensed in a release yet and handles the sporadic 'crash' at JOGL shutdown.

I opened the bug 548 with the above knowledge (link to bug 533),
so we can continue analyzing this issue further ..
  https://jogamp.org/bugzilla/show_bug.cgi?id=548

On the other hand (ie OSX >=10.6 machines working), plugin2 works fine w/ NEWT and AWT.

~Sven