Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, June 2007
QGLFramebufferObject crashes


Message 1 in thread

Hello,

I am trying to use the QGLFramebufferObject in Qt4.2 and also Qt4.3, for
offscreen rendering. However I could not go as far as running the examples
as they segfault. I am on Suse10.2 using the Nvidia driver.

I realised there was an earlier posting with the exact same problem on Qt
4.2rc1 here:
http://lists.trolltech.com/qt4-preview-feedback/2006-09/thread00029-0.html

Has there been any solution to the problem ever since?

The details:
-The framebufferobject2 example crashes in the constructor of
QGLFramebufferObject. Precisely, in line 305 of qglframebufferobject.cpp
where it initialises the framebuffer object extention like this:
glGenFramebuffersEXT(1, &fbo);

-The program reports that I have the extention, so does glxinfo.

-There are three example projects with this problem: framebufferobject,
framebufferobject2 and 2dpainting, as reported in the original posting.

Any idea how to use this class after all?

Cheers
Peter

--
 [ signature omitted ] 

Message 2 in thread

peter.csakany@xxxxxxxx wrote:
> Hello,
> 
> I am trying to use the QGLFramebufferObject in Qt4.2 and also Qt4.3, for
> offscreen rendering. However I could not go as far as running the examples
> as they segfault. I am on Suse10.2 using the Nvidia driver.
> 
> I realised there was an earlier posting with the exact same problem on Qt
> 4.2rc1 here:
> http://lists.trolltech.com/qt4-preview-feedback/2006-09/thread00029-0.html
> 
> Has there been any solution to the problem ever since?
> 
> The details:
> -The framebufferobject2 example crashes in the constructor of
> QGLFramebufferObject. Precisely, in line 305 of qglframebufferobject.cpp
> where it initialises the framebuffer object extention like this:
> glGenFramebuffersEXT(1, &fbo);
> 
> -The program reports that I have the extention, so does glxinfo.
> 
> -There are three example projects with this problem: framebufferobject,
> framebufferobject2 and 2dpainting, as reported in the original posting.
> 
> Any idea how to use this class after all?

Which particular Nvidia chipset do you have? Have you tried their latest 
drivers (e.g. 100.14.09)? In most of the cases where these examples 
crash, it turns out to be a driver problem. Either a driver bug, or a 
driver misconfiguration, which is hard for us to work around or even 
reproduce without the exact same hardware setup.

Regards,
--
 [ signature omitted ]