6 ms·
Love this crazy project. In Firefox I get 1 fps and crazy graphics glitches, and in Brave I slowly float into the sky. Runs fine in Chrome though.
by andai 8y ago
Love this crazy project. In Firefox I get 1 fps and crazy graphics glitches, and in Brave I slowly float into the sky. Runs fine in Chrome though.
- coldtea 8y agoShouldn't Firefox be prioritizing fixing those things instead of BS moonshot projects they do (not talking about Rust, but various non-browser pivots). They might be "different teams" doing each, but they all have finite resources to pay them.
- robin_reala 8y agoWebRender currently (as of the last 2 weeks) renders this correctly, but slowly. Now that correctness is in, they can start looking at speed. Associated bug is https://bugzilla.mozilla.org/show_bug.cgi?id=1525420 https://bugzilla.mozilla.org/show_bug.cgi?id=1525420 , but it’s not a blocker for launching WebRender in the first place. And no, this sort of thing isn’t particularly high priority. If lots of websites used these technologies to this extent then it’d be higher up the priority list I’m sure.
- coldtea 8y agoThat's the new Rust based render engine?
- robin_reala 8y agoSorry, yes, it’s the Rust GPU rendering (not layout) engine that’s being introduced into release Firefox at the moment. Lin Clark wrote a great article on it 18 months ago: https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-fps-how-webrender-gets-rid-of-jank/ https://hacks.mozilla.org/2017/10/the-whole-web-at-maximum-f... . It should eventually be considerably faster than it is at the moment, but obviously there’s been a bunch of performance work in the previous Firefox rendering engine so currently it’s a clean codebase that’s moderately faster.
- coldtea 8y agoThanks! That's nice -- does that replace all rendering parts with the new Rust (servo?) equivalents? Or are some parts still in the C++ codebase? (rendering related, not the UI code/JS engine, etc). The diagram on the link seems to imply this is the last part! Does that mean there's some drawing library (akin to Skia) written in Rust used by WebRender too?
- robin_reala 8y agoI’m just an interested observer so handful of salt, but I believe WebRender replaces Moz2D and the old drawing libraries (which included Skia). Honestly, at this point I’m going to defer to pcwalton or whoever’s on HN that’s closer to the project than me.
- styfle 8y agoThere is one project I know of that is bringing webrender to desktop apps: https://news.ycombinator.com/item?id=18312983 https://news.ycombinator.com/item?id=18312983
- twic 8y agoIn Firefox it's like a particularly unpleasant salvia trip.
- AndrewKemendo 8y agoWorks perfectly on safari (webkit) browsers for me.
- Lukas_Skywalker 8y agoFunnily, this runs with 20-30 FPS on a (lower end) Windows Phone with Edge mobile. Is Edge optimized for CSS performance?
- galfarragem 8y agoFunnily, it's playable on safari/ipad mini 1st generation.
- pault 8y agoEdge has always been extremely fast and competitive with other browser engines. It really shocked me when they deprecated it because in the last year of developing an app that only targets chrome and edge, I've never once had a bug that was edge-only. It seems that MS was never able to get out of the shadow of IE.
- StevePerkins 8y agoCasual users are now trained to use Chrome. Because they browse on mobile more than on desktop, and Chrome is "The Internet" icon on their phones. Techies and power users were never going to give Edge a second glance, because they launched without plugin support (i.e. no way to block ads).
- qpery 8y agoThe problem with Edge is that they wrapped the engine, which was great, inside a UWP app, which are known to be stupidly ugly and stupidly sluggish. That's what killed it. Had they chosen Win32, it wouldn't have died. But I guess we will never know.
- lettergram 8y agoOn Firefox mobile I had no problem
- srgpqt 8y agoOn iOS, all browsers (including firefox) use the OS’s Webview (webkit) as mandated by apple. So basically every browser are Safari reskins.
- theon144 8y agoWin10, FF 66, I get what seems close enough to 60fps, but some graphics glitches too, mostly the texture around the barrels which doesn't go all the way "around".
- tasty_freeze 8y agoIt is a bit choppy for me in FF 65, running on a 7 year old PC under windows 7, with a very old and low end GPU. Not sure why you see 1 fps.
- rzzzt 8y agoThe choppiness decreases tremendously if I wiggle the mouse around during the demo (clicked on the auto-running third link).