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 Radeon R9 290: Gallium3D vs. Catalyst Drivers
  2. AMD Radeon R9 290 Open-Source Driver Works, But Has A Ways To Go
  3. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
  4. Sumo's Omni Gets Reloaded
Latest Linux Articles
  1. 20-Way Radeon Comparison With Open-Source Graphics For Steam On Linux Gaming
  2. Preview: OS X 10.10 Yosemite vs. Ubuntu Linux GPU Performance
  3. Radeon Graphics Yield Mixed Results With Linux 3.17 Kernel
  4. AMD's RadeonSI Driver Sped Up A Lot This Summer
Latest Linux News
  1. Plasma Active Is Mostly Ported To KDE Frameworks 5
  2. Google Chrome 37 Brings Many Security Fixes
  3. MenuetOS Updated With SMP Threads & Onscreen Keyboard
  4. Mesa Has A New Release Manager
  5. Enlightenment E19 Lands Its New Wayland Compositor Code
  6. Nouveau Turns Into A Mess In Latest Linux 3.17 + Mesa 10.3-dev Tests
  7. New GCC 5.0 Changes, Command-Line Options That Landed So Far
  8. SteamOS Update 133 Has Better Intel Performance, VA-API
  9. DRM Graphics Changes For Linux 3.18 Might End Up Being Smaller
  10. Ioquake3 Works On Finally Switching Over To SDL2
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. AMD Releases UVD Video Decode Support For R600 GPUs
  3. Announcing radeontop, a tool for viewing the GPU usage
  4. Users defect to Linux as OpenBSD removes Lynx from base system
  5. Chinese People Try To Patent Wine On ARM
  6. American Citizens running AMOK for food stamps
  7. "The World's Most Highly-Assured OS" Kernel Open-Sourced
  8. What Linux Distribution Should Be Benchmarked The Most?