inkscape slowness

Post questions on how to use or achieve an effect in Inkscape.
gpnet
Posts: 7
Joined: Fri Nov 27, 2009 4:33 am

inkscape slowness

Postby gpnet » Fri Nov 27, 2009 5:37 am

Hi to all Guys,

It is from a long time that I am trying to use inkscape but I didn't have something serious to do. Some days ago i saw a good article /tutorial teaching how to create icons with the same look as the iphone here http://cocoawithlove.com/2009/11/creating-iphone-and-mac-icons-using.html.

I download the last version 0.47 of inkscape and I tried to do the job, but .... following the several steps I noted that the time inkscape took to design the canvas after each step was increasing dramatically until I tried to draw this step:

Bevel effect and shadow :

Select the checkmark and the checkbox. From the Filters menu select "Bevels"→"Ridged Border". Then from the Filters menu select "Shadows and Glows"→"Drop Shadow", set the blur to 2.0, the opacity to 35%, the offset to (3,3), hit the "Apply" button and close the Drop shadow dialog.


To do this , inkscape took about 3-4 minutes. Incredible !

( I have a CPU Intel(R) Core(TM)2 Duo CPU T9300 @ 2.50GHz with 3 GB RAM with NVIDIA GeForce 8600M GS )

What's wrong ? Am I doing something wrong ? Is an Inkscape's issue ? or what else ?
.. so I download a 0.46 version and I tried the same draw. In this case inkscape took about 1 minute more or less, but in any case this in not the time one is especting.
Now I would like to do the real job wich is to design about 40 images for the project I am working on , but I am stucked.

Can any one help me to understand what about this slowness , and How to get rid of this ?

Thank for the help
Joss

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: inkscape slowness

Postby ivan louette » Fri Nov 27, 2009 6:15 am

Try that :

File/Inkscape Preferences/Tools/Selector/Per-object Selection Cue : None

ivan

Guest

Re: inkscape slowness

Postby Guest » Fri Nov 27, 2009 8:15 am

Hi Ivan ,
Tanks for replay.

What is this. ? what does it do ?

Guest

Re: inkscape slowness

Postby Guest » Fri Nov 27, 2009 8:26 am

Hei , Ivan

Setting this property , it took 2.20 minutes to draw the image. Not acceptable ! . something else ?

If it can help I could upload I can upload the svg image. tell me How I can do that.

Joss

Guest

Re: inkscape slowness

Postby Guest » Sat Nov 28, 2009 12:18 am

Hei , Guys

No one can help me about my problem ? , Please !

All of you has no problem with Inkscape performance ?

thank you
Joss

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: inkscape slowness

Postby ivan louette » Sat Nov 28, 2009 2:39 am

Anyways also do Ctrl+G before applying any additional filter. Very useful for filters management because it maintain the filters separated in the Filters Editor and avoid to create bloated filters with a huge amount of primitives.

ivan

Guest

Re: inkscape slowness

Postby Guest » Sat Nov 28, 2009 8:39 am

Thank again Ivan,

But let me know, Don't you have any problem about inkscape performance ?. Can you confirm that you have great performance ?. I am reading about this problem in every forum I visited. It's a shame.
What I am seeing is that is not a light problem involving some property to set, but rather a rendering engine problem. I hope I am wrong in this and hope someone tell me what I have to do.

I want to use inkscape and I can not believe thousand of peoples are drawing waiting hours for doing just a simple draw.

if you have any other suggestion I am here. What I am disappoint is that just one person like you want to help me about this problem !.

Joss

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: inkscape slowness

Postby ~suv » Sat Nov 28, 2009 12:27 pm

Guest wrote:It's a shame.
that's not really motivating me to help...

(anyway - upload your file somewhere and let others try to reproduce your performance issues… what OS do you use?)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: inkscape slowness

Postby brynn » Sat Nov 28, 2009 2:07 pm

What I am disappoint is that just one person like you want to help me about this problem !.

