Fixes GPU hang when playing HW accelerated videos with MPV

Nov 27, 2017 14:43 GMT  ·  By

While Mesa 17.3 is still in the works, the development team released this past weekend a new maintenance update to the current stable series of the open-source graphics stack for GNU/Linux distributions.

Mesa 17.2.6 is now available and brings many new fixes for Intel and AMD Radeon GPUs, including improvements to SIMD32 and little-core for the Intel i965 OpenGL driver and a fix for a GPU hang that occurred when playing hardware-accelerated video with the MPV open-source video player.

For AMD Radeon GPUs, the Mesa 17.2.6 update plugs not one but two memory leaks from the Radeon RADV Vulkan driver, and fixes an issue with the reversing of the tess factor components for isolines. on the r600 driver. On the other hand, Mesa 17.2.6 fixes two performance regressions for the SWR driver and addresses a use-after-free bug in the Gallium driver.

GLSL and SPIR-V compilers get more fixes, as well as EGL and GLX

Under the hood, Mesa Core gets a fix for a use-after-free issues and a new functionality to keep a program alive when re-linking. Several fixes also landed for both the GLSL and SPIR-V compilers, as well as for the EGL and GLX implementations, and the Wayland platform of the DRI2 drivers. A complete list with all the changes is attached below.

"From build and integration point of view, we have added some few more fixes, including one to allow building libglvnd when EGL is present but not GLX, another to enable building targets which don't need X11, such as omx and va, when XCB is not present, and another one to be able to specify the prefix installation for the OpenCL icd file," said Andres Gomez in the mailing list announcement.

Those fancying compiling the graphics stack on their favorite GNU/Linux distributions can download the Mesa 17.2.6 source tarball right now from our website, but the rest of the users should wait for the update to be available in the stable software repositories of their operating system before updating. Meanwhile, Mesa 17.3 received a fifth RC (Release Candidate) and should soon hit the stable channel.