Looking at mesa's 25.2.0-rc2 (https://lists.freedesktop.org/archives/mesa-dev/2025-July/226536.html) I'm wondering what does
legacy-x11 means:
BTW, on artix's mesa's PKGBUILD (https://gitea.artixlinux.org/packages/mesa/src/branch/master/PKGBUILD) I see it set to
dri2:
-D legacy-x11=dri2
Like 2-D rendering. Does it mean mesa will only supports 3-D rendering? Does it affect old GPUs somehow?
No this has to do with DRI2 (Direct Rendering Infrastructure (https://en.wikipedia.org/wiki/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.
Understood, many thanks !