Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519710 - media-gfx/feh - zoom/panning functions very slow (related to imlib2)
Summary: media-gfx/feh - zoom/panning functions very slow (related to imlib2)
Status: RESOLVED DUPLICATE of bug 218382
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-12 11:30 UTC by Emmanuel Anne
Modified: 2014-09-04 23:44 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,4.58 KB, text/plain)
2014-09-02 21:10 UTC, Emmanuel Anne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Anne 2014-08-12 11:30:30 UTC
the standard build of feh has no zoom/rotation (normaly when you hold the middle mouse button on a picture and move the mouse, the zoom effect is immediate, here nothing happens)
After a short investigation, the problem seems to be in imlib2.
It's built on an amd64 system, it has most use flags when building it with emerge :

ebuild   R    ] media-libs/imlib2-1.4.6-r2  USE="X bzip2 gif jpeg mp3 nls png zlib -doc (-mmx) -static-libs -tiff" ABI_X86="(64) (-32) (-x32)" 0 kB

and despite this I get at the end of configure :
Use X86 MMX for speed.....: no
Use AMD64 for speed.......: no
disabling mmx in amd64 mode is normal, but amd64 assembly should be enabled.
I compiled it manually to check this, and when I ran configure I had "use amd64 for speed = yes" of course, without passing any special parameter to configure, and after installing it, feh retrieved its very fast zoom !

Reproducible: Always

Steps to Reproduce:
1.emerge -av imlib2 on an amd64 system
2.Check the configure summary at the end (should have "use amd64 for speed = yes")
3. eventually check feh zoom with middle mouse button + mouse move on a picture
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2014-09-02 19:27:05 UTC
Please post your emerge --info. For whatever reason the 'mmx' flag is disabled in your profile
Comment 2 Emmanuel Anne 2014-09-02 21:10:03 UTC
Created attachment 384136 [details]
emerge --info
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2014-09-03 18:55:17 UTC
Ok this is the reason

arch/amd64/package.use.mask:media-libs/imlib2 mmx

mmx flag is masked on imlib2 because of:

# Jeremy Olexa <darkside@gentoo.org> (07 Feb 2009)
# USE=mmx on imlib2 causes issues with other apps. See bug 218382 (comments
# 11-12)
media-libs/imlib2 mmx

CC'ing Jeremy
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2014-09-03 18:57:37 UTC
You can force unmask it yourself if you want to. Closing as duplicate of 218382

*** This bug has been marked as a duplicate of bug 218382 ***
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2014-09-04 23:44:32 UTC
(In reply to Markos Chandras from comment #3)
> Ok this is the reason
> 
> arch/amd64/package.use.mask:media-libs/imlib2 mmx
> 
> mmx flag is masked on imlib2 because of:
> 
> # Jeremy Olexa <darkside@gentoo.org> (07 Feb 2009)
> # USE=mmx on imlib2 causes issues with other apps. See bug 218382 (comments
> # 11-12)
> media-libs/imlib2 mmx
> 
> CC'ing Jeremy

Sorry, I don't recall specifics of an event 5 years ago, I guess it seemed right at the time..?