Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
5563 | serge | 1 | |
2 | |||
3 | |||
4 | |||
5 |
|
||
6 | |||
7 | |||
8 | |||
9 | |||
10 | |||
11 |
|
||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 |
|
||
18 | |||
19 | |||
20 | Normally, no environment variables need to be set. Most of the environment |
||
21 | variables used by Mesa/Gallium are for debugging purposes, but they can |
||
22 | sometimes be useful for debugging end-user issues. |
||
23 | |||
24 | |||
25 | |||
26 |
|
||
27 | |||
28 | |||
29 | |||
30 | If set to 'verbose' additional information will be printed. |
||
31 | |||
32 | |||
33 | |||
34 | |||
35 | |||
36 | calls per second. |
||
37 | |||
38 | |||
39 | |||
40 | |||
41 |
|
||
42 | |||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | if the application generates a GL_INVALID_ENUM error, a corresponding error |
||
50 | message indicating where the error occured, and possibly why, will be |
||
51 | printed to stderr. |
||
52 | If the value of MESA_DEBUG is 'FP' floating point arithmetic errors will |
||
53 | generate exceptions. |
||
54 | |||
55 | etc., rather than stderr |
||
56 | |||
57 | fragment programs (intended for developers only) |
||
58 | |||
59 | operations with vertex programs (intended for developers only). |
||
60 | Setting this variable automatically sets the MESA_TEX_PROG variable as well. |
||
61 | |||
62 | A value such as "GL_EXT_foo -GL_EXT_bar" will enable the GL_EXT_foo extension |
||
63 | and disable the GL_EXT_bar extension. |
||
64 | |||
65 | by extension year. |
||
66 | If this variable is set to year X, only extensions defined on or before year |
||
67 | X will be reported. |
||
68 | This is to work-around a bug in some games where the extension string is |
||
69 | copied into a fixed-size buffer without truncating. |
||
70 | If the extension string is too long, the buffer overrun can cause the game |
||
71 | to crash. |
||
72 | This is a work-around for that. |
||
73 | |||
74 | glGetString(GL_VERSION) and possibly the GL API type. |
||
75 | |||
76 | |||
77 | |||
78 | This is only valid for versions >= 3.0. |
||
79 | |||
80 | |||
81 | |||
82 | |||
83 | |||
84 | |||
85 | |||
86 | |||
87 | |||
88 | |||
89 | |||
90 | |||
91 | (for developers only) |
||
92 | |||
93 | |||
94 | glGetString(GL_SHADING_LANGUAGE_VERSION). Valid values are integers, such as |
||
95 | "130". Mesa will not really implement all the features of the given language version |
||
96 | if it's higher than what's normally reported. (for developers only) |
||
97 | |||
98 | |||
99 | |||
100 | |||
101 |
|
||
102 | |||
103 | |||
104 | The following are only applicable to the Mesa Xlib software driver. |
||
105 | See the Xlib software driver page for details. |
||
106 | |||
107 | |||
108 | |||
109 | |||
110 | |||
111 | either "pixmap" or "ximage" |
||
112 | |||
113 | |||
114 | |||
115 | |||
116 | |||
117 | |||
118 | |||
119 | |||
120 | |||
121 |
|
||
122 | |||
123 | |||
124 | |||
125 | OpenGL conformance. If set to 2, always use software rendering. |
||
126 | |||
127 | glCopyPixels, glDrawPixels. |
||
128 | |||
129 | |||
130 | |||
131 |
|
||
132 | |||
133 | |||
134 | |||
135 | |||
136 | |||
137 | |||
138 |
|
||
139 | |||
140 | |||
141 | Mesa EGL supports different sets of environment variables. See the |
||
142 | Mesa EGL page for the details. |
||
143 | |||
144 | |||
145 | |||
146 |
|
||
147 | |||
148 | |||
149 | |||
150 | cpu load, driver statistics, performance counters, etc. |
||
151 | Set GALLIUM_HUD=help and run e.g. glxgears for more info. |
||
152 | |||
153 | rather than stderr. |
||
154 | |||
155 | variables which are used, and their current values. |
||
156 | |||
157 | |||
158 | print any errors to stderr. |
||
159 | |||
160 | |||
161 | |||
162 | shaders, vertex fetch, etc. |
||
163 | |||
164 | Setting to "tgsi", for example, will print all the TGSI shaders. |
||
165 | See src/mesa/state_tracker/st_debug.c for other options. |
||
166 | |||
167 | |||
168 |
|
||
169 | |||
170 | |||
171 | to stderr |
||
172 | |||
173 | to stderr |
||
174 | |||
175 | |||
176 | vertex shading procesing. |
||
177 | |||
178 | |||
179 | |||
180 |
|
||
181 | |||
182 | |||
183 | |||
184 | source code for details. |
||
185 | |||
186 | parts of the driver. See the source code for details. |
||
187 | |||
188 | Zero turns of threading completely. The default value is the number of CPU |
||
189 | cores present. |
||
190 | |||
191 | |||
192 |
|
||
193 | |||
194 | |||
195 | |||
196 | (will often result in incorrect rendering). |
||
197 | |||
198 | for details. |
||
199 | |||
200 | |||
201 | |||
202 | |||
203 | |||
204 | Other Gallium drivers have their own environment variables. These may change |
||
205 | frequently so the source code should be consulted for details. |
||
206 | |||
207 | |||
208 | |||
209 | |||
210 | !DOCTYPE> |