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.

Latest Linux Hardware Reviews
  1. Overclocking The AMD AM1 Athlon & Sempron APUs
  2. AMD Athlon 5350 / 5150 & Sempron 3850 / 2650
  3. Upgraded Kernel & Mesa Yield A Big Boost For Athlon R3 Graphics
  4. AMD Athlon 5350 APU On Linux
Latest Linux Articles
  1. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  2. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
  3. AMD Athlon's R3 Graphics: RadeonSI Gallium3D vs. Catalyst
  4. GCC 4.9 Compiler Optimization Benchmarks For Faster Binaries
Latest Linux News
  1. Maynard: A Lightweight Wayland Desktop
  2. Chromium Browser Going Through Growing Pains In Ubuntu 14.04
  3. KDE 4.13 Is Being Released Today With New Features
  4. Trying Out Radeon R9 290 Graphics On Open-Source
  5. Intel Broadwell GT3 Graphics Have Dual BSD Rings
  6. Early Linux 3.15 Benchmarks Of Intel Core i7 + Radeon
  7. Red Hat Releases Its RHEL 7 Release Candidate
  8. New Features Coming To Xubuntu 14.04 LTS
  9. NVIDIA Officially Releases CUDA 6
  10. Google Releases An AutoFDO Converter For Perf In LLVM
  11. Fedora 21 To Evaluate Remote Journal Logging, 64-bit ARM Emulation
  12. Star Citizen Will Be Coming To Linux
Latest Forum Discussions
  1. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  2. The GNOME Foundation Is Running Short On Money
  3. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  4. Bye bye BSD, Hello Linux: A Sys Admin's Story
  5. New tool for undervolt/overclock AMD K8L and K10 processors
  6. How to enable opengl 3.3 on r9 270?
  7. R290x sound problems
  8. radeon-profile: tool for changing profiles and monitoring some GPU parameters