News for hackers. Stuff that matters.
Re:WebGL 2 Interactive GPU Cloth Simulation by cornedor on Wednesday June 21, 2017 @08:56AM (#14603306)
This demo runs with +/- 1fps on my late 2016 macbook pro. Do others have the same performance?
Re:WebGL 2 Interactive GPU Cloth Simulation by tsherif on Wednesday June 21, 2017 @09:41AM (#14603677)
It looks like this might be an issue with Apple's AMD driver, since everyone who's having problems seems to be on Mac/AMD setup. I'll look into this when I get my hands on a machine to test on.
Re:WebGL 2 Interactive GPU Cloth Simulation by JonathonW on Wednesday June 21, 2017 @11:10AM (#14604448)
I see good performance on a mid-2014 MacBook Pro (with nVidia graphics), and poor performance on a mid-2015 MacBook Pro (with AMD graphics; otherwise identically configured).

So, yeah, looks like some kind of issue with Apple's AMD graphics driver.

Re:WebGL 2 Interactive GPU Cloth Simulation by doodpants on Wednesday June 21, 2017 @09:43AM (#14603694)
Pardon the stupid question, but how do I determine the frame rate that it's running at?
Re:WebGL 2 Interactive GPU Cloth Simulation by roter on Wednesday June 21, 2017 @10:22AM (#14604028)
In Firefox, hit F12 to open Web Developer, click on Performance, and click Start Recording Performance.
Re:WebGL 2 Interactive GPU Cloth Simulation by deathanatos on Wednesday June 21, 2017 @01:28PM (#14605966)
I'm also on a late 2016 MBP (I'm not sure how to tell if I have the AMD GPU that others are discussing; About This Mac just says "Intel Iris Graphics 540", but I would think that's the integrated GPU?)

I get okay performance though, but the render looks like someone used the cloth like one of those old punchcards: http://i.imgur.com/JIBfGt7.png

Re:WebGL 2 Interactive GPU Cloth Simulation by martimoose on Wednesday June 21, 2017 @09:04AM (#14603370)
Macbook pro mid 2012, 60fps
Re:WebGL 2 Interactive GPU Cloth Simulation by gpm on Wednesday June 21, 2017 @09:23AM (#14603512)
About 5 ms/frame, i.e. 200fps except that it caps at 60, on a i5-7200U (integrated graphics) laptop, firefox, linux.
Re:WebGL 2 Interactive GPU Cloth Simulation by dr_zoidberg on Wednesday June 21, 2017 @09:31AM (#14603592)
About 10 to 15 (very variable) fps on an old i3 3120M (that's Intel HD 4000 GPU I believe, mobile). Windows 10, Firefox beta. But FF has been open for a while and its getting sluggish, maybe if I restart it, the demo would perform a bit better.
Re:WebGL 2 Interactive GPU Cloth Simulation by madeofpalk on Wednesday June 21, 2017 @09:43AM (#14603690)
It runs smoothly (30+fps?) on my MacBook Pro (Retina, 13-inch, Early 2015).
Re:WebGL 2 Interactive GPU Cloth Simulation by microcolonel on Wednesday June 21, 2017 @12:38PM (#14605350)
I'm getting about 300fps on my Radeon Pro WX 7100 w/ Mesa 17.2 on Linux 4.12-rc6. I don't think it's a hardware architecture thing, probably drivers like others are saying.
Re:WebGL 2 Interactive GPU Cloth Simulation by Diederich on Wednesday June 21, 2017 @10:53AM (#14604281)
I'm running Firefox on Linux on a late 2016 MBP, and it runs quite smoothly. Another commenter said something about drivers for OSX; that seems likely.
Re:WebGL 2 Interactive GPU Cloth Simulation by tgb on Wednesday June 21, 2017 @09:06AM (#14603390)
Runs well on my laptop. Windows 10 + Chrome and it's probably using my integrated GPUsince the Nvidia one never kicks in with Chrome.
Re:WebGL 2 Interactive GPU Cloth Simulation by lmcd on Wednesday June 21, 2017 @10:25AM (#14604048)
Yep, around 1fps on a 2017 15" MacBook Pro. I'm seeing similar issues with some of my own WebGL work on this new machine :(
Re:WebGL 2 Interactive GPU Cloth Simulation by dnzm on Wednesday June 21, 2017 @10:22AM (#14604030)
Reasonably steady 50-60+ FPS on my Asus laptop with Nvidia 920m under Fedora (with the proper Nvidia driver).
Re:WebGL 2 Interactive GPU Cloth Simulation by epaga on Wednesday June 21, 2017 @08:58AM (#14603324)
Same here on 15" tMBP, yep.
Re:WebGL 2 Interactive GPU Cloth Simulation by kowdermeister on Wednesday June 21, 2017 @08:58AM (#14603317)
60fps with my Dell Inspiron 15
Re:WebGL 2 Interactive GPU Cloth Simulation by sbarre on Wednesday June 21, 2017 @11:35AM (#14604681)
Mid-2014 Macbook Pro with Intel Iris Pro and it runs pretty smoothly..
Re:WebGL 2 Interactive GPU Cloth Simulation by mattdesl on Wednesday June 21, 2017 @09:03AM (#14603360)
Are you running Safari?
Re:WebGL 2 Interactive GPU Cloth Simulation by throwaway2016a on Wednesday June 21, 2017 @10:03AM (#14603863)
Not Op but I doubt it. I tried Safari and it gave me an error that my browser doesn't support WebGL 2. Chrome works fine.
Re:WebGL 2 Interactive GPU Cloth Simulation by goondabba on Wednesday June 21, 2017 @02:11PM (#14606407)
I tried with Safari after enabling WebGL 2 by using the 'Develop' menu, but even then the demo game me an error, "This example requires extension EXT_color_buffer_float".
Re:WebGL 2 Interactive GPU Cloth Simulation by saagarjha on Wednesday June 21, 2017 @02:31PM (#14606613)
Yep, I got the same thing. I guess support isn't complete yet?
Re:WebGL 2 Interactive GPU Cloth Simulation by cornedor on Wednesday June 21, 2017 @12:07PM (#14604987)
I tried Chrome and Firefox. Other WebGL2 demoes ran very smooth.
Re:WebGL 2 Interactive GPU Cloth Simulation by throwaway2016a on Wednesday June 21, 2017 @10:02AM (#14603858)
50+ FPS on my Mid 2012 MBP. Using Chrome and OS X 10.12.5
Re:WebGL 2 Interactive GPU Cloth Simulation by mr_luc on Wednesday June 21, 2017 @09:14AM (#14603437)
60fps on an early 2014 macbook Air. Which is surprising.
Re:WebGL 2 Interactive GPU Cloth Simulation by xyclos on Wednesday June 21, 2017 @08:59AM (#14603327)
Same.

Mid 2015 with AMD Radeon R9 M370X 2048 MB, 16 GB of ram and Core i7

Re:WebGL 2 Interactive GPU Cloth Simulation by pixelHD on Wednesday June 21, 2017 @11:28AM (#14604609)
Same on my late 2016 macbook pro/Chrome 59.
Re:WebGL 2 Interactive GPU Cloth Simulation by kossae on Wednesday June 21, 2017 @10:22AM (#14604026)
Same here on Chrome and Firefox MBP2015 Retina
Re:WebGL 2 Interactive GPU Cloth Simulation by speps on Wednesday June 21, 2017 @09:04AM (#14603368)
Welcome to "interactive" as defined in the computer graphics academia... It would fail if it was titled "realtime" but this isn't.
Re:WebGL 2 Interactive GPU Cloth Simulation by megous on Wednesday June 21, 2017 @09:13AM (#14603425)
Probably not worth optimizing for something that has 7% market share. It works fine at 60fps on Radeon HD 5750 from 2009 on Linux. /smug

Nice to see WebGL performing well on a seemingly old HW.

Re:WebGL 2 Interactive GPU Cloth Simulation by Kiro on Wednesday June 21, 2017 @10:16AM (#14603956)
For the target demographic (developers?) I would say it's way higher than 7%.
Re:WebGL 2 Interactive GPU Cloth Simulation by have_faith on Wednesday June 21, 2017 @09:00AM (#14603335)
Ditto, chrome on high specced recent MBP