Direct2D/DirectWrite Accelerated Rendering For Firefox

Discussion about official Mozilla Firefox builds
Locked
Harsh86
Posts: 94
Joined: August 23rd, 2004, 4:34 am

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by Harsh86 »

Gandharva wrote:HWA causes massive CPU load when hitting "Bookmarks" button in "Menu Bar" repeatedly. There is also noticable lag in bookmark menus. As soon as I disable HWA, CPU load is gone when hitting "Bookmarks" button and also no more lag.


I was having this issue on a work machine I had a few months ago but cant reproduce it any more on my new work laptop. Before you file the bug, you should try to profile this issue with the Gecko Profiler, It will really help the developers understand and fix the issue and I've noticed they're less likely to ignore your bug. If you need any help doing this then contact me via PM. :)
MrX1980
Posts: 133
Joined: September 21st, 2010, 1:01 am
Location: Germany, NRW, Ruhr district

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by MrX1980 »

Info:
A platform update is available for Windows 7 SP1 and Windows Server 2008 R2 SP1

This update improves the features and performance of the following components:

Direct2D
DirectWrite
Direct3D
Windows Imaging Component (WIC)
Windows Advanced Rasterization Platform (WARP)
Windows Animation Manager (WAM)
XPS Document API
H.264 Video Decoder
JPEG XR codec
mds67
Posts: 33
Joined: August 24th, 2010, 12:14 pm

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by mds67 »

With this platform update I got graphics corruption on the interface, when mouse move over it. Tested with new profile, the same.

http://www.send-picture.com/upload/Sem% ... ADtulo.png

With Wardware acceleration deactivated works well

Can anyone confirm?

Specs:
Win7
Graphics: Intel HD4500, with latest drivers.
fxtech
Posts: 199
Joined: October 13th, 2008, 4:55 pm

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by fxtech »

nope for me , same configuration HD4000 and win7



Application Basics

Name
Firefox

Version
19.0a1

User Agent
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:19.0) Gecko/19.0 Firefox/19.0

Build Configuration

about:buildconfig

Extensions

Name

Version

Enabled

ID

Adblock Plus
2.1.2
true
{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}

Download YouTube Videos as MP4 and FLV
1.4.9
true
{b9bfaf1c-a63f-47cd-8b9a-29526ced9060}

Update Scanner
3.1.10
true
{c07d1a49-9894-49ff-a594-38960ede8fb9}

Important Modified Preferences

Name

Value

accessibility.typeaheadfind.flashBar
0

browser.cache.disk.capacity
512000

browser.cache.disk.max_entry_size
8192

browser.cache.disk.parent_directory
C:\Temp\Browser cache

browser.cache.disk.smart_size.enabled
false

browser.cache.disk.smart_size.first_run
false

browser.cache.disk.smart_size.use_old_max
false

browser.places.smartBookmarksVersion
4

browser.privatebrowsing.dont_prompt_on_enter
true

browser.sessionstore.restore_on_demand
false

browser.startup.homepage
https:\\www.google.com

browser.startup.homepage_override.buildID
20121109030635

browser.startup.homepage_override.mstone
19.0a1

browser.tabs.animate
false

browser.tabs.warnOnClose
false

browser.tabs.warnOnOpen
false

dom.mozApps.runUpdate
false

dom.mozApps.used
true

extensions.lastAppVersion
19.0a1

general.autoScroll
false

gfx.color_management.mode
0

gfx.direct3d.prefer_10_1
true

network.cookie.prefsMigrated
true

network.dns.disableIPv6
true

network.dnsCacheEntries
2048

network.dnsCacheExpiration
3600

network.http.pipelining
true

network.http.pipelining.aggressive
true

network.http.pipelining.ssl
true

places.database.lastMaintenance
1353002765

places.history.expiration.transient_current_max_pages
104858

plugin.disable_full_page_plugin_for_types
application/pdf

privacy.donottrackheader.enabled
true

privacy.sanitize.migrateFx3Prefs
true

security.warn_viewing_mixed
false

Graphics

Adapter Description
Intel(R) HD Graphics 4000

Adapter Drivers
igdumd64 igd10umd64 igd10umd64 igdumd32 igd10umd32 igd10umd32

Adapter RAM
Unknown

ClearType Parameters
Gamma: 2200 Pixel Structure: RGB ClearType Level: 100 Enhanced Contrast: 200

Device ID
0x0162

Direct2D Enabled
true

DirectWrite Enabled
true (6.2.9200.16440)

Driver Date
9-26-2012

Driver Version
9.17.10.2867

GPU #2 Active
false

GPU Accelerated Windows
1/1 Direct3D 10

Vendor ID
0x8086

WebGL Renderer
Google Inc. -- ANGLE (Intel(R) HD Graphics 4000)

AzureCanvasBackend
direct2d

AzureContentBackend
direct2d

AzureFallbackCanvasBackend
cairo

JavaScript

Incremental GC
true

Accessibility

Activated
false

Prevent Accessibility
0

Library Versions

Expected minimum version

Version in use

NSPR
4.9.3
4.9.3

NSS
3.14.0.1 Basic ECC
3.14.0.1 Basic ECC

NSSSMIME
3.14.0.1 Basic ECC
3.14.0.1 Basic ECC

NSSSSL
3.14.0.1 Basic ECC
3.14.0.1 Basic ECC

NSSUTIL
3.14.0.1
3.14.0.1
mds67
Posts: 33
Joined: August 24th, 2010, 12:14 pm

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by mds67 »

