1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Geometry Shaders For Mesa Not Yet Ready

Mesa

Published on 29 January 2013 04:05 PM EST
Written by Michael Larabel in Mesa
6 Comments

While there's been early code available for several months, Mesa support for OpenGL Geometry Shaders still isn't ready for merging into mainline Mesa.

While Mesa 9.1 has picked up many features over the past six months, OpenGL Geometry Shaders won't be found in the release due out by late February.

Geometry Shaders are GLSL programs that deal with primitives and can yield more primitives. Geometry Shaders have been part of the OpenGL Core specification since version 3.2 with the ARB_geometry_shader4 extension.

There's been early OpenGL GS Mesa code going back to last summer thanks to a Mesa branch that was worked on by Bryan Cain. While it ended up progressing and back in September it looked like Geometry Shaders would merge soon for Mesa, that didn't end up happening. Geometry Shaders are one of the last holdouts for Mesa being able to advertise itself as OpenGL 3.2 friendly.

Earlier this month when writing about R600 Gallium3D Getting Close On OpenGL 3.3 Support, David Airlie wrote about the state of geometry shaders in the Phoronix Forums. "There is a tree on github with unproven geometry shader code for r600g, intel would need to add 965 support, it just needs a lot of piglit tests and a lot of review...but writing the piglit tests for geometry shaders is probably the biggest problem." (Also see The State Of Open-Source Radeon Driver Features.)

Brian Paul, Mesa founder and current VMware employee, asked today on the Mesa developers' mailing list about the state of Geometry Shaders for this open-source graphics stack. Intel's Paul Berry responded with the current open-source state of affairs for OpenGL Geometry Shaders:
It looks like Bryan made a lot of headway before he set the branch aside in October, so I'm planning to use that as a starting point. My impression from talking to Bryan is that he doesn't have too much time/interest to put into geometry shaders these days, so for the moment I'm planning to take over responsibility for the branch myself.

My first order of business is to write some piglit tests for geometry shaders, so that I don't have to push anything to Mesa master that isn't well-tested. I have an nVidia system that I can use as a reference platform to make sure my tests are correct. I also want to spend a little bit of time prototyping some i965 back-end code just to increase my familiarity with the problem domain and to find out if i965 hardware has any sharp corners I need to watch out for. Once I've done those two things, my plan is to start rebasing Bryan's patch series onto master and sending it out for review piece by piece.

Geometry shaders haven't risen to the top of Intel's priority list quite yet, but they're letting me work on them part-time for now, so progress is likely to be slow for a while. I'll keep the mailing list updated as to my progress. And I'll try to make sure that major design decisions get discussed here on the list so that no one gets left out of the loop.
So getting the GS support cleaned-up and merged isn't at the top of Intel's TODO list, but at least they are working on it. This won't happen for Mesa 9.1 obviously, but hopefully this OpenGL 3.2 feature will be baked and ready for tasting by the next Mesa release six months down the road. The follow-up release will be Mesa 9.2 or more than likely it will be dubbed Mesa 10.0 assuming a major new OpenGL revision is reached (likely OpenGL 3.2/3.3 compliance in one go).

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. AMD Launches New FX CPUs, Cuts Prices On Existing Processors
  2. Preview: AMD's FX-9590 Eight-Core At Up To 5.0GHz On Linux
  3. Intel Launches The Core i7 5960X, Mighty Powerful Haswell-E CPUs
  4. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
Latest Linux Articles
  1. Ondemand vs. Performance CPU Governing For AMD FX CPUs On Linux 3.17
  2. How Intel Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers
  3. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
  4. Testing For The Latest Linux Kernel Power Regression
Latest Linux News
  1. Trying Intel OpenCL On Linux For Video Encoding
  2. GSoC 2014 Yielded Some Improvements For Mesa/X.Org This Year
  3. webOS Lives On As LuneOS With New Release
  4. Marek Lands Radeon Gallium3D HyperZ Improvements
  5. Mozilla Firefox 32 Surfaces With HTML5, Developer Changes
  6. Nouveau X.Org Driver Released With DRI3+Present, Maxwell, GLAMOR
  7. Microsoft & AMD Release C++ AMP Compiler With Linux Support
  8. AMD, Wine & Valve Dominated August For Linux Users
  9. Linux 3.17-rc3 Kernel Released Back On Schedule
  10. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
Latest Forum Discussions
  1. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  2. nv and xorg.conf under Debian PPC
  3. AMD graphics doesn't work with AMD Catalyst drivers
  4. Best Radeon for a Power Mac G5?
  5. The dangers of Linux kernel development
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. SSD seems slow