Re:Jellyfish Simulation using Javascript, WebGL
by RyanMcGreal on Wednesday April 20, 2011 @11:32AM
(#2467015)
I tried to run it in Firefox 4.0 and Chrome 10.0.648.204, but in both cases it returned an alert with the message, "This website requires WebGL. Try running Chrome 9+ or Firefox 4+".
[ Parent
| on HN ]
Re:Jellyfish Simulation using Javascript, WebGL
by allenp on Wednesday April 20, 2011 @02:51PM
(#2467870)
Do you have WinXP? I think WebGL is disabled by default in XP because of instability (at least in Chrome).
Re:Jellyfish Simulation using Javascript, WebGL
by RyanMcGreal on Wednesday April 20, 2011 @10:35PM
(#2469248)
I just ran it on Chrome 10.0.648.205 on Ubuntu 10.10 and I get the same error.
Re:Jellyfish Simulation using Javascript, WebGL
by codedivine on Thursday April 21, 2011 @03:55AM
(#2469768)
I don't think any browser supports WebGL on Ubuntu yet.
edit: On Ubuntu, first close all chrome windows. Then start chrome with the command-line option "--ignore-gpu-blacklist" and it works.
Re:Jellyfish Simulation using Javascript, WebGL
by andrenotgiant on Wednesday April 20, 2011 @11:50AM
(#2467084)
I think that might have something to do with the underlying GPU capabilities of your computer, happened to me as well with Chrome 12!
Re:Jellyfish Simulation using Javascript, WebGL
by KirinDave on Wednesday April 20, 2011 @12:14PM
(#2467180)
Your browser is not checking your graphics card.
It's an error in the version detection.
Re:Jellyfish Simulation using Javascript, WebGL
by thwarted on Wednesday April 20, 2011 @01:17PM
(#2467468)
This is why we should be checking for capabilities/features and not version. And part of this is reporting the correct, helpful error message when the capability isn't there, and not just say they have the wrong version.
I still have this problem with 64 bit flash on Linux, which adobe has decided to use a different format version string for.
Re:Jellyfish Simulation using Javascript, WebGL
by rfurmani on Thursday April 21, 2011 @02:40PM
(#2471754)
It is checking for capabilities and not version:
try {
gl = canvas.getContext( "experimental-webgl") ;
gl.viewportWidth = docWidth;
gl.viewportHeight = docHeight;
} catch(e) {
}
if (!gl) {
alert("This website requires WebGL. Try running Chrome 9+ or Firefox 4+");
}
Re:Jellyfish Simulation using Javascript, WebGL
by techiferous on Wednesday April 20, 2011 @11:57AM
(#2467111)
Yep, it's not the Chrome version. It works fine for me using Chrome 10.0.648.204.
Re:Jellyfish Simulation using Javascript, WebGL
by zerosanity on Wednesday April 20, 2011 @01:13PM
(#2467454)
I'm trying with FF4 and Chrome 11 with a GeForce 9600 GT and it still gives me the error message.
Re:Jellyfish Simulation using Javascript, WebGL
by jrsmitchell on Wednesday April 20, 2011 @03:25PM
(#2468006)
GPU acceleration is off by default in Chrome 10 on Windows XP.
It worked for me when I started Chrome with: chrome.exe --enable-webgl --ignore-gpu-blacklist
Re:Jellyfish Simulation using Javascript, WebGL
by azakai on Wednesday April 20, 2011 @02:48PM
(#2467855)
Works great here on Firefox 4, so maybe a problem with your graphics card drivers? Do any other WebGL demos work?
Re:Jellyfish Simulation using Javascript, WebGL
by websg-x on Wednesday April 20, 2011 @11:16PM
(#2469318)
Mozilla maintains a wiki on blocked video drivers and how to force enable them for each os/platform.
https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drive...