1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2 <html lang="en"> 3 <head> 4 <meta http-equiv="content-type" content="text/html; charset=utf-8"> 5 <title>Mesa Release Notes</title> 6 <link rel="stylesheet" type="text/css" href="mesa.css"> 7 </head> 8 <body> 9 10 <h1>Mesa 7.11.1 Release Notes / November 17, 2011</h1> 11 12 <p> 13 Mesa 7.11.1 is a bug fix release which fixes bugs found since the 7.11 release. 14 </p> 15 <p> 16 Mesa 7.11 implements the OpenGL 2.1 API, but the version reported by 17 glGetString(GL_VERSION) depends on the particular driver being used. 18 Some drivers don't support all the features required in OpenGL 2.1. 19 </p> 20 <p> 21 See the <a href="install.html">Compiling/Installing page</a> for prerequisites 22 for DRI hardware acceleration. 23 </p> 24 25 26 <h2>MD5 checksums</h2> 27 <pre> 28 ac0181a4076770fb657c1169af43aa09 MesaLib-7.11.1.tar.gz 29 a77307102cee844ff6544ffa8fafeac1 MesaLib-7.11.1.tar.bz2 30 dfcb11516c1730f3981b55a65a835623 MesaLib-7.11.1.zip 31 2cb2b9ecb4fb7d1a6be69346ee886952 MesaGLUT-7.11.1.tar.gz 32 3f54e314290d4dacbab089839197080b MesaGLUT-7.11.1.tar.bz2 33 5d66c7ee8c5cc2f27e1ffb037ad4172c MesaGLUT-7.11.1.zip 34 </pre> 35 36 <h2>New features</h2> 37 <p>None.</p> 38 39 <h2>Bug fixes</h2> 40 41 <p>This list is likely incomplete.</p> 42 43 <ul> 44 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=3165">Bug 3165</a> - texImage.IsCompressed and texImage.CompressedSize issues</li> 45 46 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=23525">Bug 23525</a> - Software rendering on QEMU guests badly broken</li> 47 48 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=28125">Bug 28125</a> - DRI2 prevents indirect glx</li> 49 50 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=34628">Bug 34628</a> - [ilk] skybox errors in quake4</li> 51 52 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=36371">Bug 36371</a> - r200: piglit readPixSanity failure</li> 53 54 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=36669">Bug 36669</a> - EmitNoMainReturn set to 1 doesn't make the GLSL compiler lower all the RET opcodes</li> 55 56 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=36939">Bug 36939</a> - multitexturing is messed up in quake wars (regression)</li> 57 58 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=37907">Bug 37907</a> - [swrast] SIGSEGV swrast/s_depth.c:569</li> 59 60 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38163">Bug 38163</a> - Gnome Shell Display Bug</li> 61 62 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38625">Bug 38625</a> - ast_to_hir.cpp:1761: const glsl_type* process_array_type(YYLTYPE*, const glsl_type*, ast_node*, _mesa_glsl_parse_state*): Assertion `dummy_instructions.is_empty()' failed.</li> 63 64 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38729">Bug 38729</a> - [softpipe] sp_quad_depth_test.c:215:convert_quad_stencil: Assertion `0' failed.</li> 65 66 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=38863">Bug 38863</a> - [IVB]GPU hang when running 3D games like openarena</li> 67 68 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=39193">Bug 39193</a> - [llvmpipe and r600g] glCheckFramebufferStatusEXT segfaults in Gallium when checking status on a framebuffer bound to a texture that's bound to a pixmap</li> 69 70 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=39651">Bug 39651</a> - [glsl] Assertion failure when implicitly converting out parameters</li> 71 72 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=39991">Bug 39991</a> - [regression]GL_PALETTE8_RGBA8_OES format of glCompressedTexImage2D will cause err GL_INVALID_ENUM with GLES1.x</li> 73 74 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40022">Bug 40022</a> - [i915] out-of-bounds write src/mesa/drivers/dri/i915/i915_fragprog.c:321</li> 75 76 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40062">Bug 40062</a> - in etqw the strogg radar is black (regression)</li> 77 78 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40324">Bug 40324</a> - [SNB] gpu hang in mesa 7.11</li> 79 80 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=40533">Bug 40533</a> - i915: piglit glean/readPixSanity: DRI2SwapBuffers: BadDrawable (invalid Pixmap or Window parameter)</li> 81 82 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41096">Bug 41096</a> - [sandybridge-m-gt2+] GPU lockup render.IPEHR: 0x7a000002</li> 83 84 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=41969">Bug 41969</a> - The Mesa meta save/restore code doesn't always save the active program</li> 85 86 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=42175">Bug 42175</a> - RV730: Display errors in glxgears & WebGL</li> 87 88 <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=42268">Bug 42268</a> - [bisected] oglc pbo(negative.invalidOffsetValue) aborts on 7.11 branch</li> 89 90 <!-- <li><a href="https://bugs.freedesktop.org/show_bug.cgi?id=">Bug </a> - </li> --> 91 92 </ul> 93 94 95 <h2>Changes</h2> 96 <p>The full set of changes can be viewed by using the following GIT command:</p> 97 98 <pre> 99 git log mesa-7.11..mesa-7.11.1 100 </pre> 101 102 <p>Adam Jackson (2):</p> 103 <ul> 104 <li>drisw: Remove cargo culting that breaks GLX 1.3 ctors</li> 105 <li>glx: Don't enable INTEL_swap_event unconditionally</li> 106 </ul> 107 108 <p>Alex Deucher (1):</p> 109 <ul> 110 <li>r600g: fix up vs export handling</li> 111 </ul> 112 113 <p>Ben Widawsky (1):</p> 114 <ul> 115 <li>intel: GetBuffer fix</li> 116 </ul> 117 118 <p>Brian Paul (15):</p> 119 <ul> 120 <li>docs: add 7.11 md5 sums</li> 121 <li>docs: news item for 7.11 release</li> 122 <li>st/mesa: Convert size assertions to conditionals in st_texture_image_copy.</li> 123 <li>softpipe: add missing stencil format case in convert_quad_stencil()</li> 124 <li>mesa: fix texstore addressing bugs for depth/stencil formats</li> 125 <li>mesa: add missing breaks for GL_TEXTURE_CUBE_MAP_SEAMLESS queries</li> 126 <li>swrast: don't try to do depth testing if there's no depth buffer</li> 127 <li>meta: fix/add checks for GL_EXT_framebuffer_sRGB</li> 128 <li>mesa: fix PACK_COLOR_5551(), PACK_COLOR_1555() macros</li> 129 <li>meta: fix broken sRGB mipmap generation</li> 130 <li>mesa: add _NEW_CURRENT_ATTRIB in _mesa_program_state_flags()</li> 131 <li>mesa: fix error handling for dlist image unpacking</li> 132 <li>mesa: generate GL_INVALID_OPERATION in glIsEnabledIndex() between Begin/End</li> 133 <li>mesa: fix incorrect error code in _mesa_FramebufferTexture1D/3DEXT()</li> 134 <li>mesa: fix format/type check in unpack_image() for bitmaps</li> 135 </ul> 136 137 <p>Carl Simonson (1):</p> 138 <ul> 139 <li>i830: Add missing vtable entry for i830 from the hiz work.</li> 140 </ul> 141 142 <p>Carl Worth (5):</p> 143 <ul> 144 <li>glcpp: Fix two (or more) successive applications of token pasting</li> 145 <li>glcpp: Test a non-function-like macro using the token paste operator</li> 146 <li>glcpp: Implement token pasting for non-function-like macros</li> 147 <li>glcpp: Raise error if defining any macro containing two consecutive underscores</li> 148 <li>glcpp: Add a test for #elif with an undefined macro.</li> 149 </ul> 150 151 <p>Chad Versace (5):</p> 152 <ul> 153 <li>glsl: Add method glsl_type::can_implicitly_convert_to()</li> 154 <li>glsl: Fix implicit conversions in non-constructor function calls</li> 155 <li>glsl: Remove ir_function.cpp:type_compare()</li> 156 <li>glsl: Fix conversions in array constructors</li> 157 <li>x86-64: Fix compile error with clang</li> 158 </ul> 159 160 <p>Chia-I Wu (3):</p> 161 <ul> 162 <li>glsl: empty declarations should be valid</li> 163 <li>intel: rename intel_extensions_es2.c to intel_extensions_es.c</li> 164 <li>intel: fix GLESv1 support</li> 165 </ul> 166 167 <p>Chris Wilson (1):</p> 168 <ul> 169 <li>i915: out-of-bounds write in calc_live_regs()</li> 170 </ul> 171 172 <p>Christopher James Halse Rogers (1):</p> 173 <ul> 174 <li>glx/dri2: Paper over errors in DRI2Connect when indirect</li> 175 </ul> 176 177 <p>David Reveman (1):</p> 178 <ul> 179 <li>i915g: Fix off-by-one in scissors.</li> 180 </ul> 181 182 <p>Eric Anholt (16):</p> 183 <ul> 184 <li>mesa: Don't skip glGetProgramEnvParam4dvARB if there was already an error.</li> 185 <li>mesa: Fix glGetUniform() type conversions.</li> 186 <li>mesa: Add support for Begin/EndConditionalRender in display lists.</li> 187 <li>mesa: Throw an error instead of asserting for condrender with query == 0.</li> 188 <li>mesa: Throw an error when starting conditional render on an active query.</li> 189 <li>mesa: Don't skip glGetProgramLocalParam4dvARB if there was already an error.</li> 190 <li>glsl: Allow ir_assignment() constructor to not specify condition.</li> 191 <li>glsl: Clarify error message about whole-array assignment in GLSL 1.10.</li> 192 <li>glsl: When assigning to a whole array, mark the array as accessed.</li> 193 <li>glsl: When assiging from a whole array, mark it as used.</li> 194 <li>i965/fs: Respect ARB_color_buffer_float clamping.</li> 195 <li>i965: Add missing _NEW_POLYGON flag to polygon stipple upload.</li> 196 <li>i965: Fix polygon stipple offset state flagging.</li> 197 <li>intel: Mark MESA_FORMAT_X8_Z24 as always supported.</li> 198 <li>mesa: Don't error on glFeedbackBuffer(size = 0, buffer = NULL)</li> 199 <li>glsl: Fix gl_NormalMatrix swizzle setup to match i965's invariants.</li> 200 </ul> 201 202 <p>Henri Verbeet (6):</p> 203 <ul> 204 <li>mesa: Also set the remaining draw buffers to GL_NONE when updating just the first buffer in _mesa_drawbuffers().</li> 205 <li>r600g: Support the PIPE_FORMAT_R16_FLOAT colorformat.</li> 206 <li>mesa: Check the texture against all units in unbind_texobj_from_texunits().</li> 207 <li>mesa: Allow sampling from units >= MAX_TEXTURE_UNITS in shaders.</li> 208 <li>mesa: Use the Elements macro for the sampler index assert in validate_samplers().</li> 209 <li>mesa: Fix a couple of TexEnv unit limits.</li> 210 </ul> 211 212 <p>Ian Romanick (17):</p> 213 <ul> 214 <li>mesa: Add utility function to get base format from a GL compressed format</li> 215 <li>mesa: Return the correct internal fmt when a generic compressed fmt was used</li> 216 <li>mesa: Make _mesa_get_compressed_formats match the texture compression specs</li> 217 <li>linker: Make linker_error set LinkStatus to false</li> 218 <li>linker: Make linker_{error,warning} generally available</li> 219 <li>mesa: Ensure that gl_shader_program::InfoLog is never NULL</li> 220 <li>ir_to_mesa: Use Add linker_error instead of fail_link</li> 221 <li>ir_to_mesa: Emit warnings instead of errors for IR that can't be lowered</li> 222 <li>i915: Fail without crashing if a Mesa IR program uses too many registers</li> 223 <li>i915: Only emit program errors when INTEL_DEBUG=wm or INTEL_DEBUG=fallbacks</li> 224 <li>mesa: Add GL_OES_compressed_paletted_texture formats to _mesa_is_compressed_format</li> 225 <li>mesa: Add GL_OES_compressed_paletted_texture formats to _mesa_base_tex_format</li> 226 <li>mesa: Refactor expected texture size check in cpal_get_info</li> 227 <li>mesa: Add _mesa_cpal_compressed_format_type</li> 228 <li>mesa: Refactor compressed texture error checks to work with paletted textures</li> 229 <li>mesa: Remove redundant compressed paletted texture error checks</li> 230 <li>mesa: Advertise GL_OES_compressed_paletted_texture in OpenGL ES1.x</li> 231 </ul> 232 233 <p>Jeremy Huddleston (3):</p> 234 <ul> 235 <li>apple: Silence some debug spew</li> 236 <li>apple: Use the correct (OpenGL.framework) glViewport and glScissor during init</li> 237 <li>apple: Implement applegl_unbind_context</li> 238 </ul> 239 240 <p>Jos Fonseca (1):</p> 241 <ul> 242 <li>docs: Update llvmpipe docs.</li> 243 </ul> 244 245 <p>Kenneth Graunke (12):</p> 246 <ul> 247 <li>glsl: Avoid massive ralloc_strndup overhead in S-Expression parsing.</li> 248 <li>mesa: In validate_program(), initialize errMsg for safety.</li> 249 <li>i965/gen5+: Fix incorrect miptree layout for non-power-of-two cubemaps.</li> 250 <li>i965: Use proper texture alignment units for cubemaps on Gen5+.</li> 251 <li>i965: Fix incorrect maximum PS thread count shift on Ivybridge.</li> 252 <li>i965: Emit depth stalls and flushes before changing depth state on Gen6+.</li> 253 <li>i965/fs: Allow SIMD16 with control flow on Ivybridge.</li> 254 <li>i965: Allow SIMD16 color writes on Ivybridge.</li> 255 <li>i965: Fix inconsistent indentation in brw_eu_emit.c.</li> 256 <li>intel: Depth format fixes</li> 257 <li>i965: Apply post-sync non-zero workaround to homebrew workaround.</li> 258 <li>mesa/get: Move MAX_LIGHTS from GL/ES2 to GL/ES1.</li> 259 </ul> 260 261 <p>Kristian Hgsberg (1):</p> 262 <ul> 263 <li>glx: Don't flush twice if we fallback to dri2CopySubBuffer</li> 264 </ul> 265 266 <p>Marc Pignat (1):</p> 267 <ul> 268 <li>drisw: Fix 24bpp software rendering, take 2</li> 269 </ul> 270 271 <p>Marcin Baczyski (2):</p> 272 <ul> 273 <li>configure: fix gcc version check</li> 274 <li>configure: allow C{,XX}FLAGS override</li> 275 </ul> 276 277 <p>Marcin Slusarz (3):</p> 278 <ul> 279 <li>nouveau: fix nouveau_fence leak</li> 280 <li>nouveau: fix crash during fence emission</li> 281 <li>nouveau: fix fence hang</li> 282 </ul> 283 284 <p>Marek Olk (19):</p> 285 <ul> 286 <li>vbo: do not call _mesa_max_buffer_index in debug builds</li> 287 <li>winsys/radeon: fix space checking</li> 288 <li>r300/compiler: fix a warning that a variable may be uninitialized</li> 289 <li>r300/compiler: remove an unused-but-set variable and simplify the code</li> 290 <li>u_vbuf_mgr: cleanup original vs real vertex buffer arrays</li> 291 <li>u_vbuf_mgr: don't take per-instance attribs into acc. when computing max index</li> 292 <li>u_vbuf_mgr: fix max_index computation for large src_offset</li> 293 <li>u_vbuf_mgr: s/u_vbuf_mgr_/u_vbuf_</li> 294 <li>u_vbuf_mgr: remove unused flag U_VBUF_UPLOAD_FLUSHED</li> 295 <li>u_vbuf_mgr: rework user buffer uploads</li> 296 <li>u_vbuf_mgr: fix uploading with a non-zero index bias</li> 297 <li>configure.ac: fix xlib-based softpipe build</li> 298 <li>r600g: add index_bias to index buffer bounds</li> 299 <li>r300g: fix rendering with a non-zero index bias in draw_elements_immediate</li> 300 <li>Revert "r300g: fix rendering with a non-zero index bias in draw_elements_immediate"</li> 301 <li>pb_bufmgr_cache: flush cache when create_buffer fails and try again</li> 302 <li>r300g: don't return NULL in resource_from_handle if the resource is too small</li> 303 <li>r600g: set correct tiling flags in depth info</li> 304 <li>r300g: don't call u_trim_pipe_prim in r300_swtcl_draw_vbo</li> 305 </ul> 306 307 <p>Michel Dnzer (4):</p> 308 <ul> 309 <li>st/mesa: Finalize texture on render-to-texture.</li> 310 <li>glx/dri2: Don't call X server for SwapBuffers when there's no back buffer.</li> 311 <li>gallium/util: Add macros for converting from little endian to CPU byte order.</li> 312 <li>r300g: Fix queries on big endian hosts.</li> 313 </ul> 314 315 <p>Neil Roberts (1):</p> 316 <ul> 317 <li>meta: Fix saving the active program</li> 318 </ul> 319 320 <p>Paul Berry (18):</p> 321 <ul> 322 <li>glsl: Lower unconditional return statements.</li> 323 <li>glsl: Refactor logic for determining whether to lower return statements.</li> 324 <li>glsl: lower unconditional returns and continues in loops.</li> 325 <li>glsl: Use foreach_list in lower_jumps.cpp</li> 326 <li>glsl: In lower_jumps.cpp, lower both branches of a conditional.</li> 327 <li>glsl: Lower break instructions when necessary at the end of a loop.</li> 328 <li>glsl: improve the accuracy of the radians() builtin function</li> 329 <li>glsl: improve the accuracy of the atan(x,y) builtin function.</li> 330 <li>Revert "glsl: Skip processing the first function's body in do_dead_functions()."</li> 331 <li>glsl: Emit function signatures at toplevel, even for built-ins.</li> 332 <li>glsl: Constant-fold built-in functions before outputting IR</li> 333 <li>glsl: Check array size is const before asserting that no IR was generated.</li> 334 <li>glsl: Perform implicit type conversions on function call out parameters.</li> 335 <li>glsl: Fix type error when lowering integer divisions</li> 336 <li>glsl: Rework oversize array check for gl_TexCoord.</li> 337 <li>glsl: Remove field array_lvalue from ir_variable.</li> 338 <li>glsl hierarchical visitor: Do not overwrite base_ir for parameter lists.</li> 339 <li>glsl: improve the accuracy of the asin() builtin function.</li> 340 </ul> 341 342 <p>Tobias Droste (1):</p> 343 <ul> 344 <li>r300/compiler: simplify code in peephole_add_presub_add</li> 345 </ul> 346 347 <p>Tom Fogal (1):</p> 348 <ul> 349 <li>Only use gcc visibility support with gcc4+.</li> 350 </ul> 351 352 <p>Tom Stellard (1):</p> 353 <ul> 354 <li>r300/compiler: Fix regalloc for values with multiple writers</li> 355 </ul> 356 357 <p>Vadim Girlin (5):</p> 358 <ul> 359 <li>st/mesa: flush bitmap cache on query and conditional render boundaries</li> 360 <li>r600g: use backend mask for occlusion queries</li> 361 <li>r600g: take into account force_add_cf in pops</li> 362 <li>r600g: fix check_and_set_bank_swizzle</li> 363 <li>r600g: fix replace_gpr_with_pv_ps</li> 364 </ul> 365 366 <p>Yuanhan Liu (17):</p> 367 <ul> 368 <li>i965: fix the constant interp bitmask for flat mode</li> 369 <li>mesa: fix error handling for glEvalMesh1/2D</li> 370 <li>mesa: fix error handling for some glGet* functions</li> 371 <li>mesa: fix error handling for glTexEnv</li> 372 <li>mesa: fix error handling for glIsEnabled</li> 373 <li>mesa: fix error handling for glPixelZoom</li> 374 <li>mesa: fix error handling for glSelectBuffer</li> 375 <li>mesa: fix error handling for glMapBufferRange</li> 376 <li>mesa: fix error handling for glMaterial*</li> 377 <li>intel: fix the wrong code to detect null texture.</li> 378 <li>mesa: add a function to do the image data copy stuff for save_CompressedTex(Sub)Image</li> 379 <li>i965: setup address rounding enable bits</li> 380 <li>mesa: generate error if pbo offset is not aligned with the size of specified type</li> 381 <li>mesa: fix inverted pbo test error at _mesa_GetnCompressedTexImageARB</li> 382 <li>mesa: handle the pbo case for save_Bitmap</li> 383 <li>mesa: handle PBO access error in display list mode</li> 384 <li>intel: don't call unmap pbo if pbo is not mapped</li> 385 </ul> 386 387 </body> 388 </html> 389