Bug 149 - Swing GLPanel fails with "unexpected async reply" while AWT GLCanvas works
Summary: Swing GLPanel fails with "unexpected async reply" while AWT GLCanvas works
Status: VERIFIED WORKSFORME
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All linux
: P2 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2005-03-22 05:44 CET by Sven Gothel
Modified: 2010-03-24 07:47 CET (History)
0 users

See Also:
Type: DEFECT
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:47:40 CET


---- Reported by ac378_ 2005-03-22 05:44:32 ----

First my environment:
* hardware:
  - /cpu/cpuinfo = AMD Athlon XP 2200+
  - lspci = ATI R300 ND [Radeon 9700 Pro]
* software
  - mdk 10
  - uname -sr = Linux 2.6.3-7mdk-i686-up-4GB
  - java -version = 
java version "1.4.2_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-b05)
Java HotSpot(TM) Client VM (build 1.4.2_07-b05, mixed mode)
  - jogl = 1.1b10 - February 27
  - XFree86 = 4.3.0.1

  - glxinfo =
name of display: :0.0
display: :0  screen: 0
direct rendering: No
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
client glx vendor string: ATI
client glx version string: 1.3
client glx extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context,
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_ATI_pixel_format_float,
    GLX_ATI_render_texture
GLX extensions:
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_import_context
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.3 Mesa 4.0.4
OpenGL extensions:
    GL_ARB_imaging, GL_ARB_multitexture, GL_ARB_texture_border_clamp,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
    GL_ARB_texture_env_combine, GL_ARB_texture_env_dot3,
    GL_ARB_transpose_matrix, GL_EXT_abgr, GL_EXT_blend_color,
    GL_EXT_blend_minmax, GL_EXT_blend_subtract, GL_EXT_texture_env_add,
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
    GL_EXT_texture_lod_bias
glu version: 1.3
glu extensions:
    GLU_EXT_nurbs_tessellator, GLU_EXT_object_space_tess
 

So when i try the demos (from jogl, same version):
* demos.gears.Gears: OK

CANVAS GL IS: net.java.games.jogl.impl.x11.X11GLImpl
CANVAS GLU IS: net.java.games.jogl.impl.GLUImpl
INIT GL IS: net.java.games.jogl.impl.x11.X11GLImpl
GL_VENDOR: Mesa project: www.mesa3d.org
GL_RENDERER: Mesa GLX Indirect
GL_VERSION: 1.3 Mesa 4.0.4
 
glLoadTransposeMatrixfARB() supported: true

* demos.jgears.JGears: app freeze

DRAWABLE GL IS: net.java.games.jogl.impl.x11.X11GLImpl
DRAWABLE GLU IS: net.java.games.jogl.impl.GLUImpl
Xlib: unexpected async reply (sequence 0x1c9)!      *****************
INIT GL IS: net.java.games.jogl.impl.x11.X11GLImpl
GL_VENDOR: Mesa project: www.mesa3d.org
GL_RENDERER: Mesa GLX Indirect
GL_VERSION: 1.3 Mesa 4.0.4
 
 
zsh: suspended  ./start-demo.sh
 $ kill -9 %1



You already have the source code of the demos.



---- Additional Comments From kbr 2005-05-12 13:20:38 ----

I don't have a Linux ATI machine available to test with (the newest ATI drivers
don't work on my machine, and I lost my ancient copy of their working drivers).
All of the demos are working correctly on Solaris/x86 and Linux/x86 with NVidia
drivers. Please retest with JOGL 1.1 b11, which has some more AWT locking code
around GLX calls, and reopen the bug if it is still present.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:47 EDT  ---

This bug was previously known as _bug_ 149 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=149