gpujs / gpu.js

GPU Accelerated JavaScript
https://gpu.rocks
MIT License
15.04k stars 648 forks source link

Only one example works #475

Open ghost opened 5 years ago

ghost commented 5 years ago

mandelbrot-set.html works, others return results like:

Error: Error compiling fragment shader: ERROR: 0:143: '' : No precision specified (sampler) gpu-browser.js:10727:10

Error: Error compiling fragment shader: ERROR: 0:143: '' : No precision specified (sampler) gpu-browser.min.js:10740:10

PaleMoon browser, Linux AMD64

harshkhandeparkar commented 5 years ago

Try using a more modern browser like firefox or Chrome

harshkhandeparkar commented 5 years ago

Also, what version of gpu.js are you using?

ghost commented 5 years ago

Chrome is very vulnerable to malware, all the players target it.   I used the newest version of  gpu.js off github.  I guess it could be non-compliance with standards somewhere along the line.  JS non-compliance with the browser, webgl non-compliance with some called shared library.  Anyway the answer is to buy a nvidia jetson nano for $99 and use the cuda libraries.  

On Sunday, May 26, 2019, 6:06:42 PM GMT+8, Harsh Khandeparkar <notifications@github.com> wrote:  

Also, what version of gpu.js are you using?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

harshkhandeparkar commented 5 years ago

Players? Malware?

harshkhandeparkar commented 5 years ago

What OS and device do you use?

harshkhandeparkar commented 5 years ago

Try firefox. I use it every day. I can at least guarantee you that it is secure.