VOOZH about

URL: https://www.phoronix.com/news/R300g-Code-Cleanup-2026

⇱ Open-Source Radeon Driver For R300 Through R500 GPUs Sees Big Code Cleanup In 2026 - Phoronix


👁 Phoronix

Open-Source Radeon Driver For R300 Through R500 GPUs Sees Big Code Cleanup In 2026

Written by Michael Larabel in Radeon on 11 May 2026 at 08:33 PM EDT. 32 Comments
The open-source Radeon "R300g" driver living within the Mesa codebase for supporting the aging ATI (AMD) Radeon 9500 "R300" through Radeon X1000 "R500" series graphics processors is going through a big code restructuring as part of a big undertaking in 2026... Yes, 24 years after the ATI R300 GPUs first released, thanks to a devoted open-source developer fan, there is a significant improvement in the works.

Pavel Ondračka is one of the few open-source developers giving any time in recent years to enhancing the ATI/AMD R300 Gallium3D driver. Even the Radeon X1000 series is nearly 21 years old as the "newest" of the GPUs supported by this open-source 3D driver. This new code restructuring and development work is coming even with some Mesa developers considering branching off the old hardware drivers which could impact the R300g driver.

👁 Radeon X800 XL


Pavel Ondračka has been tackling lots of dead code removal and other clean-ups as part of his work toward ultimately merging the nir_to_rc and tgsi_to_rc code paths of the driver. The R300g driver is still relying on Gallium3D's TGSI intermediate representation. TGSI has long been out of favor with Mesa drivers for many years now preferring the NIR intermediate representation. The newer more prominent drivers in Mesa have long since transitioned to using NIR rather than TGSI while R300g still has these old remnants in place.

👁 Radeon X800 XL uses R300g


NIR allows for more optimization capabilities, better performance, and all around a better design yet R300g has still been going through TGSI in the middle layer. Granted, for 20+ year old GPUs this won't magically make modern games suddenly playable or anything like that, but it's a nice example of open-source at its finest for continuing to see GPU driver improvements long after the official vendor support has ended.

👁 Radeon X1800 R500 uses R300g driver


This merge request landed in Mesa 26.2-devel today for the prep work and clean-ups. The work to actually skip going through TGSI in R300g isn't yet merged and currently staged via this branch. Pavel reports that work to remove TGSI from R300g is mostly working but not yet 100% complete. Hopefully that fruitful step gets over the finish line in the not too distant future, at least before any old Mesa hardware drivers are once again removed from the codebase.

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.