An Open-Source Intel GMA 500 Driver Appears

Posted by Michael Larabel on February 27, 2011

If you're an owner of a netbook or other hardware containing an Intel Poulsbo / GMA 500, the Linux 2.6.39 kernel should be rather exciting. Entering the Linux kernel's staging tree is an initial open-source driver for this notorious Intel graphics processor derived from Imagination Technologies' PowerVR SGX graphics core.

Intel's Alan Cox has pushed forward an Intel GMA 500 DRM driver for mainline kernel inclusion that already has been pushed into the staging-next tree. It's been a few days since the actual patch/driver was proposed, but for some reason it slipped under my radar until now when it was mentioned in the forums.

Before getting too excited, however, there are two unfortunate downsides as this open-source staging DRM driver stands right now:

- There's no acceleration support. If you're hoping to use your Poulsbo hardware with VA-API video or OpenGL/3D acceleration, you're still stuck playing with the proprietary bits. This staging DRM driver doesn't support the necessary interfaces for hardware acceleration.

- While the GMA 500 is derived from the PowerVR SGX core, as do many netbook/embedded graphics processors, especially ARM-based mobile devices, this driver is only specific to the GMA 500. The driver in its current form is mostly about mode-setting and bringing up the display, and not about acceleration which is the area common to the PowerVR cores, so it's mostly Intel-specific code within this driver. In fact, much of this driver's mode-setting code is similar to that of Intel's i915 open-source driver. Much of the code could be shared between this new staging driver and Intel's popular open-source driver, but based upon comments by Alan Cox, this has been rejected by Keith Packard's team.

So what we basically have with this new staging driver is a basic mode-setting driver without acceleration. It's a step forward comparing to using an Intel Poulsbo system with the VESA driver, but still it's open-source hardware acceleration that is really needed to please end-users. Alan Cox will also be pushing out new user-space bits based upon xf86-video-psb to support this kernel driver code.

The discussion surrounding this work can be found in the GMA500 staging driver thread. "This is an initial staging driver for the GMA500. It's been stripped out of the PVR drivers and crunched together from various bits of code and different kernels."

This code living in the staging driver is in need of some more TTM love and other work before it will leave the staging area of the kernel. David Airlie also mentions hooking it up to a dumb ioctl for trivial front-buffer allocation so that a dumb KMS driver and KMS library can work atop this code, to basically fake kernel mode-setting.

This is a step forward, but there's still much work left before Poulsbo could possibly lose its reputation of being a bloody mess under Linux. At the same time, the Free Software Foundation has deemed creating a reverse-engineered PowerVR driver with a Gallium3D driver as being a high priority, which could potentially provide the acceleration needs for this new GMA 500 driver. Imagination might also provide an open-source PowerVR driver in Q3'2011.

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. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. KDE's KWin Made Lots Of Progress In 4.11
  2. Ubuntu Announces Carrier Advisory Group
  3. Qt 5.1 Release Candidate 1 Has Arrived
  4. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  5. Subversion 1.8 Presents New Features
  6. LLVM 3.3 Officially Released
  7. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  8. Intel GPU Driver Tries To Rip Out FBDEV Support
  9. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  10. VP9 Codec Now Enabled By Default In Chrome
  11. openSUSE 13.1 M2 Plays On PulseAudio 4.0
Latest Forum Talk
  1. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  2. KDE's KWin Made Lots Of Progress In 4.11
  3. Planetary Annihilation Plans To Come To Linux
  4. Intel GPU Driver Tries To Rip Out FBDEV Support
  5. Ubuntu Announces Carrier Advisory Group
  6. VP9 Codec Now Enabled By Default In Chrome
  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