Running The OMAPDRM On Ubuntu 12.04 LTS

Posted by Michael Larabel on April 22, 2012

Besides Ubuntu 12.04 on ARMv7 being much faster, thanks to hard-float and other improvements, the Texas Instruments OMAP DRM driver is also available to provide a KMS experience for some hardware.

The Texas Instruments OMAP DRM driver has been available since last year as a DRM/KMS driver for Texas Instruments' OMAP platform. The OMAPDRM driver doesn't provide any graphics acceleration support, but does implement GEM memory management and supports HDMI, DVI, and LCD panels. The display hardware is programmed via the DSS2 driver similar to the other OMAP kernel display drivers (V4L2 and fbdev).

Texas Instruments can't provide any open-source 3D acceleration support for OMAP since they're using a PowerVR SGX core, which as most Phoronix readers know is a big bloody mess that's tied up by Imagination Technologies. The OMAPDRM driver has made it into the mainline kernel as a simple DRM driver for the OMAP display hardware, similar to the Samsung Exynos DRM driver.

With the driver now in the mainline Linux kernel, with Ubuntu 12.04 LTS on the Linux 3.2 kernel is the first Ubuntu release where this OMAPDRM driver is available. If you're booting Ubuntu ARM on supported OMAP hardware, this DRM driver is now brought up by default. This particular testing was done from a PandaBoard ES that's using the Texas Instruments OMAP4460 SoC.

When booting the Ubuntu 12.04 OMAP4 pre-installed image for the first time on the PandaBoard ES, the KMS-empowered Plymouth quickly came up. When it came to hitting the X.Org Server and the Unity 2D desktop, the xf86-video-fbdev driver was loaded as the DDX with the omapdrm kernel driver underneath.

The OMAPDRM driver did correctly mode-set by default to 1920 x 1200 over HDMI for the PandaBoard ES. Unfortunately using Ubuntu 12.04 with this unaccelerated stack on the OMAP4460 with the Unity 2D desktop was rather sluggish. Moving and launching windows was slow and far from being a fluid experience. There is also a xf86-video-omap DDX driver that is compatible with the OMAPDRM, but that wasn't found used by default in Ubuntu 12.04.

For those wanting to know what the desktop experience is like without proper acceleration, there are OMAPDRM benchmarks on OpenBenchmarking.org with GTK, X11, and Cairo tests.

In Ubuntu 12.04 via jockey-gtk for the Texas Instruments OMAP ARMv7 hardware there is a proprietary PowerVR SGX graphics driver available for the OMAP4... It's a PowerVR driver catered to the TI OMAP4, which like most PVR drivers, was a busted mess.

When this OMAP4 PowerVR SGX driver was enabled in Ubuntu 12.04, the experience was worse. Mode-setting was not done correctly for the 1920 x 1200 HDMI display, acceleration was messed up, and there were plenty of errors. It's no wonder why Rob Clark, the Texas Instruments Linux developer mostly responsible for the OMAPDRM code, loves open-source drivers so much that he even works on reverse-engineering and open-source driver writing for TI's competitors: An Open-Source Graphics Driver For Snapdragon.

PowerVR Linux support remains a big mess with no signs of corrections coming soon, besides Intel at least dropping PowerVR in future products: Intel Valley View: Atom SoC With Ivy Bridge Graphics. While PowerVR SGX is especially common in ARM SoCs, Linux consumers should try to avoid this crap at all possible costs. But in terms of the OMAPDRM driver for Ubuntu 12.04, at least the display hardware on the OMAP4 is working fine.

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. LLVM 3.3 Officially Released
  2. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  5. VP9 Codec Now Enabled By Default In Chrome
  6. openSUSE 13.1 M2 Plays On PulseAudio 4.0
  7. Debian 7.1 Rounds In Some Bug-Fixes
  8. Min / Max FPS Comes To Test Results
  9. Google Pushes More Mesa / Gallium3D Patches
  10. The Phoronix Migration Is Fully Complete
  11. Linux 3.10-rc6 Kernel Brings In More Fixes
Latest Forum Talk
  1. VP9 Codec Now Enabled By Default In Chrome
  2. Google Pushes More Mesa / Gallium3D Patches
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. AMD Catalyst 13.6 Beta
  5. LLVM 3.3 Officially Released
  6. The Wayland Situation: Facts About X vs. Wayland
  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