PINE64
WebRender on Firefox - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: WebRender on Firefox (/showthread.php?tid=10881)

Pages: 1 2


WebRender on Firefox - mangofett - 07-28-2020

So I saw this tweet: https://twitter.com/LukaszErecinsk1/status/1288174863589531650

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?


RE: WebRender on Firefox - KC9UDX - 07-28-2020

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.


RE: WebRender on Firefox - as400 - 07-29-2020

Plasma on Wayland, mesa-git, export PAN_MESA_DEBUG=gl3.

After enabling webrender firefox isĀ all mess.


RE: WebRender on Firefox - poVoq - 07-29-2020

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.


RE: WebRender on Firefox - as400 - 07-29-2020

It might not be enabled.
Take a look at "about:support". Decision log, Webrender lines especially.


RE: WebRender on Firefox - mangofett - 07-29-2020

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


RE: WebRender on Firefox - agD0i7rY - 07-29-2020

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?


RE: WebRender on Firefox - icecream95 - 07-30-2020

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.


RE: WebRender on Firefox - as400 - 07-30-2020

(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.


RE: WebRender on Firefox - mangofett - 07-30-2020

(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)