Bug 338030 - PDF rendering extremely slow
Summary: PDF rendering extremely slow
Status: RESOLVED DUPLICATE of bug 334708
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 0.19.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL: http://www.open.ac.uk/science/biosci/...
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-04 14:08 UTC by Pascal Niklaus
Modified: 2014-08-05 14:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Niklaus 2014-08-04 14:08:45 UTC
When displaying various PDFs, I experience rendering delays in the range of 10 seconds when scrolling to the next page. 

Memory usage in Okular is set to "aggressive".

In the example above, opening takes 20 seconds on a quite fast computer. With xpdf, the file opens and displays instantly. 

For some other PDFs, scrolling to the next page also takes something in the range of 10-20 seconds, or longer.

Reproducible: Always
Comment 1 Christoph Feck 2014-08-04 14:21:46 UTC
Cannot reproduce with poppler 0.24.3 and KDE 4.13.3

The linked document renders instantly on all pages on a dated Centrino 1.2 GHz system.
Comment 2 Albert Astals Cid 2014-08-04 16:53:56 UTC
Pascal which poppler do you have?
Comment 3 Pascal Niklaus 2014-08-05 07:33:18 UTC
The machine here is an i5-3470 CPU @ 3.20GHz, and has 12 GB RAM, with most available. So this is not a resource problem. I also experience the exact same problem on two other computers running Kubuntu 14.04.

Poppler: It says "0.24.5-2ubuntu4"

lsof lists

/usr/lib/i386-linux-gnu/libpoppler.so.44.0.0
/usr/lib/i386-linux-gnu/libpoppler-qt4.so.4.3.0

Let me know how I provide more info.
Comment 4 Albert Astals Cid 2014-08-05 08:10:13 UTC
Ah, won't you have a configured but not connected network printer?
Comment 5 Pascal Niklaus 2014-08-05 14:15:46 UTC
There are network printers listed in CUPS that I neither installed nor configured. KDE (?) somehow automatically finds them. Personally, I find this annoying, but don't know how to turn this off. It certainly seems to sometimes cause enormous delays when opening the printing dialog.

But even if this happens, how would this delay displaying a PDF, or browsing from page to page (hitting PgDn)?
Comment 6 Pascal Niklaus 2014-08-05 14:25:34 UTC
Update: I did manually remove network printers I did not install, and now the PDF opens quickly.

But why does *displaying* a document, or scrolling through it, depend on network printers being installed/configured/scanned/...? This sounds like an unnecessary dependency to me that is prone to cause problems...
Comment 7 Albert Astals Cid 2014-08-05 14:47:41 UTC

*** This bug has been marked as a duplicate of bug 334708 ***