Bug 364184 - Navigating Canvas is slow (Pan, Rotate, Zoom)
Summary: Navigating Canvas is slow (Pan, Rotate, Zoom)
Status: RESOLVED INTENTIONAL
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: 3.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: regression
: 364874 367602 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-06-10 13:59 UTC by eliotJ
Modified: 2017-09-28 14:22 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The instant preview act slowly (1.73 MB, video/mp4)
2016-08-04 15:34 UTC, Putra Arif Prasetyo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eliotJ 2016-06-10 13:59:14 UTC
I noticed that in v3.0 I have really worse performance in navigating the Canvas (Pan, Rotate, Zoom) compared to v2.9.10ae. On both versions I used 'Instant Preview' and 'OpenGL' and 'Scaling Mode >> High Quality Filtering".

In v3.0 helps a lot (for me) turning off 'Display >> Use texture buffer' but still I get really worse performance than I have in v2.9.10ae.

My PC: Intel Dual Core 2,2 Ghz, 4 GB Ram, Nvidia GeFroce G 103M, Win 7 64bit.

From IRC (discussion about these issue):
<boud> it might be a change in Qt5 -- where Qt now forces double-buffering
<boud> it's so incredibly hard...
<boud> we started porting over a year ago, but only now we're really seeing the regressions, other than the most obvious ones!
<eliotJ> Even on small resolution of image I have slow down...
<boud> what I think is also going is that 3.0 has memory problems compared to 2.9


Reproducible: Always
Comment 1 katearcher89 2016-06-13 03:14:53 UTC
Have the same problem on windows: two kritas 2.9.11 and 3.0 run simultaneously(openGL high quality on) and with the same file. 2.9.11 pan and zoom smoothly, 3.0 has noticeable lag and not smooth at all.
Comment 2 eliotJ 2016-06-14 11:55:21 UTC
@katearcher89@yandex.ru
Nice to see that you can reproduce my issue...

Can you give yours hardware specification ?
Comment 3 katearcher89 2016-06-15 01:12:29 UTC
mine is i7/gtx965m/16gb ram and win7 system. So it is totally not the case of an underpowered machine.
Comment 4 eliotJ 2016-06-15 20:24:38 UTC
@katearcher89@yandex.ru

It's interesting that this bug also appearing on far more powerful PC than my...

We both have Nvidia GPU, Win 7, Intel CPU... Maybe this bug appearing only on this kind of hardwares + Windows OS...
Comment 5 eliotJ 2016-06-20 13:13:40 UTC
@katearcher89@yandex.ru

I discussed today with Dmitry (Krita's dev) and he showing what can be a issue: Turning off: 'View >> Instant Preview Mode'. Looks like after turned off these I get smooth navigate !

Can you also try these workaround ?
Comment 6 katearcher89 2016-06-20 21:39:27 UTC
(In reply to eliotJ from comment #5)
> @katearcher89@yandex.ru
> 
> I discussed today with Dmitry (Krita's dev) and he showing what can be a
> issue: Turning off: 'View >> Instant Preview Mode'. Looks like after turned
> off these I get smooth navigate !
> 
> Can you also try these workaround ?

nope, didn't work out. Slightly better but still noticeable lags in paning and zooming.
Comment 7 eliotJ 2016-06-21 13:05:42 UTC
@katearcher89@yandex.ru

Hmmm... Sad news... Can you try also these testing on version of Krita with the same settings what you using (these version of Krita also has Instant Preview - would be cool if you will try with enabled and with disabled Instant Preview) ?:
http://files.kde.org/krita/windows/krita_2.9.10.2ae_beta_x64.zip
Comment 8 katearcher89 2016-06-24 00:06:52 UTC
(In reply to eliotJ from comment #7)
> @katearcher89@yandex.ru
> 
> Hmmm... Sad news... Can you try also these testing on version of Krita with
> the same settings what you using (these version of Krita also has Instant
> Preview - would be cool if you will try with enabled and with disabled
> Instant Preview) ?:
> http://files.kde.org/krita/windows/krita_2.9.10.2ae_beta_x64.zip

Well. I have tried all three versions and results are pretty same:
2.9.11:  nice and smooth
2.9.10 beta: nice and smooth without Instant Preview, with it it become a little laggy but barely noticeable.
3.0: not smooth at all with or without IP(without a little better but not that much to make a difference)
Comment 9 Halla Rempt 2016-07-06 12:39:48 UTC
*** Bug 364874 has been marked as a duplicate of this bug. ***
Comment 10 Putra Arif Prasetyo 2016-08-04 15:34:02 UTC
Created attachment 100451 [details]
The instant preview act slowly

The Instant Preview on Window's krita 3.0.1-Alpha is slower than 3.0. I attach video that maybe help you :3

Here's my Rig's spec
Windows 10 Laptop
Nvidia 920m
Intel core i5
12 Gb Ram
Krita 3.0.1-alpha
Comment 11 eliotJ 2016-08-04 15:51:06 UTC
at Putra Arif Prasetyo:

<boud> "the last 3.0.1 dev build is slower than 3.0 -- because it doesn't have Vc". This is the answer why do you have noticed slow down between 3.0 and 3.0.1.
Comment 12 Halla Rempt 2016-11-01 12:16:37 UTC
*** Bug 367602 has been marked as a duplicate of this bug. ***
Comment 13 Halla Rempt 2017-09-28 14:22:12 UTC
I'm sorry, but after all this discussion -- this simply isn't something we can resolve as a bug report. It clutters up bugzilla, but we cannot take action on it in any way.

Between 2.9 and 3.0, we changed the version of the toolkit, which no doubt has an influence on performance characteristics, as well as a whole lot of other code. But we cannot go back to Qt 4.8...