On Thu, 26 Aug 2021 21:23:00 -0500
Well, it would appear (*) that Firefox 92.0 finally fixed webrender, at
least for Linux!
(I.e., wolfgang, you probably don't need to do anything now that 92.0
has been released. But, you can run MotionMark1.1 to check. Sorry that
I didn't reply sooner, but I've been really busy lately. Ditto to
stalled conversations with James, Paul, and others.)
https://browserbench.org/MotionMark1.1/
The visual quality of the rendering with MotionMark for webrender is now
on par with hardware/opengl. The quality is good enough that it almost
makes me suspect that Firefox might be falling back and using hardware,
somehow, or at least using it.
The old setting to enable opengl has been disabled, should be deleted
from about:config, and a new equivalent setting with a different name
has been added for Firefox 92.0.
The old setting that has been disabled and should be deleted from
about:config is:
gfx.webrender.force.disabled
This new setting that has been added as it's replacement:
gfx.webrender.force-legacy-layers
To test OpenGL you must change
gfx.webrender.force-legacy-layers
from false to true and restart Firefox.
opengl webrender
MotionMark 78.07 62.98
multiply 1.00 1.00
canvas arcs 377.68 181.02
leaves 94.76 133.57
paths 1378.52 648.23
canvas lines 1169.99 567.70
focus 32.70 26.92
images 42.57 40.46
design 23.79 8.93
suits 56.38 180.25
Huge improvements for webrender all around, with "leaves" and "suits"
outperforming hardware/opengl. The "canvas arcs", "paths", and "canvas
lines" have reached 50% of hardware/opengl. That's phenomenal if this
truly is purely software rendering. So, it raises my suspicions as to
hardware fallback, but that wouldn't explain "leaves" and "suits", only
the others.
I also tried toggling
gfx.webrender.reject-software-drivers
from true to false.
opengl webrender
MotionMark 78.10 95.13
multiply 1.00 39.00
canvas arcs 390.34 180.58
leaves 80.76 131.05
paths 1237.11 656.09
canvas lines 1256.80 548.84
focus 29.38 27.33
images 42.57 45.40
design 28.84 8.73
suits 61.19 177.23
I see a huge improvement in "multiply" for webrender, when
gfx.webrender.reject-software-drivers is set to false. I've not seen
any "multiply" result over 1.00 previously. ... Suspicious?
Othwerwise, the numbers are on par with prior tests above.
(*) FYI, I've been updating and/or recompiling numerous graphics
libraries, video drivers, and math related software packages recently,
to obtain better performance on this machine. So, I'm not entirely
100% certain if this fix was exclusively a Firefox fix or something
else, unfortunately.
--
Democrats on abortion: We claim bodily autonomy.
Democrats on Covid: We reject bodily autonomy. Forced vaccinations!