LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Gimp 2.8.6 on Slackware 14.1: functions like 'rotate' are unusably slow (http://www.linuxquestions.org/questions/slackware-14/gimp-2-8-6-on-slackware-14-1-functions-like-rotate-are-unusably-slow-4175487656/)

ljb643 12-11-2013 08:58 PM

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?

gmgf 12-12-2013 12:34 AM

the same problem is reported by one user on zenwalk, it seem rebuilt 'cairo' with any option solve it.

gmgf 12-12-2013 01:40 AM

Sorry, it seem rebuilt 'cairo' with no option solve it.

phenixia2003 12-12-2013 03:41 AM

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

gmgf 12-12-2013 04:01 AM

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

ljb643 12-12-2013 03:30 PM

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.

ljb643 02-01-2014 09:37 AM

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.)

lazardo 02-10-2014 12:38 AM

Quote:

Originally Posted by ljb643 (Post 5109241)
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,


All times are GMT -5. The time now is 05:31 AM.