Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: What does it mean "legacy-x11" on the context of mesa? (Read 544 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

What does it mean "legacy-x11" on the context of mesa?

Looking at mesa's 25.2.0-rc2 I'm wondering what does legacy-x11 means:
Quote
Dylan Baker (1):
      meson: set the `legacy-x11` option as deprecated

Re: What does it mean "legacy-x11" on the context of mesa?

Reply #1
BTW, on artix's mesa's PKGBUILD I see it set to dri2:
Code: [Select]
    -D legacy-x11=dri2

Like 2-D rendering.  Does it mean mesa will only supports 3-D rendering?  Does it affect old GPUs somehow?

Re: What does it mean "legacy-x11" on the context of mesa?

Reply #2
No this has to do with DRI2 (Direct Rendering Infrastructure). This was a very old method of userspace graphics on linux that was superseded by DRI3 a few years later. Note that DRI3 is over 10 years old and DRI2 is even older. The 'legacy-x11' option (there's also a 'legacy-wayland' option too btw) builds mesa with support for the old DRI2 codepath. The chances of you actually using this is close to nil however. We're not talking just old graphics cards here, but truly ancient ones. Even then, xorg's modesetting driver (which is DRI3) probably would work with most of these if they're still around?

Basically, they're just going to drop some extremely legacy code that close to nobody still uses today.

Re: What does it mean "legacy-x11" on the context of mesa?

Reply #3
Understood, many thanks !