My graphics card:
4500MHD (post it wrongly)
TheVisitor
Posts: 5469
Joined: May 13th, 2012, 10:43 am

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by TheVisitor »

mds67 wrote:With this platform update I got graphics corruption on the interface, when mouse move over it. Tested with new profile, the same.

http://www.send-picture.com/upload/Sem% ... ADtulo.png

With Wardware acceleration deactivated works well

Can anyone confirm?

Specs:
Win7
Graphics: Intel HD4500, with latest drivers.


Yes, same here:
http://i.imgur.com/Eze8k.jpg
The from NeoWin site, does not do it all the time, just occasionsally and so far no steps-to-repo, it just happens.

HWA on here, HD3200 AMD VideoChip on mobo
mds67
Posts: 33
Joined: August 24th, 2010, 12:14 pm

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by mds67 »

Yes, sometimes it happens on some pages.

On the the back button I have corruption when overing over it.
M.Silenus
Posts: 29
Joined: December 9th, 2004, 2:32 am

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by M.Silenus »

Mark342
Posts: 277
Joined: September 14th, 2010, 4:15 am

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by Mark342 »

This canvas particle demo is really slow for me with Direct2D enabled in both Firefox 17 and the current Nightly build.

Results after doing nothing but clicking "Play":
With hardware acceleration enabled, it starts out at 60fps and then gets slower really quickly. Eventually, it stops decreasing at about 8-9fps.
If I disable hardware acceleration, I get a constant 60fps.

Can anyone confirm?
Srap
Posts: 290
Joined: July 18th, 2012, 11:57 am

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by Srap »

Mark342 wrote:This canvas particle demo is really slow for me with Direct2D enabled in both Firefox 17 and the current Nightly build.

Results after doing nothing but clicking "Play":
With hardware acceleration enabled, it starts out at 60fps and then gets slower really quickly. Eventually, it stops decreasing at about 8-9fps.
If I disable hardware acceleration, I get a constant 60fps.

Can anyone confirm?

Same here on a clean profile.
Sorry for my bad English. Even if there wasn't a mistake.
User avatar
greenknight
Posts: 6187
Joined: December 13th, 2004, 2:28 am
Location: In the shadow of Mount St. Helens

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by greenknight »

Mark342 wrote:This canvas particle demo is really slow for me with Direct2D enabled in both Firefox 17 and the current Nightly build.

Results after doing nothing but clicking "Play":
With hardware acceleration enabled, it starts out at 60fps and then gets slower really quickly. Eventually, it stops decreasing at about 8-9fps.
If I disable hardware acceleration, I get a constant 60fps.

Can anyone confirm?
For me it starts at 55, stabilizes at 25-26. HWA is on. Not quite as bad, but a definite slowdown.
Win 10 Pro x64, AMD Ryzen 5 5600G 6 core, 3900 MHz (4450 Turbo), AMD Radeon Vega (integrated graphics). 16GB DDR4-3200, Firefox 124.0.1, Developer Edition 125.0b5, Nightly 126.0a1.
User avatar
_Alexander
Posts: 1197
Joined: April 1st, 2010, 2:24 pm
Location: Your augmented reality

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by _Alexander »

M.Silenus wrote:There is already a bug for this: https://bugzilla.mozilla.org/show_bug.cgi?id=812695

That is horrible, it effects graphics and text. Baffling that this is not Critical / Blocking with bas schouten assigned to it.
http://magneticpudding.com/ <- My Blog
i5 3570k @ 4.5 Ghz / NV 660 / 32GB DDR3 / 1080p LCD / SSD (120 + 180) / W8 ||| Atom N270 / NV ION / 3GB DDR3 / SSD / 1366x768 / W8
User avatar
malliz
Folder@Home
Posts: 43796
Joined: December 7th, 2002, 4:34 am
Location: Australia

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by malliz »

Shock horror. Hera announces another edge case is critical
What sort of man would put a known criminal in charge of a major branch of government? Apart from, say, the average voter.
"Terry Pratchett"
User avatar
Grantius
Posts: 1545
Joined: June 28th, 2011, 4:14 pm
Contact:

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by Grantius »

_Alexander wrote:
M.Silenus wrote:There is already a bug for this: https://bugzilla.mozilla.org/show_bug.cgi?id=812695

That is horrible, it effects graphics and text. Baffling that this is not Critical / Blocking with bas schouten assigned to it.


its only affecting people who have installed the IE10 preview on Windows 7 - so not affecting too many people.
Last edited by Grantius on November 23rd, 2012, 4:25 pm, edited 1 time in total.
Micro gaming box: AMD A10-7800 APU, 8gb RAM M350 ITX case (size of a book), Windows 10/Ubuntu
Tablet/Laptop: Asus Transformer T100, Intel Atom 2GB RAM, Windows 10 x86
Mobile:Xiaomi Redmi Note 3 Pro
User avatar
_Alexander
Posts: 1197
Joined: April 1st, 2010, 2:24 pm
Location: Your augmented reality

Re: Direct2D/DirectWrite Accelerated Rendering For Firefox

Post by _Alexander »

malliz wrote:Shock horror. Hera announces another edge case is critical

Windows 8 and an up-to-date Windows 7 are edge cases?
http://magneticpudding.com/ <- My Blog
i5 3570k @ 4.5 Ghz / NV 660 / 32GB DDR3 / 1080p LCD / SSD (120 + 180) / W8 ||| Atom N270 / NV ION / 3GB DDR3 / SSD / 1366x768 / W8
Locked