Enabling layers.prefer-opengl on Windows Topic is solved
Moderators: trava90, athenian200
Enabling layers.prefer-opengl on Windows
Does this work for anyone without crashing the browser on startup? I thought to try it out since I already use OpenGL for WebGL (ANGLE is disabled), so why not use it for other parts of the browser?
Re: Enabling layers.prefer-opengl on Windows
This will only work on some set-ups.
Using OpenGL for native 3D stuff is what it is primarily designed for, so using it for WebGL in defined, relatively small viewports (canvas areas) is obviously within its normal realm of operation.
Using it for layers acceleration for web content however is a whole different matter! That goes into layering (very) large textures in a 3D-to-2D fashion.
Using OpenGL for native 3D stuff is what it is primarily designed for, so using it for WebGL in defined, relatively small viewports (canvas areas) is obviously within its normal realm of operation.
Using it for layers acceleration for web content however is a whole different matter! That goes into layering (very) large textures in a 3D-to-2D fashion.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
Re: Enabling layers.prefer-opengl on Windows
The code inherited from Mozilla does seem to have some broken bits related to OpenGL on Windows specifically. I remember it worked years ago without crashing. Also, Firefox 56 and 72 both launch without crashing, though UI is glitchy in this case (this could actually be a very old issue predating the startup crash problem). Firefox 52 crashes at startup.
On Linux, there aren't any UI glitches. I made sure OpenGL acceleration was actually enabled by checking about:support page and also, the driver's stats overlay showed up in the top-left corner if enabled before launching the browser. It didn't seem to improve performance, it was actually a bit slower (NVIDIA 440.xx). On the slightly related note, Mozilla still blocks NVIDIA's proprietary driver when it comes to their WebRender.
I tested with Basilisk.
Maybe the startup crash in one version and glitchy UI in another are related. Curious on what kind of setup it works properly.
On Linux, there aren't any UI glitches. I made sure OpenGL acceleration was actually enabled by checking about:support page and also, the driver's stats overlay showed up in the top-left corner if enabled before launching the browser. It didn't seem to improve performance, it was actually a bit slower (NVIDIA 440.xx). On the slightly related note, Mozilla still blocks NVIDIA's proprietary driver when it comes to their WebRender.
I tested with Basilisk.
Maybe the startup crash in one version and glitchy UI in another are related. Curious on what kind of setup it works properly.
Re: Enabling layers.prefer-opengl on Windows
I'm asking if OpenGL layers acceleration could be get to work properly on Windows. The way it behaves, it doesn't give the impression of it being the driver issue.
Re: Enabling layers.prefer-opengl on Windows
I doubt it and we really don't support it nor did Mozilla of the time. I see no reason to anyway since DX is quite capable and first party on the Windows.
Re: Enabling layers.prefer-opengl on Windows
Extremely unlikely. It's been unused, un-exercised and stale/unmaintained Mozilla code for years. This by itself would probably be months of work to get working properly, and we simply don't support it beyond "experimental". if it works for you, great. If it doesn't, too bad and use the default.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite