Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How do I run it?

Crashes Firefox 23

No effects on Chromium 28.0.1500.71

>Error creating WebGL context. three.min.js:412

>Uncaught TypeError: Cannot call method 'getExtension' of null

Linux Mint 15 x64



Try: http://get.webgl.org/

Check and make sure your 3D drivers are up to par.

Make sure webgl is enabled in chromium flags.

Are you really that surprised that 3D is flaky on linux?


I have the same problem: Firefox 23 on Debian; Intel GPU (so pretty solid drivers), get.webgl.org works fine and I can't remember when I last had trouble with 3D, but the OP's site crashes my browser.

Then again "in the wild" I wouldn't enable WebGL anyway for most sites.

Edit: I think it's a Firefox problem. Works in Chromium for me.


Intel GPUs != solid OpenGL drivers. I do a lot of work in OpenGL and I curse Intel almost daily for the multitude of bugs in their OpenGL implementations. The GPUs' only saving grace is their ubiquity so at least I get a bug report quite quickly when a work-around is required.


Are you specifically talking about the Linux drivers for Intel GPUs? Their OpenGL implementation is based on the open-source Mesa project, which, while not perfect, has been worked on steadily for over a decade, and has been pretty solid in my experience.

Not fast, certainly, but solid.


Which GPUs would you recommend on Linux?


Very latest Intel is ok, older are pretty slow. AMD hardware that works with the Mesa drivers is nearly as solid as Intel, but their proprietary drivers are a disaster (kernel crashes etc). Nvidia has decent proprietary drivers for desktop stuff.

On laptops, dual graphics (Nvidia calls it "Optimus", don't know about AMD) doesn't work right so Intel and Mesa-supported integrated AMD graphics are the best choices on laptops currently. There's some light at the end of the tunnel for Nvidia: https://wiki.ubuntu.com/X/HybridGraphics


The pendulum has certainly swung away from ATI/AMD.


Funky. Might be a compatibility issue with Three.js.


OK, fixed.

I use an Optimus laptop (yeah, bad decision) which Chromium doesn't support. The solution is to tell it to support it anyway:

$ optirun chromium-browser --ignore-gpu-blacklist

Now it works fine.

Edit: fixing the problem on firefox:

$ optirun firefox


Crashes Firefox 23 on Debian Jessie here. Chromium on the same machine copes fine.


But I was told Linux was ready for the Desktop...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: