light-themes make the system slow and laggy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
light-themes (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: light-themes
Steps to reproduce:
1. Have an nvidia card and binary driver (probably)
2. Run glxgears (with or without vsync)
3. Open some other windows, any programs will do.
4. Click in a window that isn't focused.
At this point you'll see glxgears (and the whole desktop) freeze for about 1 second. The the new window starts working
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: light-themes 0.1.8.13
ProcVersionSign
Uname: Linux 2.6.38-8-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Apr 23 19:05:12 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110422)
PackageArchitec
ProcEnviron:
LANGUAGE=en_GB:en
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: light-themes
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: patch |
Changed in light-themes (Ubuntu): | |
status: | Confirmed → Fix Released |
Here is a video demonstrating the problem: http:// www.youtube. com/watch? v=NOpwdUwyNys
I recorded this video on my mobile phone so the quality is a bit low, sorry about that. But I wanted to faithfully capture the speed and I figured a desktop recorder might prevent me from doing that.
So, first I switch between two windows while using Ambiance. Notice that the gears stop moving for about a second while I do this. In fact, the whole display of the computer freezes up during this time.
Next, I minimize/restore a window. Notice that the animation barely even shows because it is so laggy, and again the whole display freezes up.
Next I switch to clearlooks theme and repeat the tests, and no noticable delay is observed.
Also note that glxgears is running in a frankly tiny window and is locked to vsync so it only renders 60 frames per second. This should use a minimal amount of resources. It certainly shouldn't cause this much lag. If vsync is disabled glxgears hits 6000 fps. Also note that the lag increases when more graphically intensive software is running, but is always significantly worse with light-themes than with any other theme.
I suspected that the issue was caused by the huge drop shadows of light-themes so I attempted to disable them by editing the theme XML file setting the radius to 0 as follows:
<shadow radius="0" opacity="0.75" color="#abde4f" x_offset="1" y_offset="4"/>
However this did not make any difference to the speed.