For anyone (like me) not familar with WebRender, here's a great writeup: https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-f... Also a great read for anyone interested in long-form technical articles that try to serve a wide range of reader types.
I'd be curious how the power usage compares between this GPU rendering and the old CPU painting / compositing rendering. I'd expect it to save power but could also see it going the other way, particularly for webpages with minimal changes from frame to frame.
WebRender is in beta
51–60 of 78 posts
Re: WebRender is in beta
#52Earlier quoted context omitted.
I've experienced the exact same thing on latest thunderbird betas and nightlies. Its a shame that GPU support by Mozilla products is in such abysmal state. Meanwhile Google has working hardware accelerated video decoding AND decent GPU support in Chrome.
This is that "GPU support", on Linux anyway. Hardware accelerated video decoding is barely worth it on Linux. Crashes galore. Does Chromium even enable it by default? The problem is not writing the "GPU support", but working around the mountain of Xorg bugs that it triggers. As an example just this week, I recently ripped out OS compositing support from WebRender on X because it was simply impossible to deploy withou…
You may put GPU support in quotation marks, but Chromium is way snappier and faster than Firefox nightlies on my Linux box, and I suspect taking advantage of the GPU is a part of the equation.
I also suspect the whole pipeline is more optimized on Chrome. Firefox has ~3x the input latency[1] and unlike Chrome, also slaughters my CPU when watching youtube videos.
Its not like Mozilla is under-resourced. I think its just a matter of priority[2].
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1408699
[2] https://blog.servo.org/2018/03/09/servo-and-mixed-reality/
Re: WebRender is in beta
#53Earlier quoted context omitted.
This is that "GPU support", on Linux anyway. Hardware accelerated video decoding is barely worth it on Linux. Crashes galore. Does Chromium even enable it by default? The problem is not writing the "GPU support", but working around the mountain of Xorg bugs that it triggers. As an example just this week, I recently ripped out OS compositing support from WebRender on X because it was simply impossible to deploy withou…
Glad to hear work this is something that's being worked on because Firefox is still losing market share. And that's not good news for all of us. You may put GPU support in quotation marks, but Chromium is way snappier and faster than Firefox nightlies on my Linux box, and I suspect taking advantage of the GPU is a part of the equation. I also suspect the whole pipeline is more optimized on Chrome. Firefox has ~3x the…
I will say that, in my opinion, WebRender is generally better optimized for modern graphics hardware than Skia-GL as used in Chrome, due to the reduced overdraw via aggressive use of the Z-buffer and better batching.
Often times performance bugs are just that—bugs. The existence of performance bugs doesn't necessarily indicate that "the whole pipeline" in one browser is better than the other. Browsers are broadly quite comparable in terms of the script-layout-painting pipeline these days. In the case of Firefox, I'm personally confident in the IonMonkey-Stylo-WebRender trio.
Re: WebRender is in beta
#54Re: WebRender is in beta
#55For pages like Facebook and Reddit, the performance is great. But Chrome is almost double the framerate for svg animations (I measured on a Macbook).
Re: WebRender is in beta
#56Enabled in FF Nightly 65.0a1 (2018-10-26) (64-bit) and it felt a little sluggish especially with regards to scrolling. I understand it's in beta but I guess I was expecting things to "feel" faster. Tried resizing larger sites/pages and things felt snappy but scrolling felt jumpy and off. That said, can't wait for this to come out of beta!
I've experienced the exact same thing on latest thunderbird betas and nightlies. Its a shame that GPU support by Mozilla products is in such abysmal state. Meanwhile Google has working hardware accelerated video decoding AND decent GPU support in Chrome.
https://bugs.chromium.org/p/chromium/issues/detail?id=463440
https://chromium-review.googlesource.com/c/chromium/src/+/53...
Re: WebRender is in beta
#57Earlier quoted context omitted.
I've experienced the exact same thing on latest thunderbird betas and nightlies. Its a shame that GPU support by Mozilla products is in such abysmal state. Meanwhile Google has working hardware accelerated video decoding AND decent GPU support in Chrome.
Chromium has long-standing unresolved issues about adding GPU acceleration for video decoding too? https://bugs.chromium.org/p/chromium/issues/detail?id=463440 https://chromium-review.googlesource.com/c/chromium/src/+/53...
Re: WebRender is in beta
#58I've just made very basic integration with node. It's rather PoC, but it works. It can currently show a window and render moving rect from vue.js template. There's still a lot of work to be done, webrender does too little to be just drop in replacement for electron but it might be worth watching if you're interested in anything like that (lightweight cross-platform opengl-rendered gui apps developed in react/vue/angu…
Re: WebRender is in beta
#59I've just made very basic integration with node. It's rather PoC, but it works. It can currently show a window and render moving rect from vue.js template. There's still a lot of work to be done, webrender does too little to be just drop in replacement for electron but it might be worth watching if you're interested in anything like that (lightweight cross-platform opengl-rendered gui apps developed in react/vue/angu…
Re: WebRender is in beta
#60Earlier quoted context omitted.
This is that "GPU support", on Linux anyway. Hardware accelerated video decoding is barely worth it on Linux. Crashes galore. Does Chromium even enable it by default? The problem is not writing the "GPU support", but working around the mountain of Xorg bugs that it triggers. As an example just this week, I recently ripped out OS compositing support from WebRender on X because it was simply impossible to deploy withou…
Glad to hear work this is something that's being worked on because Firefox is still losing market share. And that's not good news for all of us. You may put GPU support in quotation marks, but Chromium is way snappier and faster than Firefox nightlies on my Linux box, and I suspect taking advantage of the GPU is a part of the equation. I also suspect the whole pipeline is more optimized on Chrome. Firefox has ~3x the…
Webrender has a pretty large team working on it at this point.
You have no idea what you're talking about here.