How to enable OpenGL compositing in Firefox for a smoother browsing experience with less CPU usage


(kepszlok) #1

For some reasons, Firefox still not using OpenGL for compositing by default, and that can result sluggish scrolling and / or high CPU usage in many places, like youtube. Meanwhile, compositing runs on the GPU in Windows by default.

To check compositing status of your Firefox, just type about:support into the address bar and press enter. Scroll down to “Graphics” section, where you will see this:

  • Compositing Basic

That means no GPU acceleration… But you can activate it simply!

Type about:config into the address bar, and press enter. Then search for this key:

  • layers.acceleration.force-enabled

Switch it’s value to true, by double clicking on it. Then close this tab and restart the browser.

Now you can see this on about:support:

  • Compositing OpenGL

And that’s all. You shoud feel the difference by now.

Here’s to our work done in 2018, and a great 2019!
(Neofytos Kolokotronis) #2

Cool, thanks, I didn’t know about this.

Does it make sense to turn it on even when a system has a CPU with an embedded GPU?

(kepszlok) #3

I think so. Even Intel’s graphics decelerators have enough power to help the rendering.


We shoud consider to set this key true by default in the package.