Login  Register

Re: JOGL X11 Error On "GLProfile.getDefault();"

Posted by meltbox360 on Mar 14, 2013; 5:09pm
URL: https://forum.jogamp.org/JOGL-X11-Error-On-GLProfile-getDefault-tp4028611p4028649.html

Here is my test log:

/usr/bin/java
java version "1.7.0_15"
OpenJDK Runtime Environment (IcedTea7 2.3.7) (7u15-2.3.7-0ubuntu1~12.10.1)
OpenJDK Server VM (build 23.7-b01, mixed mode)
LIBXCB_ALLOW_SLOPPY_LOCK:
LIBGL_DRIVERS_PATH:
LIBGL_DEBUG:
java
-----------------------------------------------------------------------------------------------------
Platform: LINUX / Linux 3.5.0-25-generic (os), i386 (arch), GENERIC_ABI, 2 cores
MachineDescription: runtimeValidated true, littleEndian true, 32Bit true, primitive size / alignment:
  int8    1 / 1, int16   2 / 2
  int     4 / 4, long    4 / 4
  int32   4 / 4, int64   8 / 4
  float   4 / 4, double  8 / 4, ldouble 12 / 4
  pointer 4 / 4, page    4096
Platform: Java Version: 1.7.0_15, VM: OpenJDK Server VM, Runtime: OpenJDK Runtime Environment
Platform: Java Vendor: Oracle Corporation, http://java.oracle.com/, is JavaSE: true, AWT enabled: 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-b52-20121101
Implementation Branch: rc
Implementation Commit: d430657cfd1f21885f3fdebebe6f0a49b1c5cd13
-----------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------
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-b66-20121101
Implementation Branch: rc
Implementation Commit: 502847f59ef01c78a85e4ee5453a09d9b83d9a5e
-----------------------------------------------------------------------------------------------------
Info: Nativewindow X11 Error: 1 - BadRequest (invalid request code or no such operation), dpy 0x8830a760, id 17, # 16: 153:19 Unknown
Info: Nativewindow X11 Error: 1 - BadRequest (invalid request code or no such operation), dpy 0x8830a760, id 17, # 17: 153:19 Unknown
Info: Nativewindow X11 Error: 1 - BadRequest (invalid request code or no such operation), dpy 0x8830a760, id 17, # 18: 153:14 Unknown
Info: Nativewindow X11 Error: 1 - BadRequest (invalid request code or no such operation), dpy 0x8830a760, id 17, # 20: 153:19 Unknown
Info: Nativewindow X11 Error: 1 - BadRequest (invalid request code or no such operation), dpy 0x8830a760, id 17, # 21: 153:19 Unknown
Info: Nativewindow X11 Error: 1 - BadRequest (invalid request code or no such operation), dpy 0x8830a760, id 17, # 22: 153:14 Unknown
Default Profiles on device X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x0, ResourceToolkitLock[obj 0x17a7d15, isOwner false, <aa1da5, 80463c>[count 0, qsz 0, owner <NULL>]]]
        Native
                GL4bc false
                GL4 false
                GL3bc false
                GL3 false
                GL2 false
                GL2ES1 false
                GLES1 false
                GL2ES2 false
                GLES2 false
        Profiles
                default n/a


Desktop Capabilities:
        none

EGL Capabilities:
        none


Exception in thread "main" javax.media.opengl.GLException: Profile GL_DEFAULT is not available on X11GraphicsDevice[type .x11, connection :0.0, unitID 0, handle 0x0, ResourceToolkitLock[obj 0x17a7d15, isOwner false, <aa1da5, 80463c>[count 0, qsz 0, owner <NULL>]]], but: []
        at javax.media.opengl.GLProfile.get(GLProfile.java:771)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:555)
        at javax.media.opengl.GLProfile.getDefault(GLProfile.java:566)
        at com.jogamp.newt.opengl.GLWindow.main(GLWindow.java:779)
X11Util.Display: Shutdown (JVM shutdown: true, open (no close attempt): 1/1, reusable (open, marked uncloseable): 0, pending (open in creation order): 1)
X11Util: Open X11 Display Connections: 1
X11Util: Open[0]: NamedX11Display[:0.0, 0xffffffff8830a760, refCount 1, unCloseable false]