Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox keeps redrawing images

  • 6 replies
  • 4 have this problem
  • 1 view
  • Last reply by artscoop

more options

I have spotted a performance issue which seemed awfully odd at the beginning. On this page at least : http://designshack.net/articles/graphics/design-a-rockin-band-website The page was obviously idle, the blinking ads were disabled with AdBlock. However, the CPU usage remains constant and high (22-35% with xorg-ati drivers, 45-56% CPU with amd proprietary drivers, Radeon 7290 and AMD C70), and is worse when there are images in the viewport. Enabling the repainted areas highlight showed me that every image in the page was constantly redrawn (the full area). I found out that the DOM elements have a .gif background-image (a typical AJAX spinner set with CSS).

That is, even if I can't see the animation, Firefox keeps redrawing the entire container and hogs CPU. I don't know what Chrome does, but it correctly considers the area as not to be repainted, and saves CPU. Obviously visiting about:config and setting animation_mode to none sort of fixes the problem. But it's not a real solution. Have I missed something ? Does everyone have the same problem ?

I have spotted a performance issue which seemed awfully odd at the beginning. On this page at least : http://designshack.net/articles/graphics/design-a-rockin-band-website The page was obviously idle, the blinking ads were disabled with AdBlock. However, the CPU usage remains constant and high (22-35% with xorg-ati drivers, 45-56% CPU with amd proprietary drivers, Radeon 7290 and AMD C70), and is worse when there are images in the viewport. Enabling the repainted areas highlight showed me that every image in the page was constantly redrawn (the full area). I found out that the DOM elements have a .gif background-image (a typical AJAX spinner set with CSS). That is, even if I can't see the animation, Firefox keeps redrawing the entire container and hogs CPU. I don't know what Chrome does, but it correctly considers the area as not to be repainted, and saves CPU. Obviously visiting about:config and setting animation_mode to none sort of fixes the problem. But it's not a real solution. Have I missed something ? Does everyone have the same problem ?

All Replies (6)

more options

hello, when i visted the site under windows i didn't see this problem. can you test if it's reproducible when you create a new profile: Profile Manager - Create, remove or switch Firefox profiles

more options

Actually my Firefox 26.0 profile was reset and recreated the day before I submitted this ticket. (because Firefox 25 kept crashing after 5 seconds, I reset everything, profile and settings... to no avail. Then I installed Firefox 26.)

more options

a new profile would exclude the possibility that one of your addons is interfering - you could also run firefox in safemode to test that once...

Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems

more options

Tested in safe mode (had to reset the animation_mode setting too), and the images in the article content (those with background-image set to a .gif) are constantly repainted again. This behaviour has been consistently reproduced on Ubuntu 13.04 and 13.10, on four computers (with AMD, Intel and NVidia chips)

more options

ok, in this case i'd recommend filing a bug report at bugzilla.mozilla.org so that the issue will get the developers' attention.

more options

Will do. Thank you for your time on this, Philipp.