PDA

View Full Version : System does not support OpenGL/framebuffer objects



elsheikhmh
12th April 2007, 23:57
Hi,
I'm running: Windows 2000 & Qt 4.2.3 Open Source.
When I try to execute some OpenGL examples included with Qt, I get the following error:
"System does not support OpenGL/framebuffer objects".
Reading the code, I figured out that my systems asserts both
!QGLFormat::hasOpenGL() || !QGLFramebufferObject::hasOpenGLFramebufferObjects (). Both of them are false.
What can I do to correct this?
Also if I comment that, I get the picture which is somehow distorted (like skew) also some other drawings are displayed like "two". I don't know the name of that visual illness in English. You see two pictures of everything. I'll attach an image.

http://elsheikhmh.googlepages.com/Capture_194.gif

Please note that this happens only with code that has frame buffer.

What is the solution for that?

Best Regards,
-Mustafa

wysota
13th April 2007, 09:38
Do other (non-Qt) OpenGL based programs work correctly for you?

elsheikhmh
13th April 2007, 14:12
yes. i tried this code from NeHe lessons (the Visual C++ Code)
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=02

also, some other Qt OpenGL programs work fine (the code without any reference to frame buffer)

-Mustafa

wysota
13th April 2007, 14:16
What video card do you have?

elsheikhmh
13th April 2007, 15:15
Sis 661FX built-in 32MB

wysota
13th April 2007, 16:16
I'm not an expert on this but I think it doesn't have support for framebuffers. Please also try some advanced benchmarking tool like 3DMark. It will probably tell you your video driver doesn't support shaders, framebuffers and/or some other things. Are you sure QGLFormat::hasOpenGL() returns false for you?