glBindFramebuffer not working

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

glBindFramebuffer not working

Alexandra
glBindFramebuffer hangs when I run jogl with the latest graphics drivers from NVIDIA. It doesn't hang and everything works fine with older graphics drivers.

I ported the dual depth peeling demo from nvidia from C++ to Java, using the latest jogl from jogamp:

http://developer.download.nvidia.com/SDK/10/opengl/samples.html
http://jogamp.org/deployment/autobuilds/master/jocl-b280-2011-02-11_17-44-48/

I have three different graphics cards/systems.

glBindFramebuffer works on my laptop running windows 7 64 bit with this NVIDIA card:
GE Force GTS 360M  I'm using 64-bit Java and 64-bit jogl.

glBindFramebuffer doesn't work on my desktop running windows XP 32-bit with this NVIDIA card:
Quadro FX 4800
if I use the latest drivers from NVIDIA. If I use an older driver:  190.38 it does work.

glBindFramebuffer  doesn't work on my desktop (windows XP 32-bit) NVIDIA card:
Ge Force 8800 GTS
if I use the latest drivers from NVIDIA. If I use this driver 190.62 for that card it does work.

I need to use the latest drivers from NVIDIA so I can use OpenCL / jocl.

I think this must be a bug in the jogl implementation from jogamp. I'd be happy to send my ported version of the dual depth peeling demo for testing if someone would help fix this bug.

Thanks!
Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Michael Bien
hello Alexandra,

could you provide a small testcase demonstrating this behavior?

btw it would be great if you would contribute the ported demo when its done :) You said its using jogl+jocl?

best regards,
michael
Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Sven Gothel
Administrator
In reply to this post by Alexandra
On Monday, February 14, 2011 03:57:56 Alexandra [via jogamp] wrote:
>
> glBindFramebuffer hangs when I run jogl with the latest graphics drivers from
> NVIDIA. It doesn't hang and everything works fine with older graphics
> drivers.

http://jogamp.org/deployment/webstart-next/jogl-demos/jogl-newt-applet-runner-fbcubes.html

works here .. hmm

~Sven
Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Wade Walker
Administrator
Sven's demo works on both my machines (Win 7 64-bit nvidia GeForce 8800 GTX driver version 260.99, and Win XP 32-bit ATI Mobility Radeon x300).
Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Alexandra
Thanks for the replies.

Sven's demo works on my laptop w/the Windows 7 64-bit nvidia GE Force GTS 360M.

It does NOT work on my desktop with Windows XP 32-bit and the Quadro FX 4800 with the latest drivers.

Can anyone else test Sven's demo on XP 32-bit with an nvidia card?
Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Alexandra
I just tried Sven's demo on my desktop with the Quadro running the nvidia driver 190.38. That's the driver where the glBindFramebuffer worked for me in the past...

On the Quadro with the latest drivers the demo hangs and only shows a black screen.
On the Quadro with the 190.38 driver the demo runs but the texture read from the FB and mapped onto the cube is corrupt.

... when I said the 190.38 driver ran in the past I forgot to mention that when I call glBindFramebuffer the first time I catch a GL_OUT_OF_MEMORY error, then I just call it again and everything works OK.

See this previous post: http://forum.jogamp.org/GL2-context-for-win-build-216-memory-in-build-209-tp1908947p1908947.html

If Sven added a try/catch around the first call to glBindFramebuffer in his demo I am confident it would run on my Quadro with the old 190.38 driver. I am also confident it won't run on my Quadro with the latest drivers.

So something with 32-bit and glBindFramebuffer on nvidia cards?

I can post an image of the incorrectly textured cube if that helps.

Thanks again.
Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Aron
Works:
Windows 7 64-bit Quadro FX 5600
Vista 64-bit Quadro FX 5600
XP 32-bit ATI Radeon HD 2600

FAILS:
Windows XP 32-bit Quadro FX 3000 (cube is black)
Laptop Windows XP 32-bit Quadro FX Go 1400 (cube is black)
Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Wade Walker
Administrator
In reply to this post by Alexandra
Sven's cube demo fails (runs, but the cube is black) on a Windows XP 32-bit with nvidia GeForce FX5200 (an old Dell Optiplex GX270 -- this is my go-to machine for finding JOGL bugs ). Driver version is 175.19 a.k.a 6.14.11.7519 (5/16/2008), which is the latest available for this machine. I'm trying to get one of these to add to our Hudson cluster.

Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Sven Gothel
Administrator
On Tuesday, February 15, 2011 16:02:31 Wade Walker [via jogamp] wrote:
>
> Sven's cube demo fails (runs, but the cube is black) on a Windows XP 32-bit
> with nvidia GeForce FX5200 (an old Dell Optiplex GX270 -- this is my go-to
> machine for finding JOGL bugs ). Driver version is 175.19 a.k.a 6.14.11.7519
> (5/16/2008), which is the latest available for this machine. I'm trying to
> get one of these to add to our Hudson cluster.
>

yup .. I will add a workaround of this:

++
... when I said the 190.38 driver ran in the past I forgot to mention that
when I call glBindFramebuffer the first time I catch a GL_OUT_OF_MEMORY
error, then I just call it again and everything works OK.

++

pimping up FBObject a bit ..

Thanks.

~Sven

Reply | Threaded
Open this post in threaded view
|

Re: glBindFramebuffer not working

Sven Gothel
Administrator
In reply to this post by Wade Walker
Added a bugreport to summarize this issue

https://jogamp.org/bugzilla/show_bug.cgi?id=495

Would be awesome to gather information if this bug is still and issue ..
and (if) .. how shall we handle it (workaround etc).

~Sven