LinuxQuestions.org
Visit Jeremy's Blog.
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 12-11-2013, 08:58 PM   #1
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Rep: Reputation: Disabled
Gimp 2.8.6 on Slackware 14.1: functions like 'rotate' are unusably slow


Using Gimp-2.8.6 on Slackware 14.1, I'm seeing extreme slowness with Rotate and similar functions: Shear, Scale, and Perspective. With the defaults: Normal/Forward and Show image preview on, it is locking up for 15-30 seconds every time I try to do something (change rotation, even Cancel).

This is even for an empty, small (1024x768) image. That is: File > New, select 1024x768 template, OK; click on Rotate tool, click inside the canvas ... no reply for 15-30 seconds. Same thing on Gimp-2.8.2 with Slackware 14.0 is instantaneous.

During the delays, the X server is using 100% of one core, and Gimp is using 25% of another. I'm seeing similar slowness on another PC with single core and different graphics.

Anyone else see this? Any ideas?
 
Old 12-12-2013, 12:34 AM   #2
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
the same problem is reported by one user on zenwalk, it seem rebuilt 'cairo' with any option solve it.
 
1 members found this post helpful.
Old 12-12-2013, 01:40 AM   #3
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
Sorry, it seem rebuilt 'cairo' with no option solve it.
 
Old 12-12-2013, 03:41 AM   #4
phenixia2003
Senior Member
 
Registered: May 2006
Location: France
Distribution: Slackware
Posts: 1,052

Rep: Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008Reputation: 1008
Hello,

I confirm. To fix this issue, cairo must be rebuilt without --enable-xlib-xcb (or with --enable-xlib-xcb=no).


Note that according to cairo ./configure --help, the default for this option is [no] :

Code:
--enable-xlib-xcb=[no/auto/yes]
                          Enable cairo's Xlib/XCB functions feature
                          [default=no]
Furthermore, about this option, the 14.1 cairo.SlackBuild is a bit confusing :

Code:
CFLAGS="$SLKCFLAGS" \
./configure \
  --prefix=/usr \
  --libdir=/usr/lib${LIBDIRSUFFIX} \
  --mandir=/usr/man \
  --sysconfdir=/etc \
  --disable-gtk-doc \
  --disable-quartz \
  --disable-static \
  --disable-win32 \
  --disable-trace \
  --enable-xlib \
  --enable-xcb \
  --enable-xcb-shm \
  --enable-xlib-xcb \
  --enable-ps \
  --enable-pdf \
  --enable-svg \
  --enable-tee \
  --enable-gobject \
  --enable-xml \
  --build=$ARCH-slackware-linux

# None of these are 'stable' yet...
#  --enable-qt \
#  --enable-gl \
#  --enable-drm \
#  --enable-xlib-xcb \
#  --enable-xcb-shm \
Cheers

--
SeB

Last edited by phenixia2003; 12-12-2013 at 09:22 AM.
 
2 members found this post helpful.
Old 12-12-2013, 04:01 AM   #5
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,204

Rep: Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997Reputation: 997
i think this option is not enable in defaut config, and it is not used on many distro

Last edited by gmgf; 12-12-2013 at 04:06 AM.
 
Old 12-12-2013, 03:30 PM   #6
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Original Poster
Rep: Reputation: Disabled
Thanks very much to both of you. I rebuilt cairo-1.12.14 using the cairo.SlackBuild after removing the --enable-xlib-xcb option (which by the way occurs 3 times, not 2, in the script! Once enabled, once commented out saying it isn't 'stable', and a third time commented out with "Not sure if these two are needed / useful yet."

The commands in Gimp now work very well.

Hopefully this fix will make it into cairo.SlackBuild when it is next upgraded, patched, or rebuilt.
 
Old 02-01-2014, 09:37 AM   #7
ljb643
Member
 
Registered: Nov 2003
Posts: 526

Original Poster
Rep: Reputation: Disabled
Followup: Slackware 14.1 patch was released today: cairo-1.12.16-i486-1_slack14.1
The patch includes changes to fix the problem above.
(This is not a security patch, so if won't be announced on slackware-security.)
 
1 members found this post helpful.
Old 02-10-2014, 12:38 AM   #8
lazardo
Member
 
Registered: Feb 2010
Location: SD Bay Area
Posts: 270

Rep: Reputation: Disabled
Quote:
Originally Posted by ljb643 View Post
Followup: Slackware 14.1 patch was released today: cairo-1.12.16-i486-1_slack14.1
The patch includes changes to fix the problem above.
Grabbed the slackware64-14.1/patches/source/cairo/ build kit, rebuilt/reinstalled cairo from the 1.12.16 source on a 14.0 base. Clean build and upgrade.

Running the November gimp 2.8.10 release.

gimp is now actually fast for rotate, even crop is almost usable .

Cheers,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LQ is unusably slow! MTK358 LQ Suggestions & Feedback 15 07-04-2010 08:45 AM
Xubuntu newbie: Help with GIMP, and finding the equivalent of certain winxp functions samsam_eli Linux - Newbie 5 01-02-2009 05:42 PM
KDE unusably slow with XGL enabled, on Mobility Radeon 9700 Wintershade Linux - Software 0 07-21-2007 11:34 AM
Slackware 12 unusably slow on I8200 xflow7 Slackware 8 07-05-2007 09:12 PM
GIMP - Rotate image arbitrarily Micro420 Linux - Software 2 11-03-2003 02:52 AM

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

All times are GMT -5. The time now is 09:31 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