Switch to full style
Ask all general Gimp related questions here
Post a reply

Gimp on Linux with OpenCL

Sat May 29, 2021 4:25 am

GIMP Version: 2.8.14
Operating System: Linux
OS Version: Ubuntu 20.10
GIMP Experience: Intermediate Level



Hi,

I use GIMP 2.10.24 under Ubuntu 20.10 and I would like to improve the speed of my workflow, using my nVidia RTX2070 OpenCL features.

However I did not find any setting in Edit -> Preferences -> System Resources relative to OpenCL or nVidia (screenshot).

Any idea would be welcome.

Thx a lot.

Re: Gimp on Linux with OpenCL

Sat May 29, 2021 6:46 am

Image


My installed Gimp 2.10.18 has an OpenCL setting but the later appimages I use are like yours. You are not missing anything 'cause OpenCL is experimental and it definitely causes crashes. It is not ready for Gimp users and I think thats why it's no in the menu at the moment.

OpenCL seems hard to implement for devs. I use a basic OCL in Mandelbulber but it hasn't been finished for years. It definitely speeds up graphics rendering and I think bitcoin mining also. Blender may have a working OCL but I'm not sure about that.

Anyway welcome to Gimp Chat from the Southern Hemisphere.

Re: Gimp on Linux with OpenCL

Sun May 30, 2021 3:01 am

You need to enable the "Playground" (.appimage / .deb package) and you will got this:
Image

To enable the .AppImage's playground you need to add --show-playground after the target in your menu
example on my system (Ubuntu-MATE 20.04 / GIMP 2.10.25 from aferrero2707 continuous releases)
Image

you can also use the gimprc file More about it -> (I'm new to gimp-chat and have not right to post an url, sorry [Your post looks too spamy for a new user, please remove off-site URLs. ])

Re: Gimp on Linux with OpenCL

Sun May 30, 2021 3:05 am

...you can also use the gimprc file More about it ...


A bit about it here: https://www.gimp-forum.net/Thread-Gimp- ... 7#pid23657

Re: Gimp on Linux with OpenCL

Sun May 30, 2021 3:20 am

rich2005 wrote:
...you can also use the gimprc file More about it ...


A bit about it here: Thread-Gimp-on-Linux-with-OpenCL?pid=23657#pid23657

Thanks a lot :bigthup

Re: Gimp on Linux with OpenCL

Tue Jun 01, 2021 12:11 pm

On the version 2.10.24 with ubuntu 20.10 it crashed when I use OpenCL with RTX2060, so i disable it to be able to work. It's a pity

Re: Gimp on Linux with OpenCL

Tue Jun 01, 2021 6:54 pm

They are hardware level crashes and can scramble the user filesystem.

Re: Gimp on Linux with OpenCL

Wed Jun 02, 2021 5:49 am

Tas_mania wrote:They are hardware level crashes and can scramble the user filesystem.

Can you develop, be more explicit, like detailed explanations?
I am asking because, it's years that opencl is checked on my computer and never got a crash nor a file system scrambling (or by any application).

Re: Gimp on Linux with OpenCL

Wed Jun 02, 2021 5:23 pm

Install 'clinfo' (sudo apt install clinfo)
run clinfo from a terminal and copy the results here. You may have a graphics setup that works with Gimp OpenCL or you may not have an OpenCL graphics installed.

Re: Gimp on Linux with OpenCL

Fri Jun 04, 2021 4:06 am

Code:
$ clinfo
Number of platforms       0


OK I start to understand, I was always wondering why Krita sometime or after a while was kicking in my graphic card (fans start to make noise like a jet taking off with after burners :yes ), but GIMP never...
I did made a reading mistake in the setting of GIMP and Krita and mixed up OpenCL and OpenGL... not really seing the difference between G and C

So it seems that I don't have OpenCL installed...
Am I right?
If so, do you know how to install openCL (for AMD on Ubuntu-MATE 20.04, my card is a RX 580)?

Re: Gimp on Linux with OpenCL

Fri Jun 04, 2021 5:10 am

Sorry don't know about Radeon cards and OpenCL. I think it's built-in to the Ubuntu driver for Nvidia cards, I didn't do anything.
You'll have to search it. :)

Re: Gimp on Linux with OpenCL

Fri Jun 04, 2021 9:15 am

Tas_mania wrote:Sorry don't know about Radeon cards and OpenCL. I think it's built-in to the Ubuntu driver for Nvidia cards, I didn't do anything.
You'll have to search it. :)

I found some clues and way to install it ;)
Thanks a lot
Post a reply