News for hackers. Stuff that matters.
Re:JS1k JavaScript Code Competition – Demos 2015 by q3k on Sunday January 24, 2016 @01:17PM (#10963352)
My system (Chrome/X11/GNU/Linux) completely hung up when viewing http://js1k.com/2015-hypetrain/demo/2179 ... Anyone else experience this?
Re:JS1k JavaScript Code Competition – Demos 2015 by madflame991 on Sunday January 24, 2016 @01:31PM (#10963407)
Managed to close it twice, but it took a while. I don't understand how a single application can render a whole (multicore) system unresponsive. Isn't the OS supposed to take control from a long-running task once in a while? I've encountered dozens of other graphical demos in JS that cause the same thing. I'm running Chrome 48 on Linux.
Re:JS1k JavaScript Code Competition – Demos 2015 by rogerbinns on Sunday January 24, 2016 @02:59PM (#10963775)
I did a bit more digging. Using Ubuntu 15.10 64 bit on a system with Intel HD4000 graphics. I was getting about one frame every 3 seconds and the system felt very unresponsive (eg takes a minute or two to kill the tab). But the mouse pointer moved.

Connecting in via ssh showed that the system was just fine and close to idle. It was the GPU where the issues are. I ran intel_gpu_top and what you see is that render busy is at 100% as is blitter busy (most of the time). Essentially the gpu is saturated. I do wonder if this is similar to bufferbloat, but with so much work pending for the gpu that other requests take a long time to run.

I ended up having to kill -9 chrome, and ended up with a hung system (ie even magic sysrq didn't work).

Re:JS1k JavaScript Code Competition – Demos 2015 by rogerbinns on Sunday January 24, 2016 @10:07PM (#10965338)
Since another commentor mentioned it running fine on their mobile device, I decided to run it on my tablet which coincidentally also uses an Intel Atom cpu + gpu.

It chugged along at about one frame every two seconds for about 10 seconds, before an app not responding dialog appears. I reported it, and the tab was restarted. On the restart I get a bottom of Chrome message "Rats! WebGL hit a snag". It has a helpfully (not) grayed out "Learn More", Reload or Ignore. No matter what I did I couldn't get it working again, with the browser showing "WebGL not supported".

On my Nexus 5 it ran just fine - smoothly even although there is a lot of aliasing.

Re:JS1k JavaScript Code Competition – Demos 2015 by q3k on Sunday January 24, 2016 @06:51PM (#10964648)
That is consistent with my theory as well. It would be awesome if someone more experienced in the Intel graphics stack would dig a bit more into what was happening...
Re:JS1k JavaScript Code Competition – Demos 2015 by rashkov on Sunday January 24, 2016 @01:33PM (#10963418)
Works well for me on Linux Chrome 46.0.2490.86 (Official Build) (64-bit). Strangely though I've been having trouble with amazon.com locking up the tab. I've got a dedicated graphics card in this thing though, with a heap of ram, so that may be the difference.
Re:JS1k JavaScript Code Competition – Demos 2015 by pearjuice on Sunday January 24, 2016 @01:44PM (#10963461)
It actually crashed my graphics driver.
Re:JS1k JavaScript Code Competition – Demos 2015 by victorantos on Sunday January 24, 2016 @01:47PM (#10963478)
same here, driver crash in windows 10
Re:JS1k JavaScript Code Competition – Demos 2015 by jessedhillon on Sunday January 24, 2016 @01:21PM (#10963371)
Yes, I had the same experience. It eventually began responding, but it took ~2 minutes.
Re:JS1k JavaScript Code Competition – Demos 2015 by m1sta_ on Sunday January 24, 2016 @05:02PM (#10964236)
Macbook 12 running Windows 10. Killed the graphics card driver but it restarted fine.
Re:JS1k JavaScript Code Competition – Demos 2015 by desuvader on Sunday January 24, 2016 @03:23PM (#10963861)
Running very smoothly for me. Tested on Chrome 47, Win 10 with 970 strix card.
Re:JS1k JavaScript Code Competition – Demos 2015 by Joeri on Sunday January 24, 2016 @01:48PM (#10963486)
Works fine in edge on lumia 950. Phones are getting ridiculously powerful.
Re:JS1k JavaScript Code Competition – Demos 2015 by steve_taylor on Sunday January 24, 2016 @03:36PM (#10963913)
It completely froze my 2011 MacBook Air with the latest OS X and Chrome.