← Back to team overview

desktop-packages team mailing list archive

[Bug 294466] Re: Rendering specific PDF is very cpu intensive

 

** Description changed:

- I'm attaching a file that makes the issue visible
+ 1) lsb_release -rd
+ Description:	Ubuntu 14.04.1 LTS
+ Release:	14.04
  
- Evince takes 100% cpu, for quite a while, to draw each page. In the
- sample file there are only 3 pages, but I have similar documents with
- many more, and it becomes impractical to read them.
+ 2) apt-cache policy evince
+ evince:
+   Installed: 3.10.3-0ubuntu10.1
+   Candidate: 3.10.3-0ubuntu10.1
+   Version table:
+  *** 3.10.3-0ubuntu10.1 0
+         500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
+         100 /var/lib/dpkg/status
+      3.10.3-0ubuntu10 0
+         500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
  
- I used valgrind --tool=callgrind to try to detect what functions were
- the most stressful, and libpoppler comes up no top, with functions such
- as GfxDeviceCMYKColorSpace::getRGB and StreamPredictor::getNextLine the
- most expensive ones.
+ 3) What is expected to happen is when one opens the following attachment, it does so near instantly:
+ https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/294466/+attachment/409709/+files/05-Normalizacao.pdf
+ 
+ 4) What happens is it takes ~9 seconds to render each page. In Adobe
+ Reader 11.x and PDF viewer built into Firefox it takes less than a
+ second.
+ 
+ Valgrind:
+ https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/294466/+attachment/412494/+files/callgrind.out.31172.bz2

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to poppler in Ubuntu.
https://bugs.launchpad.net/bugs/294466

Title:
  Rendering specific PDF is very cpu intensive

Status in poppler package in Ubuntu:
  Confirmed

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu 14.04.1 LTS
  Release:	14.04

  2) apt-cache policy evince
  evince:
    Installed: 3.10.3-0ubuntu10.1
    Candidate: 3.10.3-0ubuntu10.1
    Version table:
   *** 3.10.3-0ubuntu10.1 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
          100 /var/lib/dpkg/status
       3.10.3-0ubuntu10 0
          500 http://us.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages

  3) What is expected to happen is when one opens the following attachment, it does so near instantly:
  https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/294466/+attachment/409709/+files/05-Normalizacao.pdf

  4) What happens is it takes ~9 seconds to render each page. In Adobe
  Reader 11.x and PDF viewer built into Firefox it takes less than a
  second.

  Valgrind:
  https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/294466/+attachment/412494/+files/callgrind.out.31172.bz2

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/poppler/+bug/294466/+subscriptions