The Mesa 3D Graphics Library

# Mesa 17.3.0 Release Notes / December 8. 2017

Mesa 17.3.0 is a new development release. People who are concerned with stability and reliability should stick with a previous release or wait for Mesa 17.3.1.

Mesa 17.3.0 implements the OpenGL 4.5 API, but the version reported by glGetString(GL_VERSION) or glGetIntegerv(GL_MAJOR_VERSION) / glGetIntegerv(GL_MINOR_VERSION) depends on the particular driver being used. Some drivers don't support all the features required in OpenGL 4.5. OpenGL 4.5 is only available if requested at context creation because compatibility contexts are not supported.

## SHA256 checksums

    0cb1ffe2b4637d80f08df3bdfeb300352dcffd8ff4f6711278639b084e3f07f9  mesa-17.3.0.tar.gz
    29a0a3a6c39990d491a1a58ed5c692e596b3bfc6c01d0b45e0b787116c50c6d9  mesa-17.3.0.tar.xz

## New features

Note: some of the new features are only available with certain drivers.

- libtxc_dxtn is now integrated into Mesa. GL_EXT_texture_compression_s3tc and GL_ANGLE_texture_compression_dxt are now always enabled on drivers that support them
- GL_ARB_indirect_parameters on i965/gen7+
- GL_ARB_polygon_offset_clamp on i965, nv50, nvc0, r600, radeonsi, llvmpipe, swr
- GL_ARB_transform_feedback_overflow_query on radeonsi
- GL_ARB_texture_filter_anisotropic on i965, nv50, nvc0, r600, radeonsi
- GL_EXT_memory_object on radeonsi
- GL_EXT_memory_object_fd on radeonsi
- EGL_ANDROID_native_fence_sync on radeonsi with a future kernel (possibly 4.15)
- EGL_IMG_context_priority on i965

## Bug fixes

