Closed Bug 311694 Opened 19 years ago Closed 19 years ago

100% CPU usage when viewing pages with a large amount of animated images.

Categories

(Core :: Graphics: ImageLib, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: MetaLMilitiAESP, Assigned: pavlov)

References

()

Details

(Keywords: perf, testcase)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 Whenever I view this webpage: http://www.metaldev.net/firefox/bugs/render_lag/animation.html I get a massive amount of lag and CPU usage goes up to 100%, RAM stays the same. When using IE, the CPU usage stays at a constant 10%-30%. To prove that this is not due to Firefox's memory allocation problem yet a rendering problem, I've put up a page without animation, but with more images: http://www.metaldev.net/firefox/bugs/render_lag/no-animation.html Also, I'm sure whoever reads this can relate it to bug #242426, yet it's not the same. They have a very poor description, and the majority of the comments relates it to a memory allocation problem. Reproducible: Always Steps to Reproduce: 1. Open up Firefox. 2. Go to a page loaded with a large amount of animated images, or just this: http://www.metaldev.net/firefox/bugs/render_lag/animation.html 3. Enjoy the lag! Actual Results: Non-stop 100% CPU usage. Expected Results: ~10%-30% CPU usage like Internet Explorer. On my forums, I've posted this same problem. The majority of the users get the lag, but people using Linux don't. Some other people don't get the lag for reasons I can't explain.
*** This bug has been marked as a duplicate of 182544 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Only difference is, this one has a really good description and already more votes. This one will help out better than the other one.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
*** This bug has been marked as a duplicate of 182544 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → DUPLICATE
(In reply to comment #3) > > *** This bug has been marked as a duplicate of 182544 *** Are you kidding me? Don't you want some actual results, other than that 3 year old horribly un-descriptive topic wihout any votes? That's probably why this bug still isn't fixed, because people keep marking it as duplicated and linking to the other one.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
Also happens with current windows trunk build. It is the same bug, but marking dependent for now. What I just noticed, is that IE6 disables animation while the page is scrolling, maybe Mozilla should do the same.
Component: General → Layout
Depends on: 182544
Keywords: testcase
Product: Firefox → Core
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: perf
I'm using Ubuntu Linux: Hoary Headehog, using the latest version of mozilla-firefox on their apt-get repositorys, 1.0.7, and this bug is not there. I've talked to some other Linux users about this, and they seem to be getting 10%-20%, while I was getting 1%. However, when I was checking its processor usage, it was completely hidden, so that may have some influence.
Assignee: nobody → pavlov
Component: Layout → ImageLib
QA Contact: general
I'm getting around 20% on winxp with dual-core amd 3800+. Not much I'd say.
wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20051008 SeaMonkey/1.1a AthlonXP1600+, 512MB, Win98SE 1% CPU with non-animated page, and about 3% when animated was loaded in another tab. 10 Tabs in 1st window, about: in 2nd window. wfm Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.9a1) Gecko/20051001 Firefox/1.6a1 same computer, 2% Firefox CPU Usage, single window.
CPU usage is ~30% using Firefox1.5beta2. I'm running win2k, 650Mhz Pentium III, Matrox Millenium G400 32mb Armin, do you have NVidia graphics card? There are other bugs with NVidia graphics cards, images and performance.
I removed the Transparent Background option. Can you check how this animated image is doing for you?
If you have NVidia card, see comment #9 in a bug 293222.
Alright, the new NVidia drivers fixed it! If anyone else needs them, here's a direct link: http://downloads.guru3d.com/download.php?det=1209
Status: NEW → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
*** This bug has been marked as a duplicate of 293222 ***
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → DUPLICATE
Note: links don't longer refer to animated images. Note 2: actual problem fixed by nVidia driver update..
Resolution: DUPLICATE → FIXED
No code seems to have been checked in, so this was neither broken nor fixed (in terms of Mozilla). -> WORKSFORME
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: