Intel Continues With Mesa Changes For Valve

Posted by Michael Larabel on August 07, 2012

Intel open-source developers continue to make changes to Mesa at the request of Valve Software's Linux team.

Following the recent article about Valve & Intel Work On Open-Source GPU Drivers, hitting the mailing list for Mesa development today was a set of patches by Intel's Eric Anholt with changes at the request of Valve.

The patch-set comes down to exposing more information than what is currently exposed through the GL_ARB_debug_output extension. Some of the information now exposed through the performance debug information include messages for freagment and vertex shaders triggering register spilling, GPU stalls waiting for a query object, advice to using a blit call for avoiding a stall on glBufferSubData(), stalling the GPU within glBufferSubData(), mapping a busy buffer object, failing to fast clear depth, notice on recompiling shaders, the state cache size limit being exceeded, and notice for stalls during shader compilation.

These performance debugging messages can benefit any OpenGL game/application developer, but are just available at this point for the i965 DRI driver and does require setting INTEL_DEBUG=perf.
One of Valve's requests was for GL_ARB_debug_output for performance traps they should know about. Unfortunately, Mesa's ARB_debug_output support is very limited at the moment, so this just gets messages in place, which we can convert to GL_ARB_debug_output at some later time.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. The Cost Of Ubuntu Disk Encryption
  2. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  3. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  4. F2FS File-System Shows Regressions On Linux 3.10
Latest Linux News
  1. Freedreno Gallium3D Now Banging The Adreno A3XX
  2. Jolla Announces Their First Phone
  3. Mageia 3 Released, Still Using Legacy GRUB
  4. NetBSD 6.1 Brings In More Features
  5. Using Six Monitors With AMD's Open-Source Linux Driver
  6. Benchmarking The Intel P-State, CPUfreq Changes
  7. FreeBSD Still Working On Next-Gen Package Manager
  8. DNF Still Advancing As Experimental Yum For Fedora
  9. Logitech Begins Supporting Linux Users
  10. Modern Intel Gallium3D Driver Still Being Toyed With
  11. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
Latest Forum Talk
  1. Freedreno Gallium3D Now Banging The Adreno A3XX
  2. Jolla Announces Their First Phone
  3. Using Six Monitors With AMD's Open-Source Linux...
  4. Features Being Developed For KDE 4.11 Desktop
  5. What is the breakdown of ad revenue vs paid...
  6. X3: Albion Prelude Released For Linux Gamers
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite