Bug 461

Summary: Offscreen rendering does not support supersampling
Product: [JogAmp] Jogl Reporter: Owen Dimond <odimond>
Component: openglAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal CC: wwalker3
Priority: ---    
Version: 2   
Hardware: All   
OS: windows   
Type: --- SCM Refs:
5d18d6b57f7d9d92a9f568e20beb64a6d44de25a
Workaround: ---
Attachments: Example application demonstrating the issue
etc\test.bat output
stdout with JOGL debug flags enabled

Description Owen Dimond 2011-01-21 18:34:06 CET
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.
Comment 1 Owen Dimond 2011-01-21 18:34:53 CET
Created attachment 219 [details]
etc\test.bat output
Comment 2 Owen Dimond 2011-01-21 18:35:46 CET
Created attachment 220 [details]
stdout with JOGL debug flags enabled
Comment 3 Wade Walker 2011-01-25 17:54:01 CET
The sample works on CentOS 5.4 x86_64; seems like this may be Windows-only.
Comment 4 Wade Walker 2011-01-25 18:15:24 CET
Confirmed bug on Windows XP 32-bit, Java 1.6.0_23-b05, nvidia GeForce FX 5200, driver 6.14.11.7519.
Comment 5 Wade Walker 2011-01-26 23:40:53 CET
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.
Comment 6 Sven Gothel 2011-02-05 02:55:44 CET
commit 5d18d6b57f7d9d92a9f568e20beb64a6d44de25a
Author: Sven Gothel <sgothel@jausoft.com>
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.