Gentoo Forums
Gentoo Forums
Quick Search: in
acroread-7.0.5 is starting more than 2 minuts
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
radfoj
Guru
Guru


Joined: 31 Dec 2004
Posts: 490
Location: Tísek, Czech Republic

PostPosted: Sun Jan 08, 2006 12:27 pm    Post subject: acroread-7.0.5 is starting more than 2 minuts Reply with quote

Hi,

just updated acroread from version 7.0.1.1 to 7.0.5 and its starting more than 2 minutes. Its not only for the first time, after launching and closing him, second run takes ages too. I am not sure, but previous started for the first time under 20 sec, second start was really quick. Deleting .adobe didnt help. I tried now run "strace acroread" and before acreread windows shows up - CPU is used on 100% and there are many many lines about fonts like this:
Code:
open("/usr/X11R6/lib/X11/fonts/100dpi/timB08-ISO8859-9.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/ncenI18-ISO8859-3.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/ncenB12-ISO8859-13.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/UTI___24-ISO8859-2.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)
open("/usr/X11R6/lib/X11/fonts/100dpi/luBS12-ISO8859-10.pcf.gz", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = -1 ENOTDIR (Not a directory)

These messages about font are displaying in console more than 1 minute.
Code:
[ebuild   R   ] app-text/acroread-7.0.5  -ldap +nls +nsplugin 0 kB
Code:
[ebuild   R   ] x11-libs/gtk+-2.8.9  -debug -doc +jpeg +tiff 0 kB

Am I the only one with these startup problem?
Back to top
View user's profile Send private message
i92guboj
Moderator
Moderator


Joined: 30 Nov 2004
Posts: 9106
Location: Córdoba (Spain)

PostPosted: Sun Jan 08, 2006 12:48 pm    Post subject: Reply with quote

Not sure, but just an idea: have you compiled xorg without support for the bitmap fonts (USE="-bitmap-fonts")? or, maybe, are you using the modular release?

Seems that acroread is trying to find those fonts and cannot find them, but not sure if that is really the problem. Acroread under linux is really a pain. Shame on adobe...
_________________
Gentoo Handbook
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Sun Jan 08, 2006 12:51 pm    Post subject: No your not Reply with quote

Ended up removing loads of .gz'ed bitmap fonts and trimming down the ttf's.

Didn't improve the speed that much (AMD Athlon-xp).

There are some plugins that I ended up taking out - one didn't like anti-aliasing as far as I could tell (didn't really look into that far - acroread opened fast enough and had what I wanted job done :D ).

Try taking out some plugins into a spare dir.

Messing around with fonts seems to be a red herring but trimming down your fonts (especially bitmap'ed ones) is always a good idea (just keep the ones you use).
Back to top
View user's profile Send private message
Hydonsingore
n00b
n00b


Joined: 03 May 2004
Posts: 21
Location: Taiwan

PostPosted: Sun Jan 08, 2006 4:04 pm    Post subject: Reply with quote

Removal of ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst seems to stop the font-searching behavior. However it's annoying to do this manually every time starting Adobe Reader.
Back to top
View user's profile Send private message
Epyon
l33t
l33t


Joined: 11 Sep 2003
Posts: 754
Location: NJ, USA

PostPosted: Sun Jan 08, 2006 5:17 pm    Post subject: Reply with quote

Getting the same messages in strace about the fonts but its only taking about 20 seconds for the program to come up (which is too long anyway. kpdf opens in like 2 seconds).

The font files its looking for do exist though and I have read permissions on them.
Back to top
View user's profile Send private message
Fritz Heinrichmeyer
n00b
n00b


Joined: 15 Jul 2004
Posts: 14
Location: Hagen, Germany

PostPosted: Mon Jan 09, 2006 12:55 pm    Post subject: acroread 7.0.5 starts fast with xorg-x11-7.0 only when .... Reply with quote

acroread 7.0.5 starts fast with xorg-x11-7.0 only when

~/.adobe/Acrobat//7.0/Cache/UnixFnt07.lst

is removed. Should i also install all 75dpi fonts?
Back to top
View user's profile Send private message
labba
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 178
Location: 127.0.0.1

PostPosted: Mon Jan 09, 2006 3:06 pm    Post subject: Reply with quote

I've got the same problem.
Thanks for the tip to remove this cache file!
Don't know if it's a good idea, but I just put
Code:
rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst

in the first line of /usr/bin/acroread so everytime acroread starts the file gets deleted...

I use Xorg 6.8.2-r6 compiled with bitmap-fonts...
Back to top
View user's profile Send private message
whatzdaname
n00b
n00b


Joined: 30 Mar 2003
Posts: 24
Location: Earth

PostPosted: Tue Jan 10, 2006 10:59 am    Post subject: Reply with quote

Same problem here.

acroread-7.0.1.1 is working okay but the new acroread-7.0.5 is giving problems.
Hope this problem is solved soon since I'm pretty happy with the new printing menu in acroread-7.0.5.

Just filed a bugzilla report.

Edit: Well, got the following answer from bugzilla within 5 minutes of posting

I don't see what we could fix here. Complain to Adobe, please.


Last edited by whatzdaname on Tue Jan 10, 2006 11:11 am; edited 1 time in total
Back to top
View user's profile Send private message
Fritz Heinrichmeyer
n00b
n00b


Joined: 15 Jul 2004
Posts: 14
Location: Hagen, Germany

PostPosted: Tue Jan 10, 2006 11:10 am    Post subject: [SOLVED] acroread-7.0.5 is starting more than 2 minuts Reply with quote

First i suspected acrobat to need xlsfonts, xorg-x11 modular does not install xlsfonts by default, older releases do, so i do not think that the problem is gone by installing xlsfonts.

What helped was to replace .adobe/Acrobat/7.0/Cache/UnixFnt07.lst by a zero size file with "rm <fn>" and "touch <fn>".

Now it behaves like old outdated software:

It is snappy on my > 1 GHz PC.
Back to top
View user's profile Send private message
whatzdaname
n00b
n00b


Joined: 30 Mar 2003
Posts: 24
Location: Earth

PostPosted: Tue Jan 10, 2006 11:13 am    Post subject: Reply with quote

Thanks, Fritz!

Worked like a charm.
Back to top
View user's profile Send private message
kenyon
Apprentice
Apprentice


Joined: 23 Dec 2004
Posts: 155
Location: Southern California

PostPosted: Mon Jan 16, 2006 12:11 am    Post subject: Reply with quote

I was having acroread startup problems after the upgrade to 7.0.5. After rm -rf ~/.adobe, problems seem to have gone away.
Back to top
View user's profile Send private message
azp
Apprentice
Apprentice


Joined: 16 Nov 2003
Posts: 284
Location: Stockholm, Sweden

PostPosted: Wed Jan 18, 2006 10:28 am    Post subject: Reply with quote

I have the same problem, posted a note about it in another thread. I'll try the solutions presented here and see where it gets me! =)

[EDIT]:

It's 5 seconds better than before... Now acroread starts in:

Quote:
>time acroread
real 0m47.647s
user 0m44.623s
sys 0m0.688s


Still a pain in the bottom, to say the least.. At least the License-question came up in a second, hehe. :wink:

[EDIT2]:

Saved the output of strace in a log-file. Ended up at 2.4Mb, that's a lot of information. I had several reports about fonts, just like earlier post. Don't know if that's the problem though. Hope Adobe fixes this.
_________________
Weeks of coding can save you hours of planning.
Back to top
View user's profile Send private message
Teetante
Guru
Guru


Joined: 02 Mar 2004
Posts: 515
Location: Oldenburg/Germany

PostPosted: Wed Jan 18, 2006 10:44 am    Post subject: Reply with quote

Had the same problem and the "rm UnixFnt07.lst; touch UnixFnt07.lst" thingy helped.
_________________
ICQ #81510866 - http://the-gay-bar.com - MSN tante@emptiness.de
Occam's Razor:
-"Entia non sunt multiplicanda praeter necessitatem."-
Back to top
View user's profile Send private message
mu-sly
Tux's lil' helper
Tux's lil' helper


Joined: 21 Sep 2003
Posts: 129
Location: Nottingham, UK

PostPosted: Fri Jan 20, 2006 5:28 pm    Post subject: Summary of the fix Reply with quote

Just to summarize (since it's all said here, but not actually put together in one post), here's what I've found as the best fix:

As root, edit /usr/bin/acroread in your text editor of choice. Change the start of the file from this:

Code:

#!/bin/sh
#

setLangENU()


To this...

Code:

#!/bin/sh
#

### FIX SLOW STARTING IN ACROREAD 7.05
rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst

setLangENU()


Seems to work fine, thanks for the tips everyone!
_________________
"Nothing says 'Obey me' like a bloody head on a post." - Stewie
Back to top
View user's profile Send private message
azp
Apprentice
Apprentice


Joined: 16 Nov 2003
Posts: 284
Location: Stockholm, Sweden

PostPosted: Mon Jan 30, 2006 2:56 pm    Post subject: Reply with quote

Teetante wrote:
Had the same problem and the "rm UnixFnt07.lst; touch UnixFnt07.lst" thingy helped.


How long does it take for you now? After I edited the /usr/bin/acroread i'm down to
Code:
real   0m31.846s
user   0m1.276s
sys   0m0.764s

which is almost ok. Well, it's better than before! I still hope Adobe will improve this in some way, and a background "quick-start" does not count as a solution.
_________________
Weeks of coding can save you hours of planning.
Back to top
View user's profile Send private message
John5788
Advocate
Advocate


Joined: 06 Apr 2004
Posts: 2082
Location: 127.0.0.1

PostPosted: Tue Feb 07, 2006 1:50 am    Post subject: Re: Summary of the fix Reply with quote

mu-sly wrote:
Just to summarize (since it's all said here, but not actually put together in one post), here's what I've found as the best fix:

As root, edit /usr/bin/acroread in your text editor of choice. Change the start of the file from this:

Code:

#!/bin/sh
#

setLangENU()


To this...

Code:

#!/bin/sh
#

### FIX SLOW STARTING IN ACROREAD 7.05
rm ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst
touch ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst

setLangENU()


Seems to work fine, thanks for the tips everyone!


works, but would like a real fix for this soon if possible.
_________________
John5788
Back to top
View user's profile Send private message
jevidl
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2004
Posts: 111
Location: Ann Arbor, MI

PostPosted: Mon Feb 13, 2006 10:27 pm    Post subject: Reply with quote

A real fix would be nice, but the quick hack in this thread worked like a charm. From a very long startup to split second.
Back to top
View user's profile Send private message
ericding
n00b
n00b


Joined: 04 Mar 2005
Posts: 11

PostPosted: Tue Feb 14, 2006 3:40 am    Post subject: are you sure this hack works? Reply with quote

Are you sure that adding this hack to the acroread startup script is actually working?

I find that if I replace UnixFnt07.lst with an empty file, startup times are reduced, but they're hardly split-second. Only if I restart Acrobat Reader soon after I exit it is this the case; if I wait a while, logout and log back in, etc., then try to start up Acrobat again, I'm again seeing startup times on the order of tens of seconds, rather than just a few moments.

I can't believe this made it out the door of Adobe this way; perhaps Gentoo's x.org installation is configured in a way that tickles a bug otherwise unbeknownst to their developers?
Back to top
View user's profile Send private message
ericding
n00b
n00b


Joined: 04 Mar 2005
Posts: 11

PostPosted: Wed Feb 15, 2006 12:31 am    Post subject: Reply with quote

FWIW: I just tried running Acrobat Reader 7.0.5 in a clean Fedora Core 4 installation inside VMPlayer, and it started up much more quickly than on Gentoo. Whatever the source of the problem on Gentoo, I doubt Adobe will "fix" it unless someone can pin down what difference between Gentoo and Fedora is making it take so much longer on Gentoo...
Back to top
View user's profile Send private message
ericding
n00b
n00b


Joined: 04 Mar 2005
Posts: 11

PostPosted: Wed Feb 15, 2006 3:04 pm    Post subject: The plot thickens... Reply with quote

So here's some other observations I've made while trying to figure this problem out. I may be barking up the wrong tree, but the basic problem, I believe, has to do with bitmap (100dpi and 75dpi) fonts and their locations on Gentoo.

On Fedora, according to strace, acroread never even looks at /usr/X11R6/lib/X11/fonts/100dpi or /usr/X11R6/lib/X11/fonts/75dpi, and there are no corresponding entries from that directory in UnixFnt07.lst after starting up and exiting acroread.

On Gentoo, on the other hand, according to strace, acroread looks inside every file that's in:

/usr/share/fonts/75dpi
/usr/share/fonts/100dpi
/usr/X11R6/lib/X11/fonts/75dpi
/usr/X11R6/lib/X11/fonts/100dpi

which works out, on my system, to over 7500 bitmap font files -- sort of. The problem's actually worsened because on Gentoo Linux, /usr/X11R6/lib/X11/fonts is just a symlink to /usr/share/fonts -- so acroread is doing twice as much work for each of almost 4000 font files, not realizing that it's hitting each one twice. So every one of these files is listed in UnixFnt07.lst, and listed twice!! We're just lucky they don't also look by default in /usr/X11R6/share/fonts (which doesn't exist on Fedora, but is another symlink on Gentoo)! I'm still mystified as to why acroread looks inside the /usr/X11R6/lib/X11/fonts/*dpi directories on Gentoo but not on Fedora, but even if it didn't look in those on Gentoo, it still wouldn't resolve the problem entirely.

If I rename/remove the symlink in /usr/X11R6/lib/X11/fonts, this cuts startup time of a clean start of acroread in half. If I change the permissions of the 75dpi and 100dpi directories so that they're only root-readable (i.e., chmod o-rx), then acroread startup time is negligible (!)... so one workaround is to make those readable only to root, but I don't know if that has other undesirable side effects.

I'd welcome any wisdom/suggestions from others...!
Back to top
View user's profile Send private message
Fritz Heinrichmeyer
n00b
n00b


Joined: 15 Jul 2004
Posts: 14
Location: Hagen, Germany

PostPosted: Thu Feb 23, 2006 2:26 pm    Post subject: deleting link /usr/X11R6 etc for speeding up acroread startu Reply with quote

my problem with acroread came up again, so i deleted the symbolic link /usr/X11R6, then a now dead link in /usr/lib/X11 and
the fonts link in /usr/lib/X11.
That helped together with truncating ~/.adobe/Acrobat/7.0/Cache/UnixFnt07.lst

Truncation the mentioned file cuts down startup from 7.6 seconds to 3.2 here.
Btw. the file had 34528 lines on my system. Maybe i have too much fonts?
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3140

PostPosted: Sat Feb 25, 2006 5:12 am    Post subject: Reply with quote

Well it looks like acroread-7.0.5 is marked stable, but long delay in starting it still exists.

Code:
$ time acroread
real    1m7.451s
user    0m51.852s
sys     0m0.549s


I used the fix from above (by inserting the new lines inside /usr/bin/acroread)
Code:
$ time acroread
real    0m3.459s
user    0m1.285s
sys     0m0.577s


Since it is 'stable' now, will there be an official fix soon?
Back to top
View user's profile Send private message
lost-distance
n00b
n00b


Joined: 10 Apr 2003
Posts: 56

PostPosted: Sat Feb 25, 2006 12:10 pm    Post subject: Reply with quote

Here's my solution. It's persistent, and perhaps more elegant than editing /usr/bin/acroread:

Code:
rm .adobe/Acrobat/7.0/Cache/UnixFnt07.lst
ln -s /dev/null .adobe/Acrobat/7.0/Cache/UnixFnt07.lst
Back to top
View user's profile Send private message
ericding
n00b
n00b


Joined: 04 Mar 2005
Posts: 11

PostPosted: Sat Feb 25, 2006 3:46 pm    Post subject: Reply with quote

lost-distance wrote:
Here's my solution. It's persistent, and perhaps more elegant than editing /usr/bin/acroread:

Code:
rm .adobe/Acrobat/7.0/Cache/UnixFnt07.lst
ln -s /dev/null .adobe/Acrobat/7.0/Cache/UnixFnt07.lst


This really doesn't work all that well for me (!). My workaround (as alluded to above) is to change the perms of some font dirs (as root), which so far hasn't resulted in any undesirable side effects, and reduces startup time to well under 10 seconds, as it already is under Fedora Core 4:

Code:
cd /usr/share/fonts
chmod 750 100dpi 75dpi cyrillic misc ukr


Last edited by ericding on Tue Feb 28, 2006 12:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
at240
l33t
l33t


Joined: 12 Aug 2005
Posts: 603
Location: UK

PostPosted: Tue Feb 28, 2006 9:07 am    Post subject: Reply with quote

mu-sly wrote:
As root, edit /usr/bin/acroread in your text editor of choice.

Doesn't work---or, at least, it doesn't work for me. The delay returns after a few launches. I've downgraded.

I'm surprised that such a problem is occurring in what should be a stable package. I think this is the first time I've ever had to choose to downgrade. I'd file a bug, but it seems this was done already to no avail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum