GLX_MESA_query_renderer Extension Published

Posted by Michael Larabel on March 01, 2013

After talking about it for months with numerous software developers, game studios, and other stakeholders, Ian Romanick of Intel has published his initial specification on GLX_MESA_query_renderer, a new GLX extension (and coming to EGL too) for helping ISVs (and namely games) better understand the system they're running on.

What GLX_MESA_query_renderer seeks to address is covered in full-length detail within Intel To Improve "Out Of The Box" Linux Gaming. The basics come down to on Linux for a software program / game to determine the graphics card in use, details of the OpenGL driver, and other system information is a real mess and lacks standardization. Games have had to resort to using the PCI library and other measures for trying to determine the graphics card in use, which isn't always in right for cases of multi-GPU systems and laptops sporting NVIDIA Optimus and various other scenarios. There's also been other aspects of determining Linux system information that's a mess.

Games and other software need this information for making smarter choices about default visual quality settings for game engines and other cases for handling driver/hardware black-lists and other aspects of delivering the best experience. The Linux situation is currently a mess, so Romanick talked with many stakeholders to come up with a new solution, that's modelled largely after Apple's handling in OS X.

The GLX_MESA_query_renderer extension provides a method of determining the graphics card(s) in use (including the vendor / device IDs), video memory information, preferred OpenGL profile, supported versions of the OpenGL Core and Compatibility problems, and OpenGL ES information. Ian Romanick has drafted the specification for this GLX work and he's also done a prototype implementation within the query-renderer branch of Mesa.

Romanick published this initial work to the Mesa-dev list. Once the specification is settled, he's also planning a similar version of MESA_query_renderer for EGL.

GLX_MESA_query_renderer works to address a real-world problem with Linux and will hopefully be adopted by games and other software making use of OpenGL in advanced modes. However, for it to be really useful and widespread, the proprietary NVIDIA and AMD graphics drivers will also need to provide support for this extension.

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. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Debian GNU/Hurd 2013 Release Brings New Packages
  2. Intel Ultrabook Performance Is Faster With Mesa 9.2
  3. Hot Relocation HDD To SSD Support For Btrfs
  4. Phoronix Test Suite 4.6.0 "Utsira" Released
  5. New Intel X.Org Driver Supports All Of Haswell
  6. SQLite Now Faster With Memory Mapped I/O
  7. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  8. Qt For Tizen Launches, Based On Qt 5.1
  9. KTAP Released For Linux Kernel Dynamic Tracing
  10. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  11. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
Latest Forum Talk
  1. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  2. SQLite Now Faster With Memory Mapped I/O
  3. Microsoft Releases Skype For Linux 4.2, Has...
  4. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  5. Debian GNU/Hurd 2013 Release Brings New Packages
  6. New Intel X.Org Driver Supports All Of Haswell
  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