Mesa 24.3 Adds "Legacy X11" Build Option To Carve Out DRI2

Written by Michael Larabel in Mesa on 28 July 2024 at 12:00 AM EDT. 19 Comments
MESA
As part of the early Mesa 24.3 changes for this open-source 3D graphics driver stack coming out in Q4, a new "legacy-x11" build option has been introduced to its Meson build system.

Red Hat's Adam Jackson has added this new "legacy-x11" build option for Mesa to begin punting out older X11 support behind this option. Mesa already allows building without X11 platform support but this new option allows for continuing to build X11 support but beginning to gut out older X11 dependents.

Initially gated behind this new legacy-x11 build option is the DRI2 protocol support with DRI3 for years now taking the driver seat.

Adam Jackson explained in the merge request:
"This is another attempt to excise DRI2 protocol support from the build. A new list option legacy-x11 is introduced, and the dri2 feature for it corresponds to X11 protocol support for the DRI2 extension. We no longer build that support by default, removing it incrementally from GLX, EGL, and the video frontends. The result no longer links against libxcb-dri2 or (for GLX) defines any xlib binding to DRI2."

Red Hat's quest for modernizing the Linux desktop continues.

Mesa legacy-x11 Meson option MR


See this merge if interested in more details on this new "legacy-x11" option now within Mesa 24.3-devel.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week