(Ubuntu Hardy, Xorg, Firefox) xorg using CPU heavily while visiting blogger.com with Firefox

Bug #180055 reported by Felix Rabe
This bug report is a duplicate of:  Bug #38131: Firefox causes massive Xorg CPU usage. Edit Remove
4
Affects Status Importance Assigned to Milestone
Mozilla Firefox
Confirmed
Undecided
Unassigned
X.Org X server
Invalid
Undecided
Unassigned
firefox (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

By following the following steps, Xorg CPU usage goes to somewhere between 50% and 90%, reducing system responsiveness to the point of unusability.

* Start Ubuntu and Gnome.
* Start Firefox.
* (Watch using 'top'.)
* Go to https://www.blogger.com/start with Firefox.

Expected: The system to remain usably responsive.

Workaround: Open a new tab in Firefox or close the tab with blogger.com.

System: Ubuntu Hardy Alpha 2 (upgraded from A.1) with IA32 1.8 GHz CPU, 384 MB RAM, >4-year-old laptop.

Graphics: nVidia Corporation NV17 [GeForce4 420 Go 32M] - uses free 'nv' driver w/o Compiz (couldn't get nvidia driver to work yet because of lacking Xorg.conf).

Revision history for this message
Felix Rabe (public-felixrabe) wrote :

... a sane amount of applications (3 or 4 open windows).

(Btw I typed Ctrl-V in an unrelated window that was "always on top", strangely causing this bug report to be sent before I had it ready.)

Revision history for this message
Felix Rabe (public-felixrabe) wrote :

Sorry, totally wrong description.

I just now observed that this CPU spike only happens when I have https://www.blogger.com/start (the German version) open in Firefox (2.0.0.10). I guess it's a Firefox <-> Xorg (<-> Compiz) problem. As I only opened this page after upgrading Compiz, this problem is most likely NOT related to Compiz at all.

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Thank you for your bug report.
Can you please give more information? For example: does this happen only when FireFox is started? What does the command `top` say?

Changed in xorg-server:
assignee: nobody → andrea-bs
status: New → Incomplete
Changed in firefox:
assignee: nobody → andrea-bs
status: New → Incomplete
Revision history for this message
Felix Rabe (public-felixrabe) wrote :

Thanks for your quick response.

For this run here, I only had Gnome + Terminal (bash+top only) + Firefox (blogger only) running.

At first, on loading the page, firefox-bin went to about 50%, then this:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 8691 root 20 0 70908 14m 6932 R 78.8 3.8 0:11.12 Xorg
 9034 fr 20 0 174m 47m 23m S 7.6 12.6 0:08.12 firefox-bin

Then Xorg started going from about 50% to about 90% while firefox-bin remained constant:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 8691 root 20 0 71644 14m 7184 R 89.8 3.9 0:37.35 Xorg
 9034 fr 20 0 175m 48m 23m S 8.0 12.8 0:12.59 firefox-bin

This is with https://www.blogger.com/start on the visible tab. As soon as I open another tab in Firefox, e.g. by typing Ctrl-T to open a new tab, the CPU is immediately freed from the heavy Xorg load and I can work normally:

  PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
 9034 fr 20 0 176m 49m 23m S 8.0 13.1 0:35.62 firefox-bin
 8691 root 20 0 71900 15m 7352 S 4.0 4.0 1:42.45 Xorg

Revision history for this message
Felix Rabe (public-felixrabe) wrote :

Sorry for the mess, here we go again:

Thanks for your quick response.

For this run here, I only had Gnome + Terminal (bash+top only) + Firefox (blogger only) running.

At first, on loading the page, firefox-bin went to about 50%, then this:

··PID·USER······PR··NI··VIRT··RES··SHR·S·%CPU·%MEM····TIME+··COMMAND
·8691·root······20···0·70908··14m·6932·R·78.8··3.8···0:11.12·Xorg
·9034·fr········20···0··174m··47m··23m·S··7.6·12.6···0:08.12·firefox-bin

Then Xorg started going from about 50% to about 90% while firefox-bin remained constant:

··PID·USER······PR··NI··VIRT··RES··SHR·S·%CPU·%MEM····TIME+··COMMAND
·8691·root······20···0·71644··14m·7184·R·89.8··3.9···0:37.35·Xorg
·9034·fr········20···0··175m··48m··23m·S··8.0·12.8···0:12.59·firefox-bin

This is with https://www.blogger.com/start on the visible tab. As soon as I open another tab in Firefox, e.g. by typing Ctrl-T to open a new tab, the CPU is immediately freed from the heavy Xorg load and I can work normally:

··PID·USER······PR··NI··VIRT··RES··SHR·S·%CPU·%MEM····TIME+··COMMAND
·9034·fr········20···0··176m··49m··23m·S··8.0·13.1···0:35.62·firefox-bin
·8691·root······20···0·71900··15m·7352·S··4.0··4.0···1:42.45·Xorg

Changed in xorg-server:
assignee: andrea-bs → nobody
status: Incomplete → Invalid
Revision history for this message
Felix Rabe (public-felixrabe) wrote :

And yes, this CPU usage today only happened with that website open.

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Thank you.
Can you tell me also which OS are you using?

Revision history for this message
Andrea Corbellini (andrea.corbellini) wrote :

Sorry, I didn't read the bug summary :)

Changed in firefox:
assignee: andrea-bs → nobody
status: Incomplete → New
description: updated
description: updated
Revision history for this message
Travis Watkins (amaranth) wrote :

The original comment says this happens without Compiz.

Revision history for this message
Alexander Sack (asac) wrote : Re: [Bug 180055] Re: (Ubuntu Hardy, Xorg, Firefox) xorg using CPU heavily while visiting blogger.com with Firefox

On Tue, Jan 08, 2008 at 10:46:12PM -0000, Travis Watkins wrote:
> The original comment says this happens without Compiz.
>
> ** Changed in: firefox (Ubuntu)
> Sourcepackagename: compiz => firefox
>

try to start firefox from the command line without pango:

export MOZ_DISABLE_PANGO=1
firefox

does it improve the performance for you?

 status incomplete

 - Alexander

Revision history for this message
Alexander Sack (asac) wrote :

On Tue, Jan 08, 2008 at 10:46:12PM -0000, Travis Watkins wrote:
> The original comment says this happens without Compiz.
>
> ** Changed in: firefox (Ubuntu)
> Sourcepackagename: compiz => firefox
>

 affects ubuntu/firefox
 status incomplete

 - Alexander

Changed in firefox:
status: New → Incomplete
status: New → Incomplete
Revision history for this message
The Devil Is A Squirrel (justanotheradress) wrote :

I have this too with this website: www.xwiki.org

It seems "boxes" slowing down the whole thing. I can see that in gmail while composing a new email (and only then) too.

NVIDIA 8400, 169.07
2GB RAM
Core 2 Duo 2 GHZ

Revision history for this message
Felix Rabe (public-felixrabe) wrote :

In response to: https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/180055/comments/10

fr@fr-laptop:~$ export MOZ_DISABLE_PANGO=1
fr@fr-laptop:~$ firefox

No change at all. I'm writing in that firefox process now. Having Blogger open in the current tab keeps Xorg CPU usage high as documented, even when I have Firefox minimized.

The xwiki.org page does cause Xorg CPU usage to go as high as Blogger during loading stage or when changing window size, but it is tame when kept minimized and/or its size unchanged.

I suspect some JavaScript code might cause this, but that's my uninformed opinion (after all, it's Xorg using CPU) and to be taken with a (few) grain(s) of salt.

Revision history for this message
Jonathan Ernst (jonathan.ernst) wrote :

I have the same issue on my laptop with both radeonhd and fglrx so it's not driver related.

It seems to be related to pango maybe ?

When opening for example gnome-system-monitor, do you have the same issue ? (I do)

Revision history for this message
Dana_r (danarea) wrote :

I can confirm this behaviour on Hardy A6 w/ Ubuntu 2.6.24-12.22-generic and xorg 7.3+10ubuntu7
It doesn't appear to be so much caused by Firefox, rather applications that have animation (Banner and ticker on the Blogger page, as well as the resource page In System Monitor). This behaviour occurs with and without compiz running.

Revision history for this message
Dana_r (danarea) wrote :

Although Jonathan reports the problem with an ATI card, I'm using nvidia-glx-new 169.12+2.6.24.11-12.31

Changed in firefox:
status: Incomplete → Confirmed
status: Incomplete → Confirmed
Revision history for this message
Alexander Sack (asac) wrote :
  • unnamed Edit (827 bytes, application/pgp-signature; name="signature.asc")

On Fri, Apr 25, 2008 at 08:04:28PM -0000, Andrea Corbellini wrote:
> ** Changed in: firefox (Ubuntu)
> Status: Incomplete => Confirmed
>
> ** Changed in: firefox
> Status: Incomplete => Confirmed
>

 affects ubuntu/firefox
 status wontfix

firefox 2 wont receive any non-critical fixes anymore. if you still
have this issue, please add xulrunner-1.9 to this bug.

 - Alexander

Changed in firefox:
status: Confirmed → Won't Fix
Revision history for this message
alizio (alizio) wrote :

Hi,

Check if you have a Zoom [Ctrl + Mouse wheel] on the Website.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.