Gimp-Forum.net

Full Version: OpenCL not working - hardware acceleration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Recently I went ahead and confirmed whether OpenCL is actually working on my GIMP installation. It seems it doesn't. I've tested it on the non-legacy Photocopy filter as well as with Exposure adjustment, same as this bloke https://www.youtube.com/watch?v=zVLjBa6Lqbk There is absolutely no perceivable difference in the performance with OpenCL disabled or enabled.
I've got fresh nVidia drivers, Geforce 660 Ti by MSI, AMD FX6300 (6-core 3.5 GHz), Windows 7 x64. So not having OpenCL in working condition is a huge waste.

What can I do to troubleshoot it? Now I realized OpenCL has was never working on my GIMP installs, even though I tried enabling it since early GIMP 2.9 times.
Anyone? :/
Hard to tell for me also. A bug report mentions a --gegl-disable-opencl option (which would mean that the old "GEGL_ENABLE_OPENCL" variable is obsolete). I assume you have already set the Enable OpenCL in the preferences.

An old benchmark on Tom's Hardware explains that the effects aren't always visible. They used a motion blur on a large picture to see something.
(02-11-2019, 07:57 AM)Ofnuts Wrote: [ -> ]Hard to tell for me also. A bug report mentions a --gegl-disable-opencl option (which would mean that the old "GEGL_ENABLE_OPENCL" variable is obsolete). I assume you have already set the Enable OpenCL in the preferences.

An old benchmark on Tom's Hardware explains that the effects aren't always visible. They used  a motion blur on a large picture to see something.

Yes, I have "Use OpenCL" enabled in the preferences.
Which bug are you referring to specifically?

Today I found two new resources with people claiming OpenCL may not be that noticeably beneficial right now.
https://gitlab.gnome.org/GNOME/gnome-pho...bc59f9c39a

Quote:until there's
OpenCL coverage for all the operations that are used it's not going to
have the expected performance boost due to memory transfers between
the CPU and GPU. In fact, today, for many cases using the GPU is
measurably, sometimes significantly so, slower than the CPU.

and
https://discuss.pixls.us/t/gimp-speed-up...pu/8004/11

Quote:The wiki is back up and running. I tested the Alien Map function on my 6000x4000 16-bit image, since according to the wiki, Alien Map uses open CL.
Again, it was slower with Open CL enabled. (10.2 seconds with Open CL enabled, 9.3 seconds with it disabled). I have 16 GB of RAM, by the way, and not using any swap space, if that matters.
Note that I’m not actually applying the changes, just previewing them, then removing the preview to time it to go back to normal.
EDIT:
Based on
https://wiki.gimp.org/wiki/Hacking:Porti..._to_OpenCL
I used Stretch Contrast to test this. The result is: OpenCL is slower by ~20% on a 21 MP image, 8-bit precision.

Related
https://www.tomshardware.com/reviews/pho...08-10.html