Closed Bug 265610 Opened 20 years ago Closed 13 years ago

Scrolling content below a transparant GIF is really cpu intensive

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: g.teunis, Unassigned)

References

()

Details

Attachments

(2 files)

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
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.
Updated the URL (previous URL disappeared)
(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
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.
Could this bug be related to  Bug 64401, Extremely slow performance with png
background??
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?
(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
No longer depends on: 201198
Assignee: bross2 → nobody
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
FIXED as per comment 13 and comment 14.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: