4 ms·
I'm getting 60 fps approximately for the spinning cube with chrome 6 on Ubuntu Lucid and my laptop has a core i3 with built in arrandale based GPU, not an nvidi
by skar 16y ago
I'm getting 60 fps approximately for the spinning cube with chrome 6 on Ubuntu Lucid and my laptop has a core i3 with built in arrandale based GPU, not an nvidia or ati one.
Not long ago, on an older laptop, I was getting the same fps for native Linux apps. Seems browsers are acquiring native capabilities, but at a faster rate :)
- s3graham 16y agoThe 'Example's section aren't using your GPU, they're all using CanvasRenderer it seems.
- ashleyw 16y agoIt seems to be capped at 60FPS. But it's the simplest demo, my results for the others are nowhere near 60FPS, most aren't even usable unfortunately.
- nkassis 16y agoI get 1FPS on the terrain generation one. Still cool :)
- mrdoob2 16y agoI suspect you're using MacOS? Chrome/Safari on MacOS perform horribly slow on some of these demos. CoreGraphics seem to be the culprit.
- nkassis 16y agoFor some reason I'm getting horrible crashes on my app (has worked great for months. Still works great on Linux and Windows) since chrome switched to gpu rendering for everything. I haven't found the issue yet but it's really odd.
- bd 16y agoDid you already try to update GPU driver? I had really bad crashes (high pitch noise, bright white flash, driver killed) on Firefox 4 and Chrome 7 when they started to use HW acceleration and problems went away after the update. Though this was on Windows 7, no idea about OSX.
- nkassis 16y agoNo luck on that, I checked and there was in fact a graphics update but that didn't affect the behavior. My next step is to try to figure out what is causing it to make a bug report.
- ido 16y agoNone of them seem usable on firefox.
- Seth_Kriticos 16y agoOh, most of them are, but the ones with textures seem to be awfully slow (the earth one for instance). Works nice in chromium though. I guess that has to do with hardware acceleration. FF3.x does not have that yet, so it's falling back to software rendering SVG's, and software rendering is.. you know, awfully slow. Try the FF4 beta if you want to see how things shape up, I think that has HW acceleration built in, though I'm not sure how far they are with WebGL.
- izendejas 16y agofwiw, i managed 61 fps on a karmic machine w/ i7. and out of curiosity i tried a froyo powered device (droid 2.2) and got up to 26 fps.
- chegra 16y agoI think they could improve the speed if they used webworker
- jat850 16y agoI really only glanced at the code so I could be wrong here. But it appeared to me as though the main loop was written with something like, 1000 / 60, which was probably intended to cap at 60fps. If you took that code and modified the loop to run more frequently, do you get even better performance?