You may not realize that this is a holiday weekend in US (Thanksgiving -- big turkey, lots of football games, lots of shopping!), and also that there is a mailing list to communicate with developers, as well as Launchpad to report bugs. There is a link at Launchpad to join the mailing list, if I recall.

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: inkscape slowness

Postby ~suv » Sat Nov 28, 2009 3:46 pm

gpnet wrote:What's wrong ? Am I doing something wrong ?

You quoted the instructions for 'Bevel effect and shadow' from that page - did you read on after that or did your anger about the shameful performance hinder you from following the advice the author of the icon tutorial gives immediately below the paragraph you pasted in your first comment:

Matt Gallagher (cocoawithlove.com) wrote:Speed tip: when zoomed in on objects using effects, the rendering can get slow. To disable effects or to drop entirely into wireframe mode, choose "No Filters" or "Outline" from the "View"→"Display Mode" menu or press Control-Keypad5. The "Ridged border" effect is especially slow in the current version of Inkscape — I recommend zooming out before you apply it and turning effects off before you zoom in close.

So, to close this topic - yes, I took the effort and redid the first part of the tutorial (Inkscape 0.47, OS X 10.5.8, MBP, Intel Core 2 Duo 2.4 GHz, 2 GB RAM) and can confirm that Inkscape slows down to a crawl when zoomed in on objects with the 'Ridged border' effect applied. Workarounds exist as recommended (zoom out, change view to 'No filter' or 'Outline').

@Ivan - do you know if there's something that could be changed in the settings of that specific filter or should this be filed as bug in the renderer code of Inkscape?

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: inkscape slowness

Postby druban » Sat Nov 28, 2009 4:05 pm

I
Last edited by druban on Tue May 28, 2013 8:05 pm, edited 1 time in total.
Your mind is what you think it is.

Guest

Re: inkscape slowness

Postby Guest » Sat Nov 28, 2009 7:59 pm

Thanks to all of you Guys for replay,

@brynn : I Am sorry for not to remember about Thanksgiving. I do apologies about it. That said , As certainly you knows I am new in Inkscape and also in a drawing experience.

I also want to say that the word "shame" is for me , not for you.
After that , I appreciate when I read about your effort to help me , even though the problem is already there. Now I will try to apply the workarounds you suggest me.

But, If a change view to 'No filter" does what I see on the screen is what I am expected ?.. and can I proceed drawing with "no filter" active ?. About this particular drawing example do you think it wold be better to use layers,and if yes, how and what advantages I get.

@~suv :
P.S I don't want excuses , but I want you to know that , as you see, my primary language is not English , consequently some time is difficult to translate exactly the sense of a whole sentence. I registered on this site just to have some help from "friends" because the technical terms using in drawing is a further difficult for me. I hope you understand me and don't get me wrong.

Tell me also please if this post is considering closed or may I expect some further suggestion.

Thanks Joss

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: inkscape slowness

Postby brynn » Sat Nov 28, 2009 10:00 pm

Topics are never closed here. Replies can be made no matter how old the topic is ;)
I would not be surprised if you get more replies, after the holiday weekend passes. (I'm sorry I don't know the answer to your technical questions.)

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: inkscape slowness

Postby ~suv » Sun Nov 29, 2009 7:50 am

Guest wrote:@~suv : P.S I don't want excuses , but I want you to know that , as you see, my primary language is not English , consequently some time is difficult to translate exactly the sense of a whole sentence. I registered on this site just to have some help from "friends" because the technical terms using in drawing is a further difficult for me. I hope you understand me and don't get me wrong.
Offering my apologies that my previous answers have been rude while you were just asking for help. There are those days where I get impatient and easily annoyed when asking for help turns into apparently demanding it (out of frustration). Most of the times I then manage to refrain from answering - well knowing that I could misread the whole topic and vent my anger like the others their frustration. Yesterday I failed to keep quiet until having re-considered the appropriateness of my answer. Sorry.
Tell me also please if this post is considering closed or may I expect some further suggestion.
No, don't worry - every topic stays open (unless there's real mis-use and the forum admin closes it ;-). And the issue of rendering performance when certain filters are applied isn't closed either. Maybe we are lucky and get another answer by ivan louette - he has authored most (if not all) of the many exciting new (pre-set) filter effects available in Inkscape 0.47. If someone knows the internals of the filter effects - it must be him ;-)

