Forcing Multi-Sample Anti-Aliasing With Gallium3D

Written by Michael Larabel in Mesa on 16 December 2012 at 01:05 AM EST. 7 Comments
MESA
With the recent improvements to MSAA Gallium3D support, if you have been wanting to benefit from anti-aliasing with the open-source Gallium3D drivers but your game/application doesn't have options to toggle the MSAA level, it's now a bit easier to configure.

This week Marek Olšák introduced a GALLIUM_MSAA environment variable for setting the multi-sample anti-aliasing level. It works as one would suspect by setting the desired sample count as the value in the GALLIUM_MSAA environment variable or zero to have the support disabled.

Aside from the GALLIUM_MSAA variable, the __GL_FSAA_MODE environment variable serves the same purpose and is supported by this week's Git activity. The __GL_FSAA_MODE option is what NVIDIA's driver utilizes and thus there is Gallium3D support for it to try to provide some level of standardization.

Marek tested this support against Enemy Territory: Quake Wars for Linux where there is no native MSAA anti-aliasing controls. The commit to mainline Mesa can be found here.
Related News
About The Author
Michael Larabel

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.

Popular News This Week