[Bug 59391] Konqueror makes X11 use CPU time even when minimized

Timothy Miller theosib at gmail.com
Thu Sep 7 19:01:18 UTC 2006


Public bug reported:

I'm not sure if you can assign a bug to two packages, but this is a bug
in both X11 and Konqueror.

Try this URL:

http://rock.mididb.com/beachboys/

Usually, on the right, there's this ad that flashes really annoyingly
and makes X11 and Konqueror eat lots of CPU.

When I minimize the window, I would expect two things:  (1) Konqueror
stops the animation because it knows the window is minimized, and (2)
X11 tosses out the drawing commands, because everything is clipped out
of the unmapped window.

If Konqueror is doing continuous XPutImage calls to a pixmap and then
copying them to the screen, I can see why X11 would eat CPU even for an
unmapped window.  This is why I have assigned the bug to Konqueror.
Well-behaved X clients should not rely on X to clip stuff they should
not be doing in the first place.

You may also want to look into why the animation is eating so much CPU
time when the window is NOT minimized.  I have an Athlon 2800+ and a
Radeon 9200 on AGP.  I'm using all open source drivers for the Radeon.
Here, X is using about 37% CPU, and Konqueror is using about 12%.  The
Konqueror CPU usage is, my guess, XPutImage (mostly X protocol
transport?).  The X CPU usage is probably X protocol transport plus the
copy of the image data over the AGP bus plus perhaps something to do
with an XCopyArea from a pixmap to the screen (even though that should
be accelerated by the drawing engine, unless all pixmaps live in host
memory, which would be scary).  [Note, I do have the MIT-SHM extension
enabled, so XPutImage SHOULD be fast, so I can't account for everything
that's going on here.]

** Affects: kdebase (Ubuntu)
     Importance: Untriaged
         Status: Unconfirmed

-- 
Konqueror makes X11 use CPU time even when minimized
https://launchpad.net/bugs/59391




More information about the kubuntu-bugs mailing list