Announcement

Collapse
No announcement yet.

How to add fake OpenGL extensions?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to add fake OpenGL extensions?

    Hi,

    A lot of Valve games (e.g. Team Fortress 2) give an error:
    Could not find required OpenGL entry point 'glColorMaskIndexedEXT'! Either your video card is unsupported, or your OpenGL driver needs to be updated.
    I'm using r300g with Radeon Xpress 1250 (RS600).

    Do you know any good way to mock the supported extension?

    I'm sure they require that extension for a reason, but I'd still be interested to try (maybe it's not used with some low settings).

    I can't find much information about that extension even existing (to see it with glxinfo) http://feedback.wildfiregames.com/report/opengl/, it probably has some different name.

  • #2
    glColorMaskIndexedEXT actually belongs to extension GL_EXT_draw_buffers2, which I'm missing.

    Comment


    • #3
      Found it!
      export MESA_EXTENSION_OVERRIDE=GL_EXT_draw_buffers2
      Unfortunately the game really does seem to need real GPU/driver support for that.

      Comment


      • #4
        Just for closure:
        The games do work with this env var set now (in Ubuntu 13.04), though lack in performance.

        So anyone having the problem, give it a try!

        Comment

        Working...
        X