Bug 21588 - Blur compiz plugin: 1/10 of normal framerate
Summary: Blur compiz plugin: 1/10 of normal framerate
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Ian Romanick
QA Contact: Xorg Project Team
Keywords: NEEDINFO
Depends on:
Reported: 2009-05-06 01:20 UTC by Nicolò Chieffo
Modified: 2009-07-16 00:56 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Nicolò Chieffo 2009-05-06 01:20:01 UTC
I'm running ubuntu, and I have these packages installed:
libdrm-intel1                          2.4.5-0ubuntu4
xserver-xorg-video-intel               2:2.6.3-0ubuntu11
libgl1-mesa-dri                        7.4-0ubuntu5
compiz                                 1:0.8.2-0ubuntu10

And my graphic card is an intel x4500hd:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

Normally (I misured it using the benchmark plugin) I have a framerate of more or less 100fps.
After enabling the blur plugin (in all its configurations, but I prefer the gaussian blur because it looks better) the framerate drops to 17fps.

I have to add that everything works (the blur plugin does not cause artifacts, and it actually blurs something, for instance the notify-osd popup, but not the metacity titlebar when it's transparent)

How can I help?
Comment 1 Gordon Jin 2009-05-06 01:42:48 UTC
seems similar to bug#21579, but this one says no artefact.
Comment 2 Nicolò Chieffo 2009-05-06 01:47:01 UTC
Exactly. I don't know, they might be duplicates, and the artifact may only be present with the reporter's video card, which is a different model
Comment 3 Eric Anholt 2009-05-15 11:05:25 UTC
I finally reproduced it on my system.  It's triggering a CopyTexSubImage SW fallback.
Comment 4 Eric Anholt 2009-07-02 19:15:08 UTC
OK, now I can't reproduce it again with:
- start compiz
- run ccsm
- check "blur windows"
- click "blur windows"
- check "focus blur"
- select "gaussian blur"
- drag windows around on top of other blurred windows.

Are you still having this problem with Mesa master?  Can you provide details on how to reproduce if so?
Comment 5 Nicolò Chieffo 2009-07-02 23:53:37 UTC
I'm running on mesa master and also drm master, with also intel xorg git master.
I will now test if this bug is still present on my video card
Comment 6 Nicolò Chieffo 2009-07-03 00:03:45 UTC
Actually what causes the problem is gnome-terminal.
Normally I can drag windows over firefox at 55 fps (exactly the same as without the blur plugin), but try to open a terminal.
Even without moving it, the frame rate drops to 15fps.
Now minimize it, and you ave back your 60fps.

What's wring with gnome-terminal?? 
I have configured it with a solid white background color
Comment 7 Eric Anholt 2009-07-15 17:26:46 UTC
Reproduced the problem again, then fixed it:

commit 0dc700850acb81c7088ab740959441521f8d38d9
Author: Eric Anholt <eric@anholt.net>
Date:   Thu Jul 9 18:02:42 2009 -0700

    intel: Partially fix fallback detection for glCopyTexSubImage.
Comment 8 Nicolò Chieffo 2009-07-16 00:56:25 UTC
Great! thanks!

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.