AMD_DEBUG Can Now Be Used In Place Of R600_DEBUG For RadeonSI Options

Written by Michael Larabel in Radeon on 13 February 2019 at 02:08 AM EST. 2 Comments
When setting various debug options for the RadeonSI Gallium3D driver -- like enabling its NIR back-end among many other options -- that has traditionally been done through the R600_DEBUG= environment variable. But that variable name makes little sense these days since RadeonSI doesn't even support the now-vintage R600 GPUs. Thankfully, AMD_DEBUG= is now a supported alternative.

Marek Olšák added the support on Tuesday so the AMD_DEBUG environment variable for RadeonSI can now be used as an alternative to R600_DEBUG -- using that environment variable is still supported to keep any scripts, etc, working.

RadeonSI's use of R600_DEBUG is a vintage remnant stemming from the days of the R600 Gallium3D driver and carried over into the RadeonSI driver when it was introduced for providing AMD GCN graphics support. By now most long-time enthusiasts/gamers are used to writing R600_DEBUG even in the context of RadeonSI, but at least having AMD_DEBUG instead is long overdue and will hopefully avoid confusion by new users. So this article is just to serve as a quick alert about this new/alternative option in Mesa 19.1.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of 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 automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week