[opensuse] Inkscape
Hi all, I'm using openSuSE 11 and I've installed Inkscape from the standard repositories. It takes several minutes to load and that happens on several Linux boxes (all with openSuSe 11) that I've . Any ideas why this happens? -- Regards, Lívio Cipriano P.S. - I had the same problem with Acrobat Reader so I installed the rpm from Adobe and the problem disappeared. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2009/3/15 Lívio Cipriano
Hi all,
I'm using openSuSE 11 and I've installed Inkscape from the standard repositories. It takes several minutes to load and that happens on several Linux boxes (all with openSuSe 11) that I've .
Any ideas why this happens?
-- Regards, Lívio Cipriano
P.S. - I had the same problem with Acrobat Reader so I installed the rpm from Adobe and the problem disappeared. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Try starting it from commandline to see where it hangs: "strace inkscape" Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Sunday March 15 2009, Ciro Iriarte wrote:
2009/3/15 Lívio Cipriano
: Hi all,
I'm using openSuSE 11 and I've installed Inkscape from the standard repositories. It takes several minutes to load and that happens on several Linux boxes (all with openSuSe 11) that I've .
Any ideas why this happens?
-- Regards, Lívio Cipriano
Try starting it from commandline to see where it hangs:
It doesn't hang, per se, but rather does a boat-load of computation when launched. Though I'm not sure I'm seeing the same thing Lívio is, since for me it takes about 10 seconds of solid CPU churning to start up.
"strace inkscape"
That is likely to overwhelm one with output that is hard to analyze.
Regards,
-- Ciro Iriarte
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2009/3/15 Randall R Schulz
On Sunday March 15 2009, Ciro Iriarte wrote:
2009/3/15 Lívio Cipriano
: Hi all,
I'm using openSuSE 11 and I've installed Inkscape from the standard repositories. It takes several minutes to load and that happens on several Linux boxes (all with openSuSe 11) that I've .
Any ideas why this happens?
-- Regards, Lívio Cipriano
Try starting it from commandline to see where it hangs:
It doesn't hang, per se, but rather does a boat-load of computation when launched. Though I'm not sure I'm seeing the same thing Lívio is, since for me it takes about 10 seconds of solid CPU churning to start up.
Here it starts in 5 seconds (11.0@x86_64), so 10 seconds sound normal too, he's seeing a "several minutes" delay, so we can't know for sure if it doesn't hang in some step of the startup.
"strace inkscape"
That is likely to overwhelm one with output that is hard to analyze.
Not really, if it hangs in a system call or operation it'll be obvious... Alternatively he can start inkscape from command line without using strace, maybe a cause can be seeing there too but i don't see any message at regular startup. Anyway, you have another magic way to check this out?
Regards,
-- Ciro Iriarte
Randall Schulz
Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 15 March 2009, Ciro Iriarte wrote:
Try starting it from commandline to see where it hangs:
"strace inkscape"
Regards,
-- Ciro Iriarte http://cyruspy.wordpress.com
There is my strace ziped. It starts to hang at gettimeofday brk(0x9662000) = 0x9662000 brk(0x9661000) = 0x9661000 gettimeofday({1237142180, 878636}, NULL) = 0 gettimeofday({1237142180, 878836}, NULL) = 0 gettimeofday({1237142180, 879026}, NULL) = 0 gettimeofday({1237142180, 879213}, NULL) = 0 gettimeofday({1237142180, 879397}, NULL) = 0 gettimeofday({1237142180, 879581}, NULL) = 0 gettimeofday({1237142180, 879765}, NULL) = 0 gettimeofday({1237142180, 879949}, NULL) = 0 gettimeofday({1237142180, 880132}, NULL) = 0 brk(0x9682000) = 0x9682000 brk(0x9681000) = 0x9681000 brk(0x96a2000) = 0x96a2000 brk(0x96c3000) = 0x96c3000 brk(0x96c2000) = 0x96c2000 brk(0x96e3000) = 0x96e3000 brk(0x96e2000) = 0x96e2000 and goes on several minutes till brk(0x9e13000) = 0x9e13000 brk(0x9e12000) = 0x9e12000 brk(0x9e34000) = 0x9e34000 mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb1b2b000 It seams that it tries to allocate memory and it can not, but the computers I tried have 2Gb and the output of free states that there are free memory. Any ideas? -- Regards, Lívio Cipriano
2009/3/15 Lívio Cipriano
On 15 March 2009, Ciro Iriarte wrote:
Try starting it from commandline to see where it hangs:
"strace inkscape"
Regards,
-- Ciro Iriarte http://cyruspy.wordpress.com
There is my strace ziped. It starts to hang at gettimeofday
brk(0x9662000) = 0x9662000 brk(0x9661000) = 0x9661000 gettimeofday({1237142180, 878636}, NULL) = 0 gettimeofday({1237142180, 878836}, NULL) = 0 gettimeofday({1237142180, 879026}, NULL) = 0 gettimeofday({1237142180, 879213}, NULL) = 0 gettimeofday({1237142180, 879397}, NULL) = 0 gettimeofday({1237142180, 879581}, NULL) = 0 gettimeofday({1237142180, 879765}, NULL) = 0 gettimeofday({1237142180, 879949}, NULL) = 0 gettimeofday({1237142180, 880132}, NULL) = 0 brk(0x9682000) = 0x9682000 brk(0x9681000) = 0x9681000 brk(0x96a2000) = 0x96a2000 brk(0x96c3000) = 0x96c3000 brk(0x96c2000) = 0x96c2000 brk(0x96e3000) = 0x96e3000 brk(0x96e2000) = 0x96e2000
and goes on several minutes till
brk(0x9e13000) = 0x9e13000 brk(0x9e12000) = 0x9e12000 brk(0x9e34000) = 0x9e34000 mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb1b2b000
It seams that it tries to allocate memory and it can not, but the computers I tried have 2Gb and the output of free states that there are free memory.
Any ideas?
According to "man brk": brk() sets the end of the data segment to the value specified by end_data_segment, when that value is reasonable, the system does have enough memory and the process does not exceed its max data size (see setrlimit(2)). So it seems to be memory allocation, are you sure you have free memory?, is this a stock installation (that is, you didn't play with ulimit, no virtualization is involved, no other special situation)? If everything is correct on the resources side, do you have the latest updates?, maybe trying another package from build service? Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 15 March 2009, Ciro Iriarte wrote:
So it seems to be memory allocation, are you sure you have free memory?,
there is the output of the output of free when inkscape is loading Mem: 2074232 1470444 603788 0 206964 822136 -/+ buffers/cache: 441344 1632888 Swap: 2104504 0 2104504
is this a stock installation (that is, you didn't play with ulimit, no virtualization is involved, no other special situation)?
I tried the stock installation
If everything is correct on the resources side, do you have the latest updates?, maybe trying another package from build service?
I did. I tried to load inkscape in 2 boxes with SuSE 11, with the same result. Maybe I have some configuration in both machines to which inkscape is "sensitive". -- Regards, Lívio Cipriano -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
What is happening is that inkscape doesn't cache the fonts. Each time it starts reads and processes the fonts present in the system. I've around 1.000 fonts ... so ... -- Regards, Lívio Cipriano On 15 March 2009, Lívio Cipriano wrote:
On 15 March 2009, Ciro Iriarte wrote:
So it seems to be memory allocation, are you sure you have free memory?,
there is the output of the output of free when inkscape is loading
Mem: 2074232 1470444 603788 0 206964 822136 -/+ buffers/cache: 441344 1632888 Swap: 2104504 0 2104504
is this a stock installation (that is, you didn't play with ulimit, no virtualization is involved, no other special situation)?
I tried the stock installation
If everything is correct on the resources side, do you have the latest updates?, maybe trying another package from build service?
I did.
I tried to load inkscape in 2 boxes with SuSE 11, with the same result. Maybe I have some configuration in both machines to which inkscape is "sensitive".
-- Regards, Lívio Cipriano
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
2009/3/15 Lívio Cipriano
What is happening is that inkscape doesn't cache the fonts. Each time it starts reads and processes the fonts present in the system. I've around 1.000 fonts ... so ...
-- Regards, Lívio Cipriano
Ok, that seems reasonable... How did you find out?, using a fresh installation without the fonts? Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 16 March 2009, Ciro Iriarte wrote:
How did you find out?
My fonts are at /usr/local/share/fonts. I just rename the dir to /usr/local/share/fonts_ simulating the erasing of them and inkscape just load "normally". -- Regards, Lívio Cipriano -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Ciro Iriarte
-
Lívio Cipriano
-
Randall R Schulz