Results 1 to 2 of 2

Thread: unable to use opengl on ubuntu9.10, chrome or firefox

  1. #1
    Junior Member
    Join Date
    Apr 2010
    Posts
    1

    unable to use opengl on ubuntu9.10, chrome or firefox

    I am trying to run web-gl and can't get even the simplest example to work.
    I am run ubuntu 9.10 on a dell inspiron 1420 with intel 965 card.
    glgears works fine and glinfo says:
    ...
    OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090712 2009Q2 RC3 x86/MMX/SSE2
    OpenGL version string: 2.1 Mesa 7.6
    OpenGL shading language version string: 1.20
    ...

    I am using nightly builds of both chrome and firefox.
    chrome with --enable-webgl --no-sandbox
    firefox enabling webgl.enabled_for_all_sites and trying both with and with out webgl.software_render

    I am using the test: http://learningwebgl.com/tests/cruftcheck20100104.html
    and I can not get a context using any of the strings used.

    any ideas?

    Meir.

  2. #2
    Senior Member
    Join Date
    May 2010
    Posts
    207

    Re: unable to use opengl on ubuntu9.10, chrome or firefox

    The trouble is that this series of Intel chip only has OpenGL 1.2 (which is horribly ancient - and doesn't support shaders at all - and hence isn't good enough to host WebGL).

    Under Windows XP, you can use Chrome - which converts WebGL to DirectX 9 - which the Intel chip just barely supports. However, it's painfully slow because vertex shaders are run in the CPU and the fragment shaders are slow because they are just not built for the kinds of speed that you expect from a modern graphics system. In theory, Firefox under windows will eventually do that too - but it's unlikely that this GPU will ever run WebGL under Linux.

    If this is a deskside computer - you're going to need a new graphics card (buy one with an nVidia or ATI chip!) - if it's a laptop, then you're screwed. You might (maybe) be able to fall back to running Mesa (an implementation of OpenGL running entirely in CPU software) - but that would be exceedingly slow for most 3D applications - and I have no idea whether it actually works with WebGL or not.

Similar Threads

  1. Uniform arrays in Chrome / Firefox
    By pjcozzi in forum OS & Browser specific questions
    Replies: 8
    Last Post: 01-05-2012, 07:10 PM
  2. Unable to run Webgl in Firefox nightly under (ubuntu) linux
    By laszlo in forum OS & Browser specific questions
    Replies: 17
    Last Post: 05-15-2010, 06:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •