It is currently Sun Jun 30, 2024 1:18 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Gimp on Linux with OpenCL
PostPosted: Sat May 29, 2021 4:25 am  (#1) 
Offline
New Member

Joined: May 29, 2021
Posts: 3
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.


Attachments:
gimp-system-ressources-no-OpenCL-no-nVidia.png
gimp-system-ressources-no-OpenCL-no-nVidia.png [ 92.48 KiB | Viewed 3773 times ]
Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Sat May 29, 2021 6:46 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
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.


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Sun May 30, 2021 3:01 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
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. ])

_________________
Patrice


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Sun May 30, 2021 3:05 am  (#4) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2435
Quote:
...you can also use the gimprc file More about it ...


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

_________________
Image


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Sun May 30, 2021 3:20 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
rich2005 wrote:
Quote:
...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

_________________
Patrice


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Tue Jun 01, 2021 12:11 pm  (#6) 
Offline
New Member

Joined: May 29, 2021
Posts: 3
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


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Tue Jun 01, 2021 6:54 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
They are hardware level crashes and can scramble the user filesystem.


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Wed Jun 02, 2021 5:49 am  (#8) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
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).

_________________
Patrice


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Wed Jun 02, 2021 5:23 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
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.


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Fri Jun 04, 2021 4:06 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
$ 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)?

_________________
Patrice


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Fri Jun 04, 2021 5:10 am  (#11) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1365
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. :)


Top
 Post subject: Re: Gimp on Linux with OpenCL
PostPosted: Fri Jun 04, 2021 9:15 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 787
Location: SEA - South East Asia
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

_________________
Patrice


Top
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) I am looking for a UserFilter 64 bit plugin for Linux

3

No new posts Attachment(s) Installing SCM in Fedora Linux

2

No new posts Attachment(s) New Gimp 2.10.19 appimage 2020402 (Linux)

6

No new posts Attachment(s) Cartonizer 0.8.5 for Linux Ubuntu 64bit

1

No new posts Attachment(s) New Gimp AppImage for Linux Users

10



* Login  



Powered by phpBB3 © phpBB Group