RSS/Atom feed Twitter
Site is read-only, email is disabled

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

Americo Gobbo
2015-09-05 00:45:50 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

Hi all,
I've noted yesterday that something is changed on the behaviour of brushes with GIMP 2.9 - last git master commit 0593eaa. The brush stroke with a paint dynamic or not the stroke it is delaying in heavy way. I've made two videos to make a comparison with same conditions - same brush and paint dynamics.

My box is ubuntu gnome 14.04.2 - 64-bit. Memory 8Gb, Intel® Core™ i5-3570K CPU @ 3.40GHz × 4, Gallium 0.4 on AMD CAICOS.

---
The short video with GIMP 2.8
https://youtu.be/hP7qH02Ohhw

The short video with GIMP 2.9 https://youtu.be/_a4kchvSAvw

--- Thanks
americo

Americo Gobbo
2015-09-05 00:55:42 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

On Fri, Sep 4, 2015 at 9:45 PM, Americo Gobbo wrote:

The short video with GIMP 2.9
https://youtu.be/_a4kchvSAvw

Problems with the video... now is OK, see the new: https://youtu.be/3hEzQO5mp_g

Sorry ;-)

Michael Henning
2015-09-05 17:55:28 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

Does this issue clear up if you disable the rulers (by unchecking View -> Show Rulers)? If so, it's probably my fault.

From, drawoc

On Fri, Sep 4, 2015 at 8:55 PM, Americo Gobbo wrote:

On Fri, Sep 4, 2015 at 9:45 PM, Americo Gobbo wrote:

The short video with GIMP 2.9
https://youtu.be/_a4kchvSAvw

Problems with the video... now is OK, see the new: https://youtu.be/3hEzQO5mp_g

Sorry ;-) _______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership:
https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Americo Gobbo
2015-09-05 18:30:58 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

On Sat, Sep 5, 2015 at 2:55 PM, Michael Henning wrote:

Does this issue clear up if you disable the rulers (by unchecking View -> Show Rulers)? If so, it's probably my fault.

Yes, without rulers works fine!

Americo Gobbo
2015-09-06 17:16:26 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

Michael is necessary write a bug report? Thanks

On Sat, Sep 5, 2015 at 3:30 PM, Americo Gobbo wrote:

On Sat, Sep 5, 2015 at 2:55 PM, Michael Henning

wrote:

Does this issue clear up if you disable the rulers (by unchecking View -> Show Rulers)? If so, it's probably my fault.

Yes, without rulers works fine!

Richard
2015-09-06 18:04:46 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

IIRC, this was previously discussed on the mailing list (and bugzilla) and the cairo library was identified as a culprit/accessory to the lag -- as some users reported downgrading to a previous libcairo fixes the ruler lag.

However, it also appears to have been properly fixed as of mid-August: https://bugzilla.gnome.org/show_bug.cgi?id=736411#c39

-- Stratadrake strata_ranger@hotmail.com
--------------------
Numbers may not lie, but neither do they tell the whole truth.

From: jag.rabisco@gmail.com
Date: Sun, 6 Sep 2015 14:16:26 -0300 To: drawoc@darkrefraction.com
CC: gimp-developer-list@gnome.org
Subject: Re: [Gimp-developer] Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

Michael is necessary write a bug report? Thanks

On Sat, Sep 5, 2015 at 3:30 PM, Americo Gobbo wrote:

On Sat, Sep 5, 2015 at 2:55 PM, Michael Henning

wrote:

Does this issue clear up if you disable the rulers (by unchecking View -> Show Rulers)? If so, it's probably my fault.

Yes, without rulers works fine!

_______________________________________________ gimp-developer-list mailing list
List address: gimp-developer-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-developer-list List archives: https://mail.gnome.org/archives/gimp-developer-list

Americo Gobbo
2015-09-06 19:00:35 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

On Sun, Sep 6, 2015 at 3:04 PM, Richard wrote:

IIRC, this was previously discussed on the mailing list (and bugzilla) and the cairo library was identified as a culprit/accessory to the lag -- as some users reported downgrading to a previous libcairo fixes the ruler lag.

However, it also appears to have been properly fixed as of mid-August: https://bugzilla.gnome.org/show_bug.cgi?id=736411#c39

Thanks Richard, but it seems all OK are to windows... on my linux box the problem is resolved only without rulers.

I work only on linux, and in this box I've two GIMP, the stable 2.8.14 (otto ppa) and and the 2.9 devel (last git master). My box is ubuntu gnome 14.04.2 - 64-bit. Memory 8Gb, Intel® Core™ i5-3570K CPU @ 3.40GHz × 4, Gallium 0.4 on AMD CAICOS.

The 2.9 first of the patch of Michael Henning in August 11, was working well with the rulers.
The 2.8.14 stable - ppa otto, is working well.

git log on my 2.9 git master >

commit 72617e42b426e6788c075539a20df7365d2cf102 Author: Michael Henning
Date: Tue Aug 11 16:20:59 2015 -0400

Bug 736411 - Ruler updates cause slowdown when painting

