Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  GL_FRAMEBUFFER_UNSUPPORTED caused by Firefox  (Read 550 times)
0 Members and 2 Guests are viewing this topic.
Offline kitfox

Full Member
**

Posts: 135


Java games rock!


« on: 2011-06-29 17:37:25 »

I'm getting a strange FBO error that seems to be caused by other applications (Firefox, Photoshop) affecting my JOGL app.  I have code in which I create an FBO and render to it.  Most of the time this works.  However, if I have Firefox or Photoshop running in the background, sometimes it won't.  If I kill these programs, my JOGL app magically starts working again.

This is probabaly an NVidia bug.  A poster on another forum suggested a solution that involved recreating the context, but as far as I know this is impossible in JOGL:

http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=298569#Post298569

I'm using a Quadro FX 570/PCI/SSE2 graphics card with the latest drivers and JSR 231.
Offline lhkbob

JGO Neuromancer
****

Posts: 1174
Medals: 35



« Reply #1 on: 2011-06-29 18:15:53 »

GLCanvas has the methods createContext(GLContext shareWith) and setContext(GLContext) that could be used to make a new GLContext.  Have you experienced this problem in an application or an applet?  The last post on the opengl forum sounds like creating a new context only solves the problem if the window has been destroyed for some reason.

Offline kitfox

Full Member
**

Posts: 135


Java games rock!


« Reply #2 on: 2011-06-29 18:37:13 »

This is an application.  I'm using a GLJPanel since I need it to fit into a Swing framework (it sits inside a JSplitPane).  Every now and then I'll switch it to a GLCanvas just to see if it makes a difference, but a GLCanvas does not play nicely with my other Swing components. 

I'll do some searching on creating my own GLContext.  Maybe that will help.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.078 seconds with 20 queries.