Unable to enumerate pixel formats of window

This is an error someone received playing my game, unfortunately I don’t have any of the important information about their computer other than they have windows xp and nvidia geforce2 gts/geforce2.pro. Updated the drivers.

Anyone know what this might mean? I’m not in a position to test things heavily, but my theory is that maybe I’m setting the color depth too high or something like that. This code has worked on a few other machines without a problem, and I’ll be testing what I can hopefully tomorrow to try and nail the problem down. Also going to make her try to run a few of the jogl demo’s (didn’t occur to me until it was too late to try that).

net.java.games.jogl.GLException: Unable to enumerate pixel formats of window using wglGetPixelFormatAttribivARB
at net.java.games.jogl.impl.windows.WindowsGLContext.choosePixelFormatAn
dCreateContext(WindowsGLContext.java:378)
at net.java.games.jogl.impl.windows.WindowsOnscreenGLContext.cre

(some of the error missing here)

at java.awt.Container.validateTree(Unknown Source)
at java.awt.Container.validate(Unknown Source)
at java.awt.Window.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at Main.main(Main.java:88)

The exception shouldn’t have anything to do with the capabilities you requested. It is stating that it wasn’t possible to figure out how many pixel formats were available for the window in question. Do you have a test case that reproduces this problem? If so please file an issue.

Unfortunately this problem is only reproducable on one computer that I know of, which is in another state than I am in so it’s tedious work testing things. I got the base code from an example floating around of how to use JoGL. Below is the cleaned up portion of the code (mostly removed comments and stuff for size reasons). Originally I was setting some capabilities but really the defaults are suitable for me. The error happens on the Frame.setVisible(true) call.

/*********************/
Frame testFrame = new Frame(“foo”);
testFrame.setUndecorated(true);
GLCapabilities glCaps = new GLCapabilities();

GLCanvas canvas = GLDrawableFactory.getFactory().createGLCanvas( glCaps );

testFrame.add( canvas );
RenderingCanvas rendr = new RenderingCanvas(canvas);
canvas.addGLEventListener(rendr);
canvas.addKeyListener(rendr);
canvas.addMouseMotionListener(rendr);
canvas.addMouseListener(rendr);

testFrame.setVisible(true);
canvas.requestFocus();
/*********************/

Is there maybe some standard info that I should print to a file or something to help figure this out such as OpenGL version info and stuff like that? I don’t feel like I have enough information available to pinpoint the problem.