We now avoid drawing rulers in the position property setter and use gtk's region invalidation instead. Previously, we were basically redrawing the ruler inside the mouse event handler, which is pure evil.

thanks

Michael Henning
2015-09-06 21:49:35 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

Please update to latest gimp master and test. I think I fixed this.

commit 3233a70bae756e8f62fb144cbce9d8f84ed25609 Author: Michael Henning
Date: Sun Sep 6 00:05:32 2015 -0400

libgimpwidgets: Avoid updating the rulers too often.

Ever since 72617e42b, whenever the user generated a lot of mouse input, we would constantly queue redraws to the rulers. These redraws had a higher idle priority than updating the canvas, so we would rarely get around to canvas updates, which made certain tools (painting with dynamics, the blend tool) feel very unresponsive.

This fixes it by only redrawing the rulers if the mouse has moved far from the last location, or if there are no idle handlers with a priority above LOW.

From, drawoc

On Sun, Sep 6, 2015 at 3:00 PM, Americo Gobbo wrote:

On Sun, Sep 6, 2015 at 3:04 PM, Richard wrote:

IIRC, this was previously discussed on the mailing list (and bugzilla) and the cairo library was identified as a culprit/accessory to the lag -- as some users reported downgrading to a previous libcairo fixes the ruler lag.

However, it also appears to have been properly fixed as of mid-August: https://bugzilla.gnome.org/show_bug.cgi?id=736411#c39

Thanks Richard, but it seems all OK are to windows... on my linux box the problem is resolved only without rulers.

I work only on linux, and in this box I've two GIMP, the stable 2.8.14 (otto ppa) and and the 2.9 devel (last git master). My box is ubuntu gnome 14.04.2 - 64-bit. Memory 8Gb, Intel® Core™ i5-3570K CPU @ 3.40GHz × 4, Gallium 0.4 on AMD CAICOS.

The 2.9 first of the patch of Michael Henning in August 11, was working well with the rulers.
The 2.8.14 stable - ppa otto, is working well.

git log on my 2.9 git master >

commit 72617e42b426e6788c075539a20df7365d2cf102 Author: Michael Henning
Date: Tue Aug 11 16:20:59 2015 -0400

Bug 736411 - Ruler updates cause slowdown when painting

We now avoid drawing rulers in the position property setter and use gtk's region invalidation instead. Previously, we were basically redrawing the ruler inside the mouse event handler, which is pure evil.

thanks

Americo Gobbo
2015-09-06 22:39:57 UTC (over 8 years ago)

Brush + Paint Dynamic - performance problems and comparison between 2.9 and 2.8.14.

Michael, is working fine! I've tested with and no rulers and the performance is equal!
Thanks.

J. Americo Gobbo [Illustrator and Painter] Website | Blog
| Flickr |
Pinterest | Twitter
| Facebook

On Sun, Sep 6, 2015 at 6:49 PM, Michael Henning wrote:

Please update to latest gimp master and test. I think I fixed this.

commit 3233a70bae756e8f62fb144cbce9d8f84ed25609 Author: Michael Henning
Date: Sun Sep 6 00:05:32 2015 -0400

libgimpwidgets: Avoid updating the rulers too often.

Ever since 72617e42b, whenever the user generated a lot of mouse input, we would constantly queue redraws to the rulers. These redraws had a higher idle priority than updating the canvas, so we would rarely get around to canvas updates, which made certain tools (painting with dynamics, the blend tool) feel very unresponsive.

This fixes it by only redrawing the rulers if the mouse has moved far from the last location, or if there are no idle handlers with a priority above LOW.

From, drawoc

On Sun, Sep 6, 2015 at 3:00 PM, Americo Gobbo wrote:

On Sun, Sep 6, 2015 at 3:04 PM, Richard wrote:

IIRC, this was previously discussed on the mailing list (and bugzilla) and the cairo library was identified as a culprit/accessory to the lag -- as some users reported downgrading to a previous libcairo fixes the ruler lag.

However, it also appears to have been properly fixed as of mid-August: https://bugzilla.gnome.org/show_bug.cgi?id=736411#c39

Thanks Richard, but it seems all OK are to windows... on my linux box the problem is resolved only without rulers.

I work only on linux, and in this box I've two GIMP, the stable 2.8.14 (otto ppa) and and the 2.9 devel (last git master). My box is ubuntu gnome 14.04.2 - 64-bit. Memory 8Gb, Intel® Core™ i5-3570K CPU @ 3.40GHz × 4, Gallium 0.4 on AMD CAICOS.

The 2.9 first of the patch of Michael Henning in August 11, was working well with the rulers.
The 2.8.14 stable - ppa otto, is working well.

git log on my 2.9 git master >

commit 72617e42b426e6788c075539a20df7365d2cf102 Author: Michael Henning
Date: Tue Aug 11 16:20:59 2015 -0400

Bug 736411 - Ruler updates cause slowdown when painting

We now avoid drawing rulers in the position property setter and use gtk's region invalidation instead. Previously, we were basically redrawing the ruler inside the mouse event handler, which is pure evil.

thanks