Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Enable Direct2D and Hardware Acceleration in Mozilla Firefox

22 Aug 2010   #1
Capt.Jack Sparrow

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 
Enable Direct2D and Hardware Acceleration in Mozilla Firefox

A little background for those who wondering what is Direct2D and DirectWrite Hardware Acceleration

Direct2D :

Direct2Dis a hardware-accelerated, immediate-mode, 2-D graphics API that provides high performance and high-quality rendering for 2-D geometry, bitmaps, and text. The Direct2D API is designed to interoperate well with GDI, GDI+, and Direct3D.

DirectWrite Hardware Acceleration:

Today's applications must support high-quality text rendering, resolution-independent outline fonts, and full Unicode text and layout support. DirectWrite, a new DirectX API, provides these features and more:
  • A device-independent text layout system that improves text readability in documents and in UI.
  • High-quality, sub-pixel, ClearType text rendering that can use GDI, Direct2D, or application-specific rendering technology.
  • Hardware-accelerated text, when used with Direct2D.
  • Support for multi-format text.
  • Support for the advanced typography features of OpenType fonts.
  • Support for the layout and rendering of text in all supported languages.
  • GDI-compatible layout and rendering.
Note:
  1. This will only work with Firefox 4 Beta and later
  2. Some Add-ons may interfere with proper operation when they call a certain API prematurely. I had problems with ABP add-ons managed to find a link for developers build https://adblockplus.org/devbuilds/adblockplus/
  3. Your Video Drivers should be updated to the latest version.
Here is how:

1. If you're not using Firefox 4 Beta download it from here. Firefox 4 Beta

2. On the Address bar type in about:config then click on "I'll be careful. I promise!"

Enable Direct2D and Hardware Acceleration in Mozilla Firefox-1.png

3. Under Filter type in "gfx.font_rendering.directwrite.enabled" without Quotes and double click on it to change the value from False to True

Enable Direct2D and Hardware Acceleration in Mozilla Firefox-2.png

4. Then under Filter type in "mozilla.widget.render-mode" without Quotes and double click on it change the value from -1 to 6

Enable Direct2D and Hardware Acceleration in Mozilla Firefox-3.png

5. Now restart your browser to take effect

Hope this helps,
Captain




My System SpecsSystem Spec
.

22 Aug 2010   #2
Dinesh

Windows® 8 Pro (64-bit)
 
 

Well done Captain.
My System SpecsSystem Spec
22 Aug 2010   #3
Capt.Jack Sparrow

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 

Quote   Quote: Originally Posted by Dinesh View Post
Well done Captain.
Thanks Dinesh !
My System SpecsSystem Spec
.


22 Aug 2010   #4
severedsolo

Windows 7 Ultimate X64 SP1
 
 

Well done Capt

Just a little word of warning: this might just be me, but when I turn on HW acceleration in 4.0b it crashes my graphics driver, im using a Geforce 210 and the latest drivers. Just be warned
My System SpecsSystem Spec
22 Aug 2010   #5
Capt.Jack Sparrow

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 

Quote   Quote: Originally Posted by severedsolo View Post
Well done Capt

Just a little word of warning: this might just be me, but when I turn on HW acceleration in 4.0b it crashes my graphics driver, im using a Geforce 210 and the latest drivers. Just be warned
Thanks for the Heads up Martin. Maybe just check here https://bugzilla.mozilla.org/ if it's some kind of bug. I use nVidia Geforce 6100 and it works fine for me.
My System SpecsSystem Spec
22 Aug 2010   #6
MilesAhead

Windows 7 32 bit
 
 

edit: I dunno' what's goin' on for sure. All I can say is using these settings with 3.6.8 makes for fuzzy fonts. I don't see much in the way of "snappy" either with the Minefield beta 5 or this browser. It all seems the same to me.
My System SpecsSystem Spec
22 Aug 2010   #7
A Guy

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

Miles, from the Capt.'s post:

"Note:
This will only work with Firefox 4 Beta and later"

Good info Capt.

A Guy
My System SpecsSystem Spec
22 Aug 2010   #8
MilesAhead

Windows 7 32 bit
 
 

I installed the Minefield. Got about:support to show it was enabled. But I still didn't notice any difference. Then again, my systems don't have kick-ass GPUs either.

Just seems like if you set those settings on 3.6.8 you get grainy fonts. Just peculiar. Maybe it's the power of suggestion. FF has a tendency to do weird things with profiles. But iirc in a development version they claimed unless you set it up in isolation, the 2D rendering would not work no matter what settings you used. I dunno' anymore. I guess I've just lost patience playing with Minefield builds.
My System SpecsSystem Spec
03 Apr 2011   #9
tigresskat

windows xp pro
 
 
Enable Direct2D and Hardware Acceleration in Mozilla Firefox

hello Captain I did everything you said up until the mozilla.widget.render-mode which is not list in my about:config so why isn't it listed?
My System SpecsSystem Spec
04 Apr 2011   #10
severedsolo

Windows 7 Ultimate X64 SP1
 
 

Hi Tigresskat welcome to the forums,

FF4 now has Hardware Acceleration enabled by default, you should not need to change anything to get it working Cheers.
My System SpecsSystem Spec
Reply

 Enable Direct2D and Hardware Acceleration in Mozilla Firefox




Thread Tools





Similar help and support threads
Thread Forum
enable 3d hardware acceleration on hyper v
How do i enable 3d hardware acceleration on hyper v I cant find it on internet :'(
Virtualization
Firefox GPU Hardware Acceleration - Turn On or Off
How to Turn GPU "Hardware Acceleration" On or Off in Firefox In computing, hardware acceleration is the use of computer hardware to perform some function faster than is possible in software running on the general-purpose CPU. Examples of hardware acceleration include blitting acceleration...
Tutorials
Cannot Enable Hardware Acceleration On IE9
Hello again! I am having trouble enabling GPU hardware acceleration features on IE9. System is as follows: Windows 7 Home Premium 64 bit with all updates (including SP1) Intel Core 2 Duo Processor Intel GMA 4500MHD with latest drivers available from Windows Update Internet Explorer 9 Official...
Browsers & Mail
Firefox 4 beta 4 features hardware acceleration
More: Firefox 4 beta 4 features hardware acceleration ... but will be off by default | ZDNet
Browsers & Mail
Firefox 3.6.6 & Direct2D ?
hi ! anyone tested Direct2D in Firefox 3.6.6 ?
Browsers & Mail
Firefox 3.7 gets Direct2D support.
Firefox 3.7 gets GPU boost | News | PC Pro Direct2D: Hardware Rendering a Browser Discuss... EDIT: From what I've heard, scrolling is much smoother now, but text input is dead slow.
Browsers & Mail

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 09:12.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App