Mesa 26.3.1 Ships Nearly 200 Patches for RADV, Intel ANV and the Jay Compiler

Mesa 26.3.1 Ships Nearly 200 Patches for RADV, Intel ANV and the Jay Compiler

Mesa 26.3.1 was released on November 18, nine days after 26.3, carrying close to 200 patches.

Fixes land where you would expect: RADV, ANV (Intel’s Vulkan driver), the Jay compiler and Nouveau. Turnip also picked up a Vulkan feature.

Why the Jay fixes were predictable

26.3 enabled Intel’s Jay shader compiler by default. Changing the default compiler for a driver is one of the highest-risk changes a graphics stack can make, because a shader compiler touches every application that renders anything.

Pre-release testing covers the applications someone thought to test. The remaining long tail is found by users, which is exactly what the nine days between 26.3 and 26.3.1 produced.

This is not a criticism of the release. It is what point releases are for, and a feature release followed quickly by a substantial point release is a project working correctly rather than one in trouble. The alternative, holding the feature release until the long tail is exhausted, means never shipping.

The practical guidance follows: on a system where graphics working matters more than having the newest Mesa, wait for the first point release of any feature series. Our rolling release guide covers the general version of this trade-off.

Updating

# check what you are running
glxinfo -B | grep 'OpenGL version'
vulkaninfo --summary 2>/dev/null | grep -i driverinfo

sudo pacman -Syu mesa            # Arch
sudo dnf upgrade 'mesa*'         # Fedora

If 26.3 introduced a rendering problem for you, this is the update to apply before investigating further.

Diagnosing a Mesa regression

Worth recording, since a point release is when people go looking.

# which driver is actually in use
glxinfo -B | grep -E 'renderer|Device'
MESA_DEBUG=1 glxgears 2>&1 | head

# is it the hardware driver or a software fallback
glxinfo -B | grep -i llvmpipe && echo "software rendering, something is wrong"

# force the older compiler path to confirm the cause
INTEL_DEBUG=nojay glxinfo -B 2>/dev/null | grep 'OpenGL version'

# shader cache, which can hold a bad compile across versions
rm -rf ~/.cache/mesa_shader_cache*

Clearing the shader cache is the step people miss. A shader compiled by the previous Mesa can be served from cache after an upgrade, so a bug appears to persist through an update that fixed it. It lives in ~/.cache, which our XDG directories guide covers, and deleting it is safe by definition.

llvmpipe appearing in the renderer string means you are on software rendering, which is a different and larger problem. Our Mesa stack explainer covers what that indicates and our GPU drivers guide covers the kernel half.