This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Krita on Linux extremely slow performance

Tags: None
(comma "," separated)
linuxmarc
Registered Member
Posts
4
Karma
0
I am using Krita on Ubuntu 17.10 with newest Nvidia drivers on a GTX 960 with 4GB vram and 32GB ram.

Krita is acting very slow, for example when doing a transform operation on a .jpg image i have to wait until transform is calculated.
Depending on image size up to one minute!
I would love to work with Krita but with such a lag its not usable.
After searching the internet for a solution I now try it by asking here.

Is this lag normal or are there any tricks to speed up Krita's graphic engine?


My computer is powerful enough, since I am running Wine with Photoshop CC 32-bit and the same transform operation acts nearly in realtime with PS!
I am willing to donate regularly amounts to Krita development, but as long as the software is not usable in the daily workflow I am a bit curious...

On the roadmap stands nothing about speeding up the graphics engine...
Is there any solution in sight?
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
We'd love to help you, but there's no information on what kind of system you have, what type of image it is you're trying to transform, nor which Krita you are using, so there's no way to help beyond "did you check the faq?".

Do keep in mind that Krita is a painting program first and foremost, and we focus our performance speed ups in brush strokes, not in general image tasks. Rewriting the rendering engine will also not particularly affect the speed of image transformation either.
User avatar
Deevad
Registered Member
Posts
451
Karma
1
OS
Are you using Wayland ?

You can find by running
Code: Select all
echo $XDG_SESSION_TYPE


linuxmarc
Registered Member
Posts
4
Karma
0
Using X11 on a macPro mid 2010, ssd, 32gb ram, Nvidia Geforce Gtx 960 4gb.

Operating system is Ubuntu 17.10 with kernel 4.13.0-16-generic
Tried it with Krita 3.0, 3.2.1, 4.4 pre alpha.

Basically I am working with .jpg or .png files, with a 72dpi and around 4000 x 6000 pixel.
But I tried it also with way smaller images (1920 x 1080), same result.

Thanks for your answers, if its not on the render engine what then would speed up tasks like transforming an image?
alvinwong
Registered Member
Posts
117
Karma
0
OS
What kind of transform operation are you doing? Which tool are you using to do it? (For example if you move a layer with the move tool it reapplies all the filters and masks so it will be slow.) Are you using some complex filters and masks setup?
User avatar
Deevad
Registered Member
Posts
451
Karma
1
OS
Thank you @linuxmarc for the reply.

Are you installing Krita with package from distribution? Ubuntu 17.10 proposes two Krita in "Software" ; a snap , and a packaged version.
They might have built one or both without using VC; a library used for performances in Krita.

Can you download the alpha 4.0 appimage ( here : https://download.kde.org/unstable/krita ... 4.appimage ). Right click on the file once downloaded, go to Permission and check "Allow executing", then double click the appimage to run it? Does this development version of Krita is faster ?


linuxmarc
Registered Member
Posts
4
Karma
0
@ alvinwong: I open Krita, then I open a .jpg image with the size of 4000x6000 pixel 350ppi
then hit Ctrl+T, in the Tool options select Perspective, drag upper right corner a bit down to the center, hit Apply.

Wait until I see the distorted picture processed, this takes 8 seconds!!

The exact same operation with the same picture takes with Photoshop 32bit running on Wine only 3 seconds!

@Deevad tested on 3.2.1 and also on 4.0.0 pre alpha appimage from your link, all same slow speed.

This is quite a long waiting time for this operation (and I use Transform a lot..).
Thats why I am asking for some help regarding Krita performance....


Edit:

I now compared Krita, Paintstormstudio and Photoshop CS6 on Ubuntu Linux 17.10.
Easy task, making transformation or moving a layer and using the stopwatch to compare.
Photoshop is by way the fastest tool (even when its run thru wine!), hope the Krita guys will massively speed up Kritas graphic engine.
linuxmarc
Registered Member
Posts
4
Karma
0
With Release 3.3.3 performance is a little bit better... but still kinda slow for hi-res images.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]