Closed Bug 607386 Opened 13 years ago Closed 12 years ago

[d2d]Tab switching/Page Scrolling very laggy


(Core :: Graphics, defect)

Windows 7
Not set



Tracking Status
blocking2.0 --- -


(Reporter: mozilla, Assigned: bas.schouten)




(Keywords: perf, Whiteboard: [snappy:p2])

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv: Gecko/20101012 Firefox/3.6.11
Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101026 Firefox/4.0b8pre

When opening tabs and then the selected page. When viewing the selected page, try changing tabs or scrolling the page. As you can see tab switching and page scrolling with the mousewheel is very laggy. Scrolling using the scrollbar is fine.

I've started to see a few ads on various websites cause this lagging behaviour.

Reproducible: Always

Steps to Reproduce:
1.Make sure no ads are blocked when testing (Clean profile)
2.Open 2 or more tabs
3.Visit the URL test case provided and stay on the page
4.While page is loading try scrolling with the mouse wheel or changing tabs
Actual Results:  
Tab switching and page scrolling is very laggy

Expected Results:  
Tab switching and page scrolling via mouse wheel should not lag

This setup the tab switching and page scrolling are fine:
Direct2D Enabled false
DirectWrite Enabled false
GPU Accelerated Windows 0/1

This setup causes the lagging:
Direct2D Enabled true
DirectWrite Enabled true
GPU Accelerated Windows 1/1 Direct3D 10
blocking2.0: --- → ?
Confirmed. I see this also on some sites with flash objects on them. Makes the whole UI feeling sluggish, even the higlighting in the menus is lagging behind the mouse cursor.
CC the graphics guys.
Blocks: slowui
Ever confirmed: true
Hardware: x86 → All
Version: unspecified → Trunk
If I set gfx.direct2d.disabled = true , the problem does not happen.

Adapter Description: ATI Radeon HD 4300/4500 Series
Vendor ID: 1002
Device ID: 954f
Adapter RAM: 512
Adapter Drivers: aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64
Driver Version; 8.782.0.0
Driver Date: 9-28-2010
Direct2D Enabled: false <<
DirectWrite Enabled: true
GPU Accelerated Windows: 1/1 Direct3D 9
Summary: Tab switching/Page Scrolling very laggy → [d2d]Tab switching/Page Scrolling very laggy
Bas, can you route this to the proper component?
blocking2.0: ? → final+
Keywords: perf
Whiteboard: [tsnap]
Tab switching is fine here, but scrolling on is horribly slow. I have smooth scrolling off.

Adapter Description NVIDIA GeForce 7950 GT
Vendor ID 10de
Device ID 0295
Adapter RAM 256
Adapter Drivers nvd3dumx,nvd3dum
Driver Version
Driver Date 7-9-2010
Direct2D Enabled false
DirectWrite Enabled false
GPU Accelerated Windows 1/1 Direct3D 9
This bug is about D2D being enabled causing the slowdown with flash ads, and actually about D3D9 or D3D10, interesting.
Component: General → Graphics
Product: Firefox → Core
QA Contact: general → thebes
Presumably this is similar to several of the D2D/flash with wmode transparent performance issues.
Assignee: nobody → bas.schouten
If this didn't get a lot better in recent nightlies, please renominate. Async plugin layers should have made this a lot better.
blocking2.0: final+ → -
Whiteboard: [tsnap] → [snappy]
Whiteboard: [snappy] → [snappy:p2]
I don't see the issue with Firefox 10. Could someone confirm so we can close as WORKSFORME?
 No problem too.Confirmed on Firefox9.0beta and later.
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.