PDA

View Full Version : QGLWidget, ATI & NVIDIA



pir
12th September 2006, 10:06
Hi!

I have a Qt program that uses OpenGL in a QGLWidget. It works fine on my computer, which uses Suse10.1 and ATI Radeon9000 card. When the program is compiled and run on a computer that uses Suse9.1 with a Nvidia Quadro4 card, the OpenGL part dont update properly. It only updates the drawing buffer when the window is minimized and expanded.

Any tips on where to search?

pir

wysota
12th September 2006, 10:09
Do other OpenGL applications behave properly? What about Qt OpenGL demos?

pir
12th September 2006, 10:38
Yes, the OpenGL examples that come with the Qt installation works fine.

The other parts of the program work fine also. That is, the window menus and stuff like that. It is the QGLWidget that freezes. So if I spin the object nothing happens untill I minimize the window and then maximize it. When this is done the widget is able to update the buffer.
So there seems to be some updating problem.

Is there any problem with g++3.3 and Qt? I use g++ 4.something and the other computer uses g++3.3.

I'm completely NULL on where to look.

pir

wysota
12th September 2006, 12:06
I'd start with debugging the application, for example trying to determine if updateGL() is called when it is needed. Maybe something is "optimising" your applications and causes that incorrect behaviour.