Bug 4222

Summary: some PDF files display very slow
Product: poppler Reporter: Antoine <pitrou>
Component: generalAssignee: Kristian Høgsberg <krh>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: bigon, mpgritti, olivier, suckfish
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: slow PDF file

Description Antoine 2005-08-24 10:27:55 UTC
= Transfering this bug from GNOME Bugzilla:
http://bugzilla.gnome.org/show_bug.cgi?id=313815 =

Displaying the following PDF file is very slow (takes at least 10 seconds just
for the first page). xpdf and gpdf are very fast on the same document.

$ rpm -qv evince
evince-0.3.4-1mdk
$ rpm -qv libpoppler0
libpoppler0-0.4.0-1mdk
$ rpm -qv libcairo2
libcairo2-0.9.2-4mdk

I also have a non-public PDF document that displays the same problem. Do I need
to put it on a FTP and give the URL to someone in private?
Comment 1 Antoine 2005-08-24 10:32:03 UTC
Created attachment 3019 [details]
slow PDF file
Comment 2 Lukasz Halman 2005-09-18 14:57:01 UTC
Yet another really slow rendering file:
http://www.portalplayer.com/products/documents/5020_Brief_0108_Public.pdf

It takes well over a minute to render those 4 pages on my Athlon 2500+ with
evince 0.4./poppler0.4.2
Comment 3 Olivier Le Thanh Duong 2005-10-30 17:36:18 UTC
Another document that render slowly from Gnome (Evince) Bugzilla

Document
http://onderwijs.cs.utwente.nl/pdf_documenten/rooster_INF_B1.pdf
Associated gnome bug
http://bugzilla.gnome.org/show_bug.cgi?id=316187
Comment 4 Olivier Le Thanh Duong 2005-10-30 18:41:57 UTC
Note : previous document was bugging in version 0.4.2 (cairo).
Here is another one
http://albin.abo.fi/~ninylund/dump/kasiohjelma270905.pdf

Gnombe bug :
http://bugzilla.gnome.org/show_bug.cgi?id=317032
Comment 5 Olivier Le Thanh Duong 2005-11-05 16:40:47 UTC
Another one on 0.4.2 (cairo):
http://cr.yp.to/papers/m3.pdf

http://bugzilla.gnome.org/show_bug.cgi?id=320733
Comment 6 Antoine 2007-01-21 04:59:45 UTC
Bug still valid with following versions.

$ rpm -qv evince
evince-0.7.1-2mdv2007.1
$ rpm -qv libpoppler1
libpoppler1-0.5.4-2mdv2007.1
$ rpm -qv libcairo2
libcairo2-1.3.10-1mdv2007.1
Comment 7 Brad Hards 2007-12-11 18:04:43 UTC
Can you test with poppler 0.6.2 (or head)? Ideally test using both the cairo backend and the splash backend, if you can.

Comment 8 Antoine 2007-12-13 11:33:03 UTC
Ok, here are the software versions currently on my computer:

$ rpm -qv libpoppler2
libpoppler2-0.6.2-2mdv2008.1
$ rpm -qv libcairo2
libcairo2-1.4.12-1mdv2008.1

The file still displays quite slowly, rendering each page seems to takes 100% CPU during 2 or 3 seconds (on an Athlon X2 3600+). With xpdf rendering is instantaneous.

Here evince uses the cairo backend. How do I try with another backend (without recompiling)?
Comment 9 Laurent Bigonville 2009-10-28 13:19:52 UTC
Same issue with this complex pdf

http://www.stib.be/irj/go/km/docs/STIB-MIVB/INTERNET/attachments/Plan_reseau/20080211_plan.pdf

Takes upto 2 minutes to render on jaunty (with evince)
Comment 10 Carlos Garcia Campos 2010-01-27 08:13:30 UTC
(In reply to comment #9)
> Same issue with this complex pdf
> 
> http://www.stib.be/irj/go/km/docs/STIB-MIVB/INTERNET/attachments/Plan_reseau/20080211_plan.pdf
> 
> Takes upto 2 minutes to render on jaunty (with evince)
> 

It takes around 4 seconds with current cario backend. The other documents mentioned (that still work) render quite fast now. 
Comment 11 Albert Astals Cid 2010-01-27 15:13:45 UTC
File from comment #1 works fine in splash too
File from comment #3 is a dupe of bug 13518
File from comment #5 works fine in splash too
File from comment #9 is reasonably fast for me in splash too
Other URLs don't work, so i'm closing the bug as some files are fixed and others are duplicates of known bugs

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.