KHR_no_error Support Merged In Mesa For Potentially Helping CPU Usage
Written by Michael Larabel in Mesa on 19 April 2017 at 06:27 AM EDT. 7 Comments
MESA --
Timothy Arceri at Valve has recently been working on OpenGL KHR_no_error support while now that initial code has been merged into Mesa 17.2-devel.

The KHR_no_error extension is about avoiding OpenGL error handling for GL games/applications known to be error-free. By avoiding the OpenGL error code, the CPU usage may be reduced and there is the potential for power-savings too. In place of the OpenGL error handling though is the possibility of undefined behavior, if the application is not in fact error-free.

The functionality with Mesa Git can be enabled via the MESA_NO_ERROR=1 environment variable, but it will be interesting to see just how many Linux OpenGL games are "error free" where they can be safely enabled. (Yes, many of you out there probably believe error-free OpenGL is an oxymoron.)

More details on this KHR_no_error extension are available from the OpenGL registry.
About The Author
Author picture

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 10,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 or contacted via MichaelLarabel.com.

Related Mesa News
Popular News