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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. Debian GNU/Hurd 2013 Release Brings New Packages
  2. AMD RadeonSI Gallium3D Begins Simple CL Demos
  3. A New X.Org-Free Wayland LiveCD Released
  4. Steam: No used games...
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Unity 8, Mir Made Progress This Week On Features
  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