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

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

Windows® 8 Pro (64-bit)
 
 

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

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

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

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

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

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

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

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

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 for2: Enable Direct2D and Hardware Acceleration in Mozilla Firefox
Thread Forum
I cant enable direct draw acceleration Graphic Cards
Firefox GPU Hardware Acceleration - Turn On or Off Tutorials
Solved Cannot Enable Hardware Acceleration On IE9 Browsers & Mail
Disable/Re-enable Sound Acceleration possible..? Sound & Audio
Firefox 4 beta 4 features hardware acceleration Browsers & Mail
Firefox 3.6.6 & Direct2D ? Browsers & Mail
Firefox 3.7 gets Direct2D support. 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 03:28 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33