gpnet
Posts: 7
Joined: Fri Nov 27, 2009 4:33 am

Re: inkscape slowness

Postby gpnet » Sun Nov 29, 2009 8:25 am

Hi ~suv,

You are welcome, I think I have new friend, even though far from here.I am from Italy.

I was nice to know to have someone that try to help me where my knowledge isn't so good.

Thanks. Joss

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: inkscape slowness

Postby ~suv » Sun Nov 29, 2009 8:34 am

gpnet wrote:(…) even though far from here.I am from Italy.
not so far as you might think… ;-) ~suv

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: inkscape slowness

Postby ivan louette » Sun Nov 29, 2009 9:34 am

~suv wrote:
Guest wrote:@~suv : P.S I don't want excuses , but I want you to know that , as you see, my primary language is not English , consequently some time is difficult to translate exactly the sense of a whole sentence. I registered on this site just to have some help from "friends" because the technical terms using in drawing is a further difficult for me. I hope you understand me and don't get me wrong.
Offering my apologies that my previous answers have been rude while you were just asking for help. There are those days where I get impatient and easily annoyed when asking for help turns into apparently demanding it (out of frustration). Most of the times I then manage to refrain from answering - well knowing that I could misread the whole topic and vent my anger like the others their frustration. Yesterday I failed to keep quiet until having re-considered the appropriateness of my answer. Sorry.
Tell me also please if this post is considering closed or may I expect some further suggestion.
No, don't worry - every topic stays open (unless there's real mis-use and the forum admin closes it ;-). And the issue of rendering performance when certain filters are applied isn't closed either. Maybe we are lucky and get another answer by ivan louette - he has authored most (if not all) of the many exciting new (pre-set) filter effects available in Inkscape 0.47. If someone knows the internals of the filter effects - it must be him ;-)


You are kind ~suv ;-) That's right, I know something of the filters internals and I think we have here some problem whith gaussian blur which strangely seems to cause more slowness on some computers, particularly when you increase it. Filters use gaussian blur extensively as a primitive component. The question was already discussed on developpers mailing list and I am sure that will be solved in the close future but at the moment that can be a limitation in some cases. However Inkscape isn't the first app to have this kind of problem. I don't know if this is solved now in Illustrator but a few years ago a simple blur effect was extremely slow to render there too. But I know that's not a satisfying reply...

kindly,
ivan

gpnet
Posts: 7
Joined: Fri Nov 27, 2009 4:33 am

Re: inkscape slowness

Postby gpnet » Sun Nov 29, 2009 6:17 pm

Thanks Ivan, Let me know when you have news about this issue.

But, If a change view to 'No filter" does what I see on the screen is what I am expected ?.. and can I proceed drawing with "no filter" active ?. About this particular drawing example do you think it wold be better to use layers,and if yes, how and what advantages I get.


Can you tell me something about this ?

Joss

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: inkscape slowness

Postby ivan louette » Mon Nov 30, 2009 6:28 am

Hello Joss,

I found the solution to your precise problem. Ridged border uses the Morphology primitive which caused the slowness on zooming, but in your precise case you may simply remove it.

ivan

gpnet
Posts: 7
Joined: Fri Nov 27, 2009 4:33 am

Re: inkscape slowness

Postby gpnet » Mon Nov 30, 2009 6:46 am

Hi Ivan, Very good news ! :D

Sorry , I have to remove the Morphology primitive ? . It's correct ? . Where is this property ?

Thanks Joss

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: inkscape slowness

Postby ivan louette » Mon Nov 30, 2009 6:56 am

gpnet wrote:Hi Ivan, Very good news ! :D

Sorry , I have to remove the Morphology primitive ? . It's correct ? . Where is this property ?

Thanks Joss


Open the Filter/Filters Editor. That's where you take control on all filters settings. Then click on the filtered object (there are two white lines in your icon which got the same kind of filter) and you will see the applied filter checked in the list on the left. Click on its name and its primitives tree will appear on the right window. There, right click on the name "Morphology" and chose "Remove".

ivan

gpnet
Posts: 7
Joined: Fri Nov 27, 2009 4:33 am

Re: inkscape slowness

Postby gpnet » Mon Nov 30, 2009 7:03 am

Thanks a loooot Ivan.

Tomorrow I'll try. I will tell you what's happened.

Joss

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: inkscape slowness

Postby ivan louette » Mon Nov 30, 2009 7:12 am

gpnet wrote:Thanks a loooot Ivan.

Tomorrow I'll try. I will tell you what's happened.

Joss


Thanks and OOOOPS ! Sorry ! I forgot to precise that this primitive is located in the "Ridged border" filter. However in your file you will find it under the name "Drop Shadow" because following your process you applied it just after "Ridged Border" ad the two combined in one single new filter which got the name of the second one. That's the actual behaviour of Inkscape. Not perfect but I did proposal to simplify it in the future.

ivan

gpnet
Posts: 7
Joined: Fri Nov 27, 2009 4:33 am

Re: inkscape slowness

Postby gpnet » Mon Nov 30, 2009 5:36 pm

Hi , Ivan

I have tried to follow your suggestion , But doing that I found another problem in the property tree.

Click on its name and its primitives tree will appear on the right window. There, right click on the name "Morphology" and chose "Remove".


When I click on the property name ( in my case Ridged border ) I see the property tree "Collapsed" , in the sense that I see just one line visible and I have to scoll vertical bar more times to visualize the property. ( The window or panel is very small and the property tree doesn't feet ).

Any Way I Understood the sense. So I edited the .svg file directly try to find "Drop Shadow" keyword. I didn't find it. I found this :

<filter
id="filter2837"
inkscape:label="Ridged border"
inkscape:menu="Bevels"
inkscape:menu-tooltip="Ridged border with inner bevel"
color-interpolation-filters="sRGB">
<feMorphology
id="feMorphology2839"
radius="4.3"
in="SourceAlpha"
result="result91" />
<feComposite
id="feComposite2841"
in2="result91"
operator="out"
in="SourceGraphic" />
<feGaussianBlur
id="feGaussianBlur2843"
result="result0"
stdDeviation="1.2" />
<feDiffuseLighting
id="feDiffuseLighting2845"
diffuseConstant="1"
result="result92">
<feDistantLight
id="feDistantLight2847"
elevation="66"
azimuth="225" />
</feDiffuseLighting>
<feBlend
id="feBlend2849"
in2="SourceGraphic"
mode="multiply"
result="result93" />
<feComposite
id="feComposite2851"
in2="SourceAlpha"
operator="in" />
</filter>


I deleted this tag :
<feMorphology
id="feMorphology2839"
radius="4.3"
in="SourceAlpha"
result="result91" />


So I edited the file without this tag and ..... Wow it works ! :D
Now the draw is workable !

Now , I hope this is right tag. Can you confirm it is ? . I would also like to know something about the display property tree panel in windows env.

Any way thank you very much , Ivan.
Joss

P.S : I Attached the svg file so that you can give a sight !
Attachments
ButtonVGA.svg
(58.83 KiB) Downloaded 331 times

ivan louette
Posts: 215
Joined: Thu Aug 21, 2008 4:08 am
Location: Belgium

Re: inkscape slowness

Postby ivan louette » Mon Nov 30, 2009 6:28 pm

Yes that was the right tag ! But the operation is a little bit less secure.

But you can also enlarge the Filters properties window by dragging below "Filters general settings". You will see your cursor changing to double vertical arrow.

Then you will see Morphology at the first place above the Effects tree in the Effects and Connections window ; right click on it and remove.

ivan


Return to “Help with using Inkscape”