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

OpenCL Is Coming To The GIMP Via GEGL

Free Software

Published on 16 August 2011 05:05 AM EDT
Written by Michael Larabel in Free Software
55 Comments

Outside of the direct X.Org / Mesa / Linux work being done this year as part of Google's Summer of Code, one of the more interesting projects is work by a student developer with GIMP who is bringing OpenCL support to the graphics program's GEGL image library.

With OpenCL, tasks like a brightness and contrast adjustments to an image can be offloaded to a GPU or multi-core CPU using this Khronos compute language. In a test of the brightness-contrast filter in OpenCL, 483 milliseconds was needed when on the NVIDIA GPU in OpenCL while it took 526 milliseconds on the CPU without OpenCL. Most of the 483 milliseconds was spent transferring data to/from the GPU memory.

The student developer behind this OpenCL GEGL work wrote a status update in this blog post. "Results so far show that using OpenCL to speed up Gegl is feasible and very interesting, thought still there is some challenges to be tackled, the tiled structure of Gegl allows a lot of optimizations."

Right now the OpenCL work for GEGL is living in this branch on GNOME.org.

Of course, the big problem is that the open-source Linux graphics drivers don't yet support OpenCL. There's work in this direction over Gallium3D via another Google Summer of Code project, but it's not yet ready for end-users nor will it likely be anytime soon. Those looking to use OpenCL on Linux are required to use the binary NVIDIA or AMD Catalyst Linux drivers and/or to install the Intel OpenCL SDK.

GEGL is the Generic Graphics Library that's been in development for over a decade and only recently has its usage been ramped up by GIMP. Beyond this library allowing advancements like OpenCL support, it also supports higher bit-depth images than supported otherwise by GIMP, non-destructive editing, and has other advantages too. There's an external API to GEGL that can implement this graphics library beyond just the GIMP too. More GEGL library details can be found at GEGL.org.

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. Intel Pentium G3258 On Linux
  2. SilverStone Precision PS10
  3. ASRock Z97 Extreme6
  4. Nouveau Re-Clocking Is Way Faster, Shows Much Progress For Open-Source NVIDIA
Latest Linux Articles
  1. KVM Benchmarks On Ubuntu 14.10
  2. X.Org Server 1.16 Officially Released With Terrific Features
  3. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  4. Preview: Benchmarking CentOS 7.0 & Scientific Linux 7.0
Latest Linux News
  1. The Linux Kernel Bang-Bang Thermal Governor Is Banging
  2. NVIDIA Releases K1-Powered Shield Tablet & Controller
  3. Xen Project Announces Mirage OS 2.0
  4. Canonical Community Team Changes Announced For Ubuntu
  5. Raspberry Pi B+ ARM Debian Benchmarks
  6. Mozilla Unleashes Firefox 31 Web Browser
  7. GCC 5.0 Is Expected Next Year
  8. PHP5's Successor Might Be PHP7
  9. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  10. AMDKFD Driver Still Evolving For Open-Source HSA On Linux
Latest Forum Discussions
  1. In Road To Qt, Audacious Switches From GTK3 Back To GTK2
  2. Debian + Steam + r600
  3. AMD "Hawaii" Open-Source GPU Acceleration Still Not Working Right
  4. Next-Gen OpenGL To Be Announced Next Month
  5. Ubuntu With Linux 3.16 Smashes OS X 10.9.4 On The MacBook Air
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. AMD Publishes Open-Source Linux HSA Kernel Driver
  8. KDE Plasma 5 Officially Released