Results 1 to 4 of 4

Thread: How to add fake OpenGL extensions?

  1. #1
    Join Date
    Oct 2009
    Posts
    26

    Default 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. #2
    Join Date
    Oct 2009
    Posts
    26

    Default

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

  3. #3
    Join Date
    Oct 2009
    Posts
    26

    Default

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

  4. #4
    Join Date
    Oct 2009
    Posts
    26

    Default

    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!

Posting Permissions

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