- Bug 97532 - Regression: GLB 2.7 & Glmark-2 GLES versions segfault due to linker precision error (259fc505) on dead variable
- Bug 100438 - glsl/ir.cpp:1376: ir_dereference_variable::ir_dereference_variable(ir_variable*): Assertion `var != NULL' failed.
- Bug 100613 - Regression in Mesa 17 on s390x (zSystems)
- Bug 101334 - AMD SI cards: Some vulkan apps freeze the system
- Bug 101378 - interpolateAtSample check for input parameter is too strict
- Bug 101655 - Explicit sync support for android
- Bug 101691 - gfx corruption on windowed 3d-apps running on dGPU
- Bug 101709 - [llvmpipe] piglit gl-1.0-scissor-offscreen regression
- Bug 101766 - Assertion `!"invalid type"' failed when constant expression involves literal of different type
- Bug 101832 - [PATCH][regression][bisect] Xorg fails to start after f50aa21456d82c8cb6fbaa565835f1acc1720a5d
- Bug 101851 - [regression] libEGL_common.a undefined reference to '__gxx_personality_v0'
- Bug 101867 - Launch options window renders black in Feral Games in current Mesa trunk
- Bug 101876 - SIGSEGV when launching Steam
- Bug 101910 - [BYT] ES31-CTS.functional.copy_image.non_compressed.viewclass_96_bits.rgb32f_rgb32f
- Bug 101925 - playstore/webview crash
- Bug 101941 - Getting different output depending on attribute declaration order
- Bug 101961 - Serious Sam Fusion hangs system completely
- Bug 101981 - Commit ddc32537d6db69198e88ef0dfe19770bf9daa536 breaks rendering in multiple applications
- Bug 101982 - Weston crashes when running an OpenGL program on i965
- Bug 101983 - [G33] ES2-CTS.functional.shaders.struct.uniform.sampler_nested* regression
- Bug 101989 - ES3-CTS.functional.state_query.integers.viewport_getinteger regression
- Bug 102006 - gstreamer vaapih264enc segfault
- Bug 102014 - Mesa git build broken by commit bc7f41e11d325280db12e7b9444501357bc13922
- Bug 102015 - [Regression,bisected]: Segfaults with various programs
- Bug 102024 - FORMAT_FEATURE_SAMPLED_IMAGE_BIT not supported for D16_UNORM and D32_SFLOAT
- Bug 102038 - assertion failure in update_framebuffer_size
- Bug 102050 - commit b4f639d02a causes build breakage on Android 32bit builds
- Bug 102052 - No package 'expat' found
- Bug 102062 - Segfault at eglCreateContext in android-x86
- Bug 102125 - [softpipe] piglit arb_texture_view-targets regression
- Bug 102148 - Crash when running qopenglwidget example on mesa llvmpipe win32
- Bug 102177 - [SKL] ES31-CTS.core.sepshaderobjs.StateInteraction fails sporadically
- Bug 102201 - [regression, SI] GPU crash in Unigine Valley
- Bug 102241 - gallium/wgl: SwapBuffers freezing regularly with swap interval enabled
- Bug 102274 - assertion failure in ir_validate.cpp:240
- Bug 102308 - segfault in glCompressedTextureSubImage3D
- Bug 102358 - WarThunder freezes at start, with activated vsync (vblank_mode=2)
- Bug 102377 - PIPE_*_4BYTE_ALIGNED_ONLY caps crashing
- Bug 102429 - [regression, SI] Performance decrease in Unigine Valley & Heaven
- Bug 102435 - [skl,kbl] [drm] GPU HANG: ecode 9:0:0x86df7cf9, in csgo_linux64 [4947], reason: Hang on rcs, action: reset
- Bug 102454 - glibc 2.26 doesn't provide anymore xlocale.h
- Bug 102461 - [llvmpipe] piglit glean fragprog1 XPD test 1 regression
- Bug 102467 - src/mesa/state_tracker/st_cb_readpixels.c:178]: (warning) Redundant assignment
- Bug 102496 - Frontbuffer rendering corruption on mesa master
- Bug 102502 - [bisected] Kodi crashes since commit 707d2e8b - gallium: fold u_trim_pipe_prim call from st/mesa to drivers
- Bug 102530 - [bisected] Kodi crashes when launching a stream - commit bd2662bf
- Bug 102552 - Null dereference due to not checking return value of util_format_description
- Bug 102565 - u_debug_stack.c:114: undefined reference to `_Ux86_64_getcontext'
- Bug 102573 - fails to build on armel
- Bug 102665 - test_glsl_to_tgsi_lifetime.cpp:53:67: error: ‘>>’ should be ‘> >’ within a nested template argument list
- Bug 102677 - [OpenGL CTS] KHR-GL45.CommonBugs.CommonBug_PerVertexValidation fails
- Bug 102680 - [OpenGL CTS] KHR-GL45.shader_ballot_tests.ShaderBallotBitmasks fails
- Bug 102685 - piglit.spec.glsl-1_50.compiler.vs-redeclares-pervertex-out-before-global-redeclaration
- Bug 102774 - [BDW] [Bisected] Absolute constant buffers break VAAPI in mpv
- Bug 102809 - Rust shadows(?) flash random colours
- Bug 102844 - memory leak with glDeleteProgram for shader program type GL_COMPUTE_SHADER
- Bug 102847 - swr fail to build with llvm-5.0.0
- Bug 102852 - Scons: Support the new Scons 3.0.0
- Bug 102904 - piglit and gl45 cts linker tests regressed
- Bug 102924 - mesa (git version) images too dark
- Bug 102940 - Regression: Vulkan KMS rendering crashes since 17.2
- Bug 102955 - HyperZ related rendering issue in ARK: Survival Evolved
- Bug 102999 - [BISECTED,REGRESSION] Failing Android EGL dEQP with RGBA configs
- Bug 103002 - string_buffer_test.cpp:43: error: ISO C++ forbids initialization of member ‘str1’
- Bug 103085 - [ivb byt hsw] piglit.spec.arb_indirect_parameters.tf-count-arrays
- Bug 103098 - [OpenGL CTS] KHR-GL45.enhanced_layouts.varying_structure_locations fails
- Bug 103101 - [SKL][bisected] DiRT Rally GPU hang
- Bug 103115 - [BSW BXT GLK] dEQP-VK.spirv_assembly.instruction.compute.sconvert.int32_to_int64
- Bug 103128 - [softpipe] piglit fs-ldexp regression
- Bug 103142 - R600g+sb: optimizer apparently stuck in an endless loop
- Bug 103214 - GLES CTS functional.state_query.indexed.atomic_counter regression
- Bug 103227 - [G965 G45 ILK] ES2-CTS.gtf.GL2ExtensionTests.texture_float.texture_float regression
- Bug 103247 - Performance regression: car chase, manhattan
- Bug 103253 - blob.h:138:1: error: unknown type name 'ssize_t'
- Bug 103265 - [llvmpipe] piglit depth-tex-compare regression
- Bug 103323 - Possible unintended error message in file pixel.c line 286
- Bug 103388 - Linking libcltgsi.la (llvm/codegen/libclllvm_la-common.lo) fails with "error: no match for 'operator-'" with GCC-7, Mesa from Git and current LLVM revisions
- Bug 103393 - glDispatchComputeGroupSizeARB : gl_GlobalInvocationID.x != gl_WorkGroupID.x * gl_LocalGroupSizeARB.x + gl_LocalInvocationID.x
- Bug 103412 - gallium/wgl: Another fix to context creation without prior SetPixelFormat()
- Bug 103519 - wayland egl apps crash on start with mesa 17.2
- Bug 103529 - [GM45] GPU hang with mpv fullscreen (bisected)
- Bug 103537 - i965: Shadow of Mordor broken since commit 379b24a40d3d34ffdaaeb1b328f50e28ecb01468 on Haswell
- Bug 103544 - Graphical glitches r600 in game this war of mine linux native
- Bug 103616 - Increased difference from reference image in shaders
- Bug 103628 - [BXT, GLK, BSW] KHR-GL46.shader_ballot_tests.ShaderBallotBitmasks
- Bug 103759 - plasma desktop corrupted rendering
- Bug 103787 - [BDW,BSW] gpu hang on spec.arb_pipeline_statistics_query.arb_pipeline_statistics_query-comp
- Bug 103909 - anv_allocator.c:113:1: error: static declaration of ‘memfd_create’ follows non-static declaration

## Changes