PDA

View Full Version : Qt-based app crash display driver on Windows 7



grayfox
5th June 2011, 17:23
I am new to Qt and is still learning it, therefore I often create lots of small projects to try out different Qt features, one thing I notice is that with Qt Gui applications, often are just really simple ones with just a main window with menu bar and a status bar, when the main window being "first resized by dragging the frame's border", it will randomly crash the display driver

From the Windows event viewer, I got the following:
Display driver nvlddmkm stopped responding and has successfully recovered.

I had been learning Qt for just couple weeks, but this happen on me for a few times already, and as I recall, this happen when I was resizing the main window.

The visual behavior is as follow:
- launch a qt-based gui program
- app launch fine
- resize the main window by dragging the frame
- the screen freeze for a short period of time (2-4 seconds)
- the screen blanks, then restore
- a tray message is displayed telling me that the display driver was crash but restored

I am using the Qt 4.7.3 on Windows 7 64-bits, with a display card of NVIDIA GeForce GT 330M
Is it just me or this is a known issue?

squidge
5th June 2011, 17:26
It sounds like your graphics card is unstable, have you tried to download newer drivers for it?

grayfox
5th June 2011, 17:34
Yes I did, my display driver is up-to-date.