LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-10-2011, 04:20 PM   #1
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Rep: Reputation: 14
xpdf is slow


I've posted about this before and I can't believe I'm the only person seeing this : xpdf is slow to render PDFs and navigating through a document is ponderous. The problem is there on my laptop ( Core i3 ) and my desktop ( Core i7 ). I played with the ./configure options in the Slackbuild and deleting the -mtune=i686 option made it much more responsive. I'm not smart enough to debug the problem myself so any help would be appreciated. It's so bad I've got Debian on a separate partition and I boot into that if I need to look at PDFs.
 
Old 05-10-2011, 06:30 PM   #2
zoran119
Member
 
Registered: Dec 2007
Posts: 217

Rep: Reputation: 18
same here. i have researched around and didn't find anything that fixed it for me (i remember someone talking about the font configuraion, somewhere on this forum). i just gave up and am using epdfviewer, evince and okular... i would be very interested in the solution tho!
 
Old 05-10-2011, 06:33 PM   #3
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
Interesting... I'm on 13.37 and even with 13.1 of Slackware xpdf has been fine for me...
 
Old 05-10-2011, 06:56 PM   #4
jmccue
Member
 
Registered: Nov 2008
Location: US
Distribution: slackware
Posts: 687
Blog Entries: 1

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Hi

I did a linux questions search, see:

http://www.linuxquestions.org/questi...slowly-840078/

I never noticed it being slow
but creating a ~/.xpdfrc a few releases ago based upon what
allend said really sped things up for me

John
 
Old 05-10-2011, 07:26 PM   #5
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
Ahh, that would shed some light on this... I have Windows fonts installed in my .fonts so perhaps xpdf has less of an issue rendering documents for me. Interesting to hear if the OP has Windows fonts or not...
 
Old 05-10-2011, 07:46 PM   #6
xdunlapx
Member
 
Registered: Oct 2008
Location: Nevada
Distribution: Slackware 14.1
Posts: 69

Rep: Reputation: 0
I haven't installed any windows fonts and xpdf is slow to use. I am on 13.37. I prefer to use another pdf viewer anyway, so I just installed another one and use it. Good luck!
 
Old 05-10-2011, 09:10 PM   #7
kgs
Member
 
Registered: Apr 2011
Posts: 38

Rep: Reputation: 4
13.37 on an i3 here, and the same thing; loads up fine but scrolling sucks real bad. I initially ignored it and started using okular instead, but I am going to try the modified xpdf.rc from linked thread.
 
Old 05-10-2011, 11:23 PM   #8
elyk
Member
 
Registered: Jun 2004
Distribution: Slackware
Posts: 241

Rep: Reputation: 49
I read something in the past about GCC changes with regard to floating-point calculations causing some trouble. If I remember right, the code checks some floating-point numbers for equality (no tolerance), and the GCC changes break xpdf's caching because the comparison doesn't work as it used to.

Google turns up this:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577031
 
Old 05-10-2011, 11:39 PM   #9
SqdnGuns
Senior Member
 
Registered: Aug 2005
Location: Pensacola, FL
Distribution: Slackware64® Current & Arch
Posts: 1,092

Rep: Reputation: 174Reputation: 174
Just tested it on my end with no issues at all, tried quite a few .pdf's. Slackware64 13.37 Multilib i3 core laptop
 
Old 05-11-2011, 12:40 AM   #10
Ilgar
Senior Member
 
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,157

Rep: Reputation: 237Reputation: 237Reputation: 237
Same problem here (since 13.1). I just switched to evince...
 
Old 05-11-2011, 06:52 AM   #11
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Original Poster
Rep: Reputation: 14
I've tried modifying the font path to /usr/share/libwmf in .xpfrc and it made no noticeable difference. That Debian bug link posted by elyk looks like it might be the problem.
 
Old 05-11-2011, 09:25 AM   #12
san
Member
 
Registered: Jan 2006
Location: vienna, .at
Distribution: Slackware64 13.37
Posts: 50

Rep: Reputation: 12
i've had this problem on slack13.1, back then it was the float-issue. i recompiled it using a patch and everything worked -- unfortunately, this was quite some time ago and meanwhile I have switched to a 64-bit machine, so I don't know where i got it from any more .
but a quick google found this one:
http://recipes.gobolinux.org/r/?list...03-float.patch
maybe you could give it a try.

Last edited by san; 05-11-2011 at 09:33 AM.
 
Old 05-11-2011, 12:38 PM   #13
Bertical
Member
 
Registered: Oct 2008
Location: Kingdom of Mercia
Distribution: Slackware
Posts: 83

Original Poster
Rep: Reputation: 14
Thanks to san above , applying that patch does indeed speed it up
 
Old 05-11-2011, 03:41 PM   #14
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
I prepared simple chart using LibreOffice Draw module and exported it to PDF file. When I open it with Xpdf and I try to scroll the chart horizontally, vertically or diagonally using my ThinkPad’s TrackPoint top reports Xpdf uses 97–100% of CPU and the chart rewinds very slowly.

That’s the mentioned chart:

family_tree.pdf

I tried Xpdf in the standard configuration as well as in the configuration suggested by allend in the related thread. In both cases Xpdf behaves the same. I still use Slackware 13.1.
 
Old 05-11-2011, 03:51 PM   #15
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
You could observe the same result scrolling the chart with arrow keys instead of mouse wheel or ThinkPad’s TrackPoint. Just press the arrow key for a while and then switch to the terminal running top.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] [slackware 13.1] xpdf very slow and cpu goes to 100% cacao74 Slackware 18 06-26-2011 08:31 PM
xpdf or kpdf? anamericanjoe Linux - Software 2 09-15-2006 03:46 AM
Xpdf satimis Linux - Software 3 09-04-2005 11:28 AM
xpdf 3.00 problem Belegdol Linux - Software 0 01-28-2004 07:20 AM
Xpdf will not print zLinuxz Linux - Software 3 05-03-2002 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration