[Qt-interest] UI Interaction Freezing when using QGraphicsView - How to Debug?

Josiah Bryan jbryan at productiveconcepts.com
Thu Sep 24 22:03:24 CEST 2009


Josiah Bryan wrote:
> David Boosalis wrote:
>> I ran your code on my Linux system which has an inferior cpu (AMD Athlon 
>> X2) and a cheap built in graphics card on motherboard.  Saw really flaky 
>> and randon behavior.  SOmetimes I saw what you saw, other times I 
>> started it and it ran ok, albeit very slot
[snip]
>> By the way, your code ran just as bad under Qt 4.6-tp1. 
>>
>> The code below ran very well. Maybe someone else can comment on how to 
>> tweek Messa or OpenGL, but heck if it this sensitive to the openGL 
>> driver might as well let Qt do the rendering and know it run adequately 
>> on any machine.   I hope someone  can diagnose the opengl issue here
[snip]

Any ideas on how to troublehsoot these QGLWidget problems? Anyone?

If it helps, I just ran the examples/opengl/pbuffers2 example and it 
exhibits the same kind of freezing - every 2 or 3 seconds the entire 
example (and system) freezes for ~4 seconds. (Mouse cursor still moves, 
no UI interaction possible during that "freeze.")  Both Qt 4.5 and 4.6 
do the "freeze".

** However **, the pbuffers example (bouncing cubes, spinning bg) works 
just fine - no UI freezing at all! What gives?? Any ideas?

-josiah






More information about the Qt-interest-old mailing list