[Qt-interest] UI Interaction Freezing when using QGraphicsView - How to Debug?
Josiah Bryan
jbryan at productiveconcepts.com
Sat Sep 19 02:24:39 CEST 2009
Josiah Bryan wrote:
...
> Its a rather extreem freeze - in fact, even the system mouse freezes
> (under gdb, when not running in gdb, mouse doesn't freeze but unrelated
> apps still do, like the charts in gkrellm.)
...
Alright, it took 4+ hours, but I narrowed it down to the attached test
case.
To reproduce:
- Build and run
- Attempt to drag any rectangle, even by a small amount.
- Repeat until system becomes unresponsive (mouse freezes, other
programs freeze.)
On my system (specs below), the program freezes within 1 - 5 mouse
interactions (drags.) This is with the both cores hovering around 5 -
10% load before mouse interaction following program launch. RAM is
around 1.5GB free at time of tests, disk usage minimal (~64K/sec xfer
load.) No other graphic intensive programs running - email, terminals,
KWrite, etc. No other opengl programs (that I know of) - certainly no 3D
programs.
System info:
Running with 4GB RAM on an Intel(R) Core(TM)2 Duo CPU, both cores
running at 3.00GHz. Graphics card is a Quadro NVS 290 (PCIe card) with
256 MB RAM.
X -version reports:
X Window System Version 1.3.0
Release Date: 19 April 2007
X Protocol Version 11, Revision 0, Release 1.3
Build Operating System: Fedora Core 7 Red Hat, Inc.
Current Operating System: Linux josiah-desktop.pci.local 2.6.23.9-85.fc8
#1 SMP Fri Dec 7 15:49:59 EST 2007 i686
Build Date: 17 October 2007
Build ID: xorg-x11-server 1.3.0.0-33.fc8
NVidia control center reports under "OpenGL/GLX Information", heading
"Server GLX Information", that the vendor is NVIDIA, version 1.4, with
the following extensions:
GLX_EXT_visual_info
GLX_EXT_visual_rating
GLX_SGIX_fbconfig
GLX_SGIX_pbuffer
GLX_SGI_video_sync
GLX_SGI_swap_control
GLX_EXT_texture_from_pixmap
GLX_ARB_multisample
GLX_NV_float_buffer
GLX_ARB_fbconfig_float
GLX_EXT_framebuffer_sRGB
Tested on XP - not able to reproduce there. No other linux machines
tested yet. Will test my home system this evening (CentOS 5.2, dual
head, etc.)
Anyone able to reproduce or offer tips on fixing? Anyone at trolltech
able to comment?
Thanks in advance.
-josiah
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.cpp
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090918/ece9d376/attachment.pl
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: problem_test.pro
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090918/ece9d376/attachment-0001.pl
More information about the Qt-interest-old
mailing list