1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
4 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8">
5 <title>Application Issues
</title>
6 <link rel=
"stylesheet" type=
"text/css" href=
"mesa.css">
11 <h1>The Mesa
3D Graphics Library
</h1>
14 <iframe src=
"contents.html"></iframe>
17 <h1>Application Issues
</h1>
20 This page documents known issues with some OpenGL applications.
27 <a href=
"http://www.topogun.com/">Topogun
</a> for Linux (version
2, at least)
28 creates a GLX visual without requesting a depth buffer.
29 This causes bad rendering if the OpenGL driver happens to choose a visual
30 without a depth buffer.
34 Mesa
9.1.2 and later (will) support a DRI configuration option to work around
36 Using the
<a href=
"http://dri.freedesktop.org/wiki/DriConf">driconf
</a> tool,
37 set the
"Create all visuals with a depth buffer" option before running Topogun.
38 Then, all GLX visuals will be created with a depth buffer.
42 <h2>Old OpenGL games
</h2>
45 Some old OpenGL games (approx. ten years or older) may crash during
46 start-up because of an extension string buffer-overflow problem.
50 The problem is a modern OpenGL driver will return a very long string
51 for the glGetString(GL_EXTENSIONS) query and if the application
52 naively copies the string into a fixed-size buffer it can overflow the
53 buffer and crash the application.
57 The work-around is to set the MESA_EXTENSION_MAX_YEAR environment variable
58 to the approximate release year of the game.
59 This will cause the glGetString(GL_EXTENSIONS) query to only report extensions
60 older than the given year.
64 For example, if the game was released in
2001, do
66 export MESA_EXTENSION_MAX_YEAR=
2001
68 before running the game.
76 See the
<a href=
"viewperf.html">Viewperf issues
</a> page for a detailed list