WebRender on Firefox
#1
So I saw this tweet: https://twitter.com/LukaszErecinsk1/stat...3589531650

I tried to enable WebRender on my Firefox but it seems to fail to start up. I could make it past the start up if I overrode OpenGL version to 3.3 but Firefox becomes a huge graphical mess, so not really any better. I'm on Wayland, default Manjaro install, mesa-git driver.

in aboutConfusedupport I see this:

unavailable by runtime: WebRender initialization failed
(#0) Error Failed GL context creation for WebRender: 0

Anyone get it successfully working? Is it worth pursuing for the performance increase?
#2
I got it working on Armbian simply by turning the option on in Firefox. Twice I've seen strange layout effects, but only momentarily. It's worked fine the rest of the time. But frankly I can't tell if it's faster or not.
#3
Plasma on Wayland, mesa-git, export PAN_MESA_DEBUG=gl3.

After enabling webrender firefox is all mess.
#4
Just updated my Manjaro, rebooted and enabled this (+restart of Firefox). I don't see any graphical issues. However no immediately obvious massive speed improvement either.
#5
It might not be enabled.
Take a look at "about:support". Decision log, Webrender lines especially.
#6
Yeah, it's worth noting that enabling webrender fails very silently. Here's an image of a failed aboutConfusedupport page on my end:

[Image: image.png]

I also noticed Firefox is running on X even though I'm using Wayland. Force enabling Wayland allows me to start up WebRender to the 'mess' state without any GL overrides, so 'progress', I guess
#7
I had understood that for this update, Webrender was only for Intel and AMD GPUs?

According to https://bugzilla.mozilla.org/show_bug.cgi?id=1653612
This is only valid for AMD and Intel and with the beta version of Firefox no?
#8
The rendering issues happen because some shaders fail register allocation, causing a vertex shader to emit garbage values. This is something that is fixable in Panfrost.


Although WebRender doesn't work yet, the OpenGL compositor can also make things a lot smoother. To enable it, go into about:config and set layers.acceleration.force-enabled to true.
#9
(07-30-2020, 04:46 AM)icecream95 Wrote: The rendering issues happen because some shaders fail register allocation, causing a vertex shader to emit garbage values. This is something that is fixable in Panfrost.


Although WebRender doesn't work yet, the OpenGL compositor can also make things a lot smoother. To enable it, go into about:config and set layers.acceleration.force-enabled to true.

It is fast with this setting. Thanks.
#10
(07-30-2020, 04:46 AM)icecream95 Wrote: The rendering issues happen because some shaders fail register allocation, causing a vertex shader to emit garbage values. This is something that is fixable in Panfrost.


Although WebRender doesn't work yet, the OpenGL compositor can also make things a lot smoother. To enable it, go into about:config and set layers.acceleration.force-enabled to true.
Good to have an expert chime in! Though I am surprised to hear it is fixable in Panfrost. Regardless, looking forward to it (one day)


Possibly Related Threads…
Thread Author Replies Views Last Post
Question Firefox App Menu davemaps 0 1,819 06-05-2020, 02:35 PM
Last Post: davemaps
  Reinstall Firefox? sinistermrcream 10 10,758 12-06-2019, 12:39 PM
Last Post: sinistermrcream
Bug Firefox crashes in the default Debian build User 11436 4 5,872 12-02-2019, 11:47 AM
Last Post: Mrfixit2001

Forum Jump:


Users browsing this thread: 1 Guest(s)