Posted by
karelknoes on
Jul 05, 2012; 10:38am
URL: https://forum.jogamp.org/Archive-style-applet-embedding-triggers-pixel-format-17-error-tp4025423.html
To embed the applet, we are employing the "archive" tag method as suggested in the section "Normal-Applet using native-JAR lib loading",
http://jogamp.org/wiki/index.php/Using_JOGL_in_a_Java_applet.
This method is simple and elegant and works on almost all machines. Unfortunately, two windows xp machines don't play along (neither with java 6 nor 7, IE8 and chrome) and give the below exception. Both xp machines do work when the JNLP launcher is used to embed the applet in html, instead of the archive tag. I've attached the entire jogl debug log as well.
Any tips or hints pointing in the right direction are very welcome!
------------------------------
Exception in thread "AWT-EventQueue-2" javax.media.opengl.GLException: Unable to set pixel format 17 for device context 0xa5010ad3: error code 0
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfigurationFactory.updateGraphicsConfiguration(WindowsWGLGraphicsConfigurationFactory.java:205)
at jogamp.opengl.windows.wgl.WindowsWGLGraphicsConfiguration.updateGraphicsConfiguration(WindowsWGLGraphicsConfiguration.java:136)
at jogamp.opengl.windows.wgl.WindowsWGLDrawable.setRealizedImpl(WindowsWGLDrawable.java:70)
at jogamp.opengl.GLDrawableImpl.setRealized(GLDrawableImpl.java:163)
at javax.media.opengl.awt.GLCanvas$2.run(GLCanvas.java:571)
at jogamp.common.awt.AWTEDTExecutor.invoke(AWTEDTExecutor.java:49)
at javax.media.opengl.awt.GLCanvas.validateGLDrawable(GLCanvas.java:557)
at javax.media.opengl.awt.GLCanvas.display(GLCanvas.java:399)
at javax.media.opengl.awt.GLCanvas.paint(GLCanvas.java:482)
at sun.awt.RepaintArea.paintComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
error_message.txt.txt