> Mozilla invested a lot into R&D in XR in the late 2010s, and in late 2018 they released an experimental browser called Firefox Reality. It was a great entry into the XR field, helping establish what a browser in these devices really looks like, and figure out the unique challenges. Today we’re excited to take up this experiment and continue this work as a complete project.
Well, I hope they'll contribute to Gecko to make it faster at rendering 3D with WebGL, or even help adding WebGPU support.
Because for now, perfs aint good compared to chromium based browsers... Firefox is often way slower when using heavy 3D apps.
You have to shuffle heaps of data between Javascript and the gpu, I’ve found Firefox’s js engine to be slower at doing that. Firefox also seems to call the garbage collector much more often, and do it’s business a bit slower.
Normally you don’t notice, but trying to keep things at 60fps it shows up rather quickly.
If you have a nice reproducible case of the garbage collection problem, please file a bug https://bugzilla.mozilla.org/enter_bug.cgi?product=Core&comp... and I'll take a look. I've seen some similar issues, but I don't have anything good to work against right now. (The first thing I'll do is grab a profile with https://profiler.firefox.com and that'll immediately tell basically what's going on. You could grab one too, and that'll be useful even if there's not an easy way to give me a reproduction.)
There's also a very recently landed change that might help, if the problem happens to be excessively long minor GCs (which is what I've seen with similar sites): https://bugzilla.mozilla.org/show_bug.cgi?id=1751162
Shuffling data to the GPU could be an interesting case too, but that's not handled by the JS engine itself so I'm not as familiar with how that works. It sounds like it might be worth a bug if there isn't one already (and feel free to file; we'll triage and determine if it's a duplicate.)
Ok so what's slower is the JS engine which is a more reasonable claim. My experience is it depends on the types of work your doing but in general, indeed, chrome seems faster. But Firefox has improved a lot with quantum.
no GPU drivers do not support webGL natively.. Although gecko use Angle from google, 3D rendering is a multifactorial problems that can be optimized from many aspects of a web browser (display lists vs immediate rendering, various caching systems, direct compositing, a lot of low level optimizations, reducing memcpys, etc)
Last time I checked (which was admittedly 2-3 years ago), Chrome had considerable lag with VR whereas Firefox managed much better. Might depend on the GPU, of course.
> Mozilla invested a lot into R&D in XR in the late 2010s, and in late 2018 they released an experimental browser called Firefox Reality. It was a great entry into the XR field, helping establish what a browser in these devices really looks like, and figure out the unique challenges. Today we’re excited to take up this experiment and continue this work as a complete project.
> [links to https://blog.mozilla.org/mozilla/update-on-firefox-reality/]
A Gecko-based browser would be refreshing!
Igalia really seems to do interesting stuff.