Bug 22935

Summary: QGears in GL mode causes desktop to "stutter"
Product: xorg Reporter: Clemens Eisserer <linuxhippy>
Component: Driver/intelAssignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium Keywords: NEEDINFO
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Xorg log none

Description Clemens Eisserer 2009-07-24 07:13:45 UTC
Created attachment 27979 [details]
Xorg log

When running QGears in gl mode ("./qgears GEARS -gl") it seems to occupy the GPU so much that other 2D applications get too little GPU time to be able to respond as usual.
The desktop is hardly useable with this OpenGL app running.

QGears2 is a small Qt based benchmark and can be downloaded here:
http://ktown.kde.org/~zrusin/examples/qgears2.tar.bz2

My system:
- Fedora rawhide
- Xorg 1.6.99.1
- Kernel 2.6.31-0.42.rc2.fc12.i586
- Intel 2.8
Comment 1 Eric Anholt 2009-10-23 15:14:24 UTC
qgears does try to fill the GPU without stopping, so things will be less responsive than not running it.  However, I wonder if you might be running a Mesa without the frame throttling fix in 7.6, since you didn't mention what version of Mesa you're using.  My desktop is reasonably responsive when running this demo.

commit 0828579a658af01a64b5e699175dc9bbbedcd685
Author: Eric Anholt <eric@anholt.net>
Date:   Tue Jul 21 11:23:18 2009 -0700

    intel: Wait on the last swapbuffers to complete before queuing a new one.
Comment 2 Clemens Eisserer 2009-10-31 11:55:40 UTC
Yes, seems to work fine on latest fedora rawhide.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.