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

G'mic filter colorize [interactive] don't work

Tags: None
(comma "," separated)
User avatar
rafaelscroggins
Registered Member
Posts
11
Karma
0
the G'mic colorize interactive filter don't work correctly on krita win7 latest build the color selector don't appear wen in colorization mode there is no way to activated it
benj
Registered Member
Posts
2
Karma
0
Same here! Windows 8.1. In Beta 3 release, the Gmic colourise (interactive) opened the image, but not the colour selector. After installing the 2.9 release, the Gmic colourise (interactive) causes the program to crash when selected.
Silvio Grosso
Registered Member
Posts
105
Karma
1
OS
Hi everyone,

As regards the G'MIC colorize filter on Windows it should be noted that it has never worked on Windows thus far...
On the contrary, it works fine on Linux (Krita 2.9).

Unfortunately, many G'MIC filters do not work on Krita 2.9 - Windows (tested tonight on Windows 7 - 64 bit).
In addition, I have just tested these *same* G'MIC filters on Linux (Kubuntu 14.10 - 64 bit - KDE desktop) with Krita 2.9 and they all work extremely fine there (no crash whatsoever).

*Worst of all*, these same filters worked fine on the previous ZIP version of Krita (beta 3) on Windows - 7 (64 bit).
I have tried for instance the filter Array faded (Array & Tiles) and it crashes Krita 2.9 but it works fine on the previous beta 3.
Same applies to Chessboards (Array & Tiles) which crashes Krita 2.9 but it works fine on the previous beta 3.
etc etc (I am going to open myself a bug report on the Bug tracker regarding all these regressions...)

Needless to say, with Gimp 2.8.14 they all work fine both on Windows and Linux.
As you know, G'MIC 1.6.1.0 is extremely stable with Gimp but this should be expected because it has always been like that...
Unfortunately, on Windows, G'MIC is still quite experimental with Krita :(
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
That's weird, I am fairly sure that I set the stacksize for the 64 bits build before packaging. That's the problem: g'mic needs a stack size of 1GB to parse the scripts.
Silvio Grosso
Registered Member
Posts
105
Karma
1
OS
Hi Boud :)

G'MIC version for Krita 2.9 beta 3 is 1.6.0.3
On the contrary, for Krita 2.9 (stable) is G'MIC 1.6.1.0

From what I have read by David Tschumperlé (creator of G'MIC) the 1.6.1.0 should be much more stable than the previous one (version 1.6.0.3).
I have even tested myself the 1.6.1.0 version on Gimp 2.8.14 these past days (on Windows 7 and Linux ) and I can confirm this...

I have read that you added some new softwares libraries (e.g. libcurl) to support some G'MIC filters on Windows (as regards Krita 2.9 stable) ?
However, it is weird though, because some G'MIC filters not working now were running fine in the Krita - Windows beta 3 (and it should be the opposite...).

BTW, I have just tested on Windows 7 - 64 bit (zip version of Krita) other 2 G'MIC filters (with the same jpeg image as usual for all my tests).
- Cubism (Artistic): it crashes as soon as you select it (it works fine on Krita beta 3 instead).
- Felt pen (Artistic): it crashes as soon as you select it (it works fine on Krita beta 3 instead)

My best regards !

Last edited by Silvio Grosso on Thu Feb 26, 2015 10:11 pm, edited 1 time in total.
User avatar
LukasT.dev
KDE Developer
Posts
209
Karma
1
OS
Hi Silvio,

the biggest difference between G'Mic for GIMP and G'Mic for Krita is compiler:
Krita uses MSVC for Windows builds and GIMP uses mingw for their Windows builds (so also G'Mic)

There is very small support for MSVC compiler in G'Mic, David develops the G'Mic using GCC mostly and he does not test or optimize
G'Mic code with MSVC in mind (e.g. compilation with MSVC takes 4-5 hours, with gcc(5 minutes).

So MSVC compilation of G'Mic is highly experimental, not tested and thus there is different behavior on Windows for Krita.
FFTW3 dependency was introduced in this 2.9 release, so FFTW3 dependency fixed all there filters on windows https://bugs.kde.org/show_bug.cgi?id=343841#c19
libcurl is not packaged for Windows, so 'Add grain' does not work correctly, but there is workaround (see that 343841 bug report)

*Worst of all*, these same filters worked fine on the previous ZIP version of Krita (beta 3) on Windows - 7 (64 bit).
I have tried for instance the filter Array faded (Array & Tiles) and it crashes Krita 2.9 but it works fine on the previous beta 3.
Same applies to Chessboards (Array & Tiles) which crashes Krita 2.9 but it works fine on the previous beta 3.
etc etc (I am going to open myself a bug report on the Bug tracker regarding all these regressions...)


Oh! My mistake! I should run the complete tests before updating G'Mic! Please, report the regressions to bugzilla -- I will take a look soon! Thanks


Daylight is coming...
Krita developer | http://lukast.mediablog.sk/log
User avatar
TAFKAT
Registered Member
Posts
13
Karma
0
OS
LukasT.dev wrote:..the biggest difference between G'Mic for GIMP and G'Mic for Krita is compiler:
Krita uses MSVC for Windows builds and GIMP uses mingw for their Windows builds (so also G'Mic)

There is very small support for MSVC compiler in G'Mic, David develops the G'Mic using GCC mostly and he does not test or optimize
G'Mic code with MSVC in mind (e.g. compilation with MSVC takes 4-5 hours, with gcc(5 minutes).


I'm also witnessing G'Mic issues with Krita 2.9.11 in Windows 7 (verifying W10) and e.g. colorize [interactive] not functioning properly, 'random' crashes with other filters etc. Could the C bridge to the libgmic library as described in the link below go a long way in solving the described Windows compiler incompatibilities between G'Mic and Krita?
https://discuss.pixls.us/t/on-the-road-to-gmic-1-7-0/835
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
we are investigating it, Boudewijn has already gotten a mingw build gmic library, now what is needed is to get Krita's gmic plugin to talk to it, which is a fair bit of work.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], lockheed, Sogou [Bot], Yahoo [Bot]