Archive style applet embedding triggers "pixel format 17" error

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

Archive style applet embedding triggers "pixel format 17" error

karelknoes
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
Reply | Threaded
Open this post in threaded view
|

Re: Archive style applet embedding triggers "pixel format 17" error

gouessej
Administrator
Hi

Thank you for pointing that. Please write a complete bug report with all required information if you want it to be fixed. Have you tried to reproduce this bug with Firefox too?
Julien Gouesse | Personal blog | Website
Reply | Threaded
Open this post in threaded view
|

Re: Archive style applet embedding triggers "pixel format 17" error

karelknoes
Reply | Threaded
Open this post in threaded view
|

Re: Archive style applet embedding triggers "pixel format 17" error

karelknoes
Updating the drivers of both video cards (ATI Xpress 200 and Xpress 600 Mobile)to the latest versions (10.2) solved the problem.

The "problem" with this fix is that Windows XP doesn't recognize these drivers as valid versions. They need to be manually selected and installed while ignoring warnings by Windows.