Created attachment 218 [details]
Example application demonstrating the issue
We are seeing the following exception: "pbuffer creation error: Couldn't find a suitable pixel format" when enabling supersampling with an offscreen buffer. We do not see the problem using JOGL1.
Created attachment 219 [details]
Created attachment 220 [details]
stdout with JOGL debug flags enabled
The sample works on CentOS 5.4 x86_64; seems like this may be Windows-only.
Confirmed bug on Windows XP 32-bit, Java 1.6.0_23-b05, nvidia GeForce FX 5200, driver 188.8.131.5219.
I created a unit test for this issue and submitted it as a pull request at https://github.com/sgothel/jogl/pull/21.
I also tested this with JOGL 1.1.1a and confirmed that it works that way.
Author: Sven Gothel <firstname.lastname@example.org>
Date: Sat Feb 5 02:39:25 2011 +0100
Fix bug #461 on NV/Win (caps selection)
Allows TestBug461OffscreenSupersamplingSwingAWT to pass on NV/Win7.
Root cause was using the requested unfixed caps (onscreen, !pbuffer)
instead of the fixed ones.