Scrolling content below a transparant GIF is really cpu intensive

RESOLVED FIXED

Status

()

Firefox
General
RESOLVED FIXED
13 years ago
6 years ago

People

(Reporter: Ger Teunis, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(2 attachments)

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041021 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041021 Firefox/1.0

Scrolling content behind a transparant GIF is a real slowdown.
My AthlonXP 3200+ with a Geforce5200 has around 90% CPU load.
Performed a testcase with the same site and a transparant PNG> much faster and
acceptable scrolling speeds!


Reproducible: Always
Steps to Reproduce:
1. Go to above mentioned URL
2. Scroll vertically
3.

Actual Results:  
Real slow scrolling and a high CPU load.

Expected Results:  
normal page scrolling speed.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041029
Firefox/1.0RC1

->WFM
(Reporter)

Comment 2

13 years ago
Noticably slow are the scrolls when clicking on the arrows of the verical
scrollbar (and visible on high resolutions).
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050106
Firefox/1.0+

Confirming

I didn't have the problem before because I used 16-bit color i/o 32-bit
It makes a huge difference in performace for me (32-it a lot worse)
Actually to me it seems that the scrolling content behind the transparant GIF
scrolls at the speed it should do; it's the rest of the page outside the GIF
that is lagging whilst scrolling.
(Reporter)

Comment 5

13 years ago
Updated the URL (previous URL disappeared)

Comment 6

13 years ago
(In reply to comment #3)
> Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050106
> Firefox/1.0+
> 
> Confirming
> 
> I didn't have the problem before because I used 16-bit color i/o 32-bit
> It makes a huge difference in performace for me (32-it a lot worse)

This bug may be related to bug 201198.

And checking 201198 with various driver / monitor depths is an excellent idea! 
I'll try it....
Depends on: 201198

Comment 7

13 years ago
Created attachment 176565 [details]
Excellent example of bug 284986

Sorry to be slightly off topic, but the URL for this bug turns out to be the
best example of bug 284986 I've seen yet.  I'd bet they're related.

Comment 8

13 years ago
Could this bug be related to  Bug 64401, Extremely slow performance with png
background??

Comment 9

13 years ago
There's been some progress on transparent GIF speeds recently, and it may have
effected this bug.

Reporter, can you try this with a latest nightly?
(Reporter)

Comment 10

13 years ago
(In reply to comment #9)
> There's been some progress on transparent GIF speeds recently, and it may have
> effected this bug.
> 
> Reporter, can you try this with a latest nightly?

It is fixed here, no more high CPU load during scroll.

But I'm still seeing the problem described in comment#4: content in the
transparant gif 'box' is painted before the rest of the content. But that
problem may not be in the scope of this bug?
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050310
Firefox/1.0+
Scrolling up and down quickly with smoothscroll enabled and an MS Intellimouse 4
I can get my CPU usage up to 83%, but at all times scrolling is fast and
responsive. Win2ksp4, axp2400, nvidia gf4ti4400 (71.84), 32bit colour, 1152x864

Updated

13 years ago
No longer depends on: 201198
(Reporter)

Comment 12

11 years ago
Created attachment 231749 [details]
New testcase, previous not working anymore
Assignee: bross2 → nobody

Comment 13

7 years ago
This is WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10
can be marked as dupe of bug #595671

Comment 15

6 years ago
FIXED as per comment 13 and comment 14.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.