Bug 11438

Summary: very hi cpu usage when scrolling pdf
Product: poppler Reporter: Sebastien Bacher <seb128>
Component: cairo backendAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sebastien Bacher 2007-07-01 06:16:09 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/evince/+bug/122786

"Binary package hint: evince

I'm using gutsy, and I have evince 0.9.1-0ubuntu1.
I notice a very hi cpu usage in this version of evince.
When scrolling, and when moving a small window (for instance a terminal) over evince with a open pdf.
This makes evince bad because it is too slow to use!
...
http://launchpadlibrarian.net/8228961/01%20-%20IntroCorsoNew.pdf
Yes it happens with all pdfs!
here's an example.
If a sidebar is the bar that opens when pressing F9, no. But it happens also when it is enabled.
It happens in al "view" modes: fullscreen, continuous, dual...

Could it be a graphic driver error?

P.s. I have a mobility radeon 9700. I use the default driver"
Comment 1 Albert Astals Cid 2007-07-02 02:41:15 UTC
i really doubt scrolling cpu usage is a poppler problem, i'd say it's more an evince bug, but i'll leave evince developers to comment
Comment 2 Sebastien Bacher 2007-07-02 02:54:04 UTC
it's not really scrolling specific, it takes several second to render a page when switching
Comment 3 Carlos Garcia Campos 2007-07-02 03:06:27 UTC
hmm, I can't reproduce the problem with evince. But if the problem is when redrawing once the page is already rendered, it's not a rendering problem. Is it reproducible for you Sebastien?
Comment 4 Sebastien Bacher 2007-07-02 07:30:56 UTC
It's happening with the cairo and the splash backends, switching pages takes almost all the CPU for a few seconds. Could be an xorg bug though, according to sysprof it's spending almost all the CPU in /usr/bin/X (though there is no detail). Switching between windows is also slow when evince is opened, looks like it's doing something heavy for the video
Comment 5 Sebastien Bacher 2007-07-02 07:34:40 UTC
that doesn't happen using an evince 0.8.1 binary on the same installation, looks like an evince bug
Comment 6 Sebastien Bacher 2007-07-02 07:36:10 UTC
I've opened http://bugzilla.gnome.org/show_bug.cgi?id=453123

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.