Mesa Drops DRI2 Support

In the latest update to Mesa 25.2, support for the infrastructure dri2 (Direct Rendering Infrastructure) has been removed from the code base. This support was replaced by direct access to the video adapter, DMA-BUF. The decision to remove DRI2 was made because the interface dri3 has been in existence for over 10 years, rendering DRI2 outdated. All supported GPU drivers have long implemented the DRI3 interface. In the previous Mesa 24.2 version, the use of DRI2 was already hidden behind the Legacy-X11 option, with no major issues arising for a year.

Looking ahead, Mesa developers are planning to eliminate support for other mechanisms that have become obsolete with the advent of DMA-BUF. This includes discontinuing support for the EGL extension egl_wl_bind_wayland_display, which was implemented for Wayland. To exchange pixel buffers between the client and the Wayland server, the Wayland Protocol linux_dmabuf is proposed as an alternative. Support for EGL_WL_BIND_WAYLAND_DISPLAY will be disabled by default and only activated when the “Legacy-Wayland” flag is specified, eventually being removed in subsequent releases.

/Reports, release notes, official announcements.