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

Freedreno Gallium3D Driver Might Be Merged Soon

Hardware

Published on 03 February 2013 05:20 AM EST
Written by Michael Larabel in Hardware
7 Comments

The open-source "Freedreno" Gallium3D driver that provides reverse-engineered 3D support for Qualcomm's Adreno/Snapdragon graphics processor is turning out to be in quite good shape. Freedreno is one of the first good ARM Gallium3D drivers and it might soon be merged into Mesa.

Rob Clark talked about his Freedreno Gallium3D driver this weekend at FOSDEM in Brussels. This is the reverse-engineered open-source Qualcomm driver that he began to work on last April.

While Freedreno is a personal side project mostly just worked on by Clark himself in his spare time, the 2D and 3D reverse-engineered driver support is coming along rather well. Right now he's doing most of his work from an Adreno A220/Z180 (Snapdragon S3) as found on an HP TouchPad. However, he's soon going to be switching over to focusing upon a Google Nexus 4 with an A320.

In terms of EXA/2D accelerated support, all of the basics work and he understands enough of the registers now for the Qualcomm hardware. Rob Clark just needs more time to finish implementing the rest of the support, but all of the basics are in place.

For the more interesting reverse-engineered 3D support with his Gallium3D driver, the 3D basics are working but there are some bugs. Compiz is already running on this driver and other common OpenGL workloads. He's already getting +50% the performance of Qualcomm's official driver for workloads like glmark2, XBMC, Compiz, and Quake 3 Arena.

Freedreno Gallium3D Driver Might Be Merged Soon
Freedreno Gallium3D actually works!

Still needed is to understand the command stream for MSAA and mipmap textures. His 3D compiler also needs to add in support to handle loops, optimizing, and hardware binning (tiling).

A video of the entire Freedreno presentation (along with the other X.Org development room talks) will be published on Phoronix in the coming weeks.

In talking with Rob later on in Brussels, he shared that rather soon he expects his Gallium3D driver might be in a state for merging into mainline Mesa. The Gallium3D driver is in relatively good shape for being reverse-engineered, less than one year old, and being largely developed by just himself.

Right now he's relying upon Qualcomm's open-source Linux kernel driver, but he has shared that in the end he might end up writing his own kernel driver too. It will be some time before he looks into this further, but he might end up writing his own Freedreno DRM driver if he ends up hitting enough limitations and problems of Qualcomm's official kernel driver.

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. LLVM Clang 3.5 Brings Some Compiler Performance Improvements
  2. Ondemand vs. Performance CPU Governing For AMD FX CPUs On Linux 3.17
  3. How Intel Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers
  4. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
Latest Linux News
  1. New Group Calls For Boycotting Systemd
  2. The Features To Find With The Imminent Release Of LLVM/Clang 3.5
  3. Borderlands 2 Is Coming To Linux
  4. The Witcher 2 Ups The Performance More & Works Around Catalyst Bug
  5. Running Gallium3D's LLVMpipe On The Eight-Core 5GHz CPU
  6. Trying Intel OpenCL On Linux For Video Encoding
  7. GSoC 2014 Yielded Some Improvements For Mesa/X.Org This Year
  8. webOS Lives On As LuneOS With New Release
  9. Marek Lands Radeon Gallium3D HyperZ Improvements
  10. Mozilla Firefox 32 Surfaces With HTML5, Developer Changes
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