News: 0001632973

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

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

([Radeon] 3 Hours Ago NIR NIR NIR)


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čkar 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 [1]some Mesa developers considering branching off the old hardware drivers which could impact the R300g driver.

Pavel Ondračkar 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 [2]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.

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.

[3]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 [4]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.



[1] https://www.phoronix.com/news/Mesa-Considering-Amber-2

[2] https://www.phoronix.com/search/TGSI

[3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41467

[4] https://gitlab.freedesktop.org/ondracka/mesa/-/commits/r300_no_tgsi



A man gazing at the stars is proverbially at the mercy of the puddles
in the road.
-- Alexander Smith