By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Mesa 25.2 Drops Legacy DRI2 Code With A Bonfire To Pre-DMABUF Winsys Support
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > Mesa 25.2 Drops Legacy DRI2 Code With A Bonfire To Pre-DMABUF Winsys Support
Computing

Mesa 25.2 Drops Legacy DRI2 Code With A Bonfire To Pre-DMABUF Winsys Support

News Room
Last updated: 2025/07/09 at 4:00 PM
News Room Published 9 July 2025
Share
SHARE

A big merge today to Mesa Git ahead of next week’s Mesa 25.2 code branching is removing the pre-DMA-BUF winsys support and as part of that clearing out all of the old DRI2 driver support.

Direct Rendering Infrastructure DRI2 was replaced by DRI3 a decade ago. All the important and useful drivers support DRI3 these days – and have for years. One year ago in Mesa 24.2 the DRI2 support was gated off by a “legacy-x11” build-time option.

With no user complaints and the DRI2 / legacy X11 support not receiving any love, Mesa 25.2 is going ahead and stripping out the code. In doing so, Mesa is more than three thousand lines of code lighter in removing this legacy code.

DRI2 bonfire

Daniel Stone of Collabora opened the merge request last week “Bonfire of pre-dmabuf winsys support” that was merged today. He commented there:

“X11’s DRI2 protocol was deprecated in 24.2, hidden behind a legacy-x11 build option, with DRI3 being used everywhere instead. A year on, we can remove it, which cleans up the byzantine X11 client support code.

Wayland similarly had the EGL_WL_bind_wayland_display extension from a time before dmabuf was a thing, and from before modifiers were a thing. We’ve had a universal way to exchange buffers for a long time now, with compositors and clients both using zwp_linux_dmabuf_v1 to negotiate and exchange buffers between them. We can move bind_wayland_display support behind a similar legacy-wayland build flag, with the aim of deprecating it in a couple of release cycles.

Even if we do have bind_wayland_display and its wl_drm extension, we can very much assume that anyone using it also has support for dmabufs, and unconditionally remove the old codepath to use the global GEM names (as distinct from context-local GEM handles) which is as much a security risk as it is a bad idea.

Doing this allows us to burn dri2_from_names(), whittling down the possible frontend <-> Gallium entrypoints for creating images.”

This code is now removed for Mesa 25.2 that in turn will debut as stable in August.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Save Hundreds on a New Desktop PC During Amazon Prime Day
Next Article Perplexity launches Comet, its AI-based web browser – 9to5Mac
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

The Trouble with Blaming Sci-Fi for Silicon Valley’s Obsessions | HackerNoon
Computing
Apple Releases Safari Technology Preview 223 With Bug Fixes and Performance Improvements
News
Amazon’s last-minute bid for TikTok comes as platform’s ban set to take effect Saturday
News
The Hidden Contagion Risks of Leveraged Crypto Lending | HackerNoon
Computing

You Might also Like

Computing

The Trouble with Blaming Sci-Fi for Silicon Valley’s Obsessions | HackerNoon

13 Min Read
Computing

The Hidden Contagion Risks of Leveraged Crypto Lending | HackerNoon

11 Min Read
Computing

The Case for Polyfuturism: Bringing Culture Back to Futures Thinking | HackerNoon

11 Min Read
Computing

AI Writes Code Now—So Why Do Developers Still Matter? | HackerNoon

18 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?