On Wed, Oct 01, 2008 at 09:57:48PM +0200, Kim Woelders wrote:
> Hmm... tried your configuration with a 0.16.8.10. For me it works just  
> nice and snappy as I would expect, no annoying delays.

Thanks for looking.

> Not sure how to figure this out...
> Can you say if it's a "busy delay", like is the cpu maxed out during the  
> delay or not?

Hard to say if it's truly maxed, but there is a noticeable peak visible in
procmeter or top if it happens to capture a sample at the right time.

> Or is it an event stall - does moving the mouse cancel the delay?

Doesn't look like it. After I minimize or maximize, I can move the mouse
pointer to where I know the window will go, and usually beat it there.

> A few wild guesses:
> - Have you tried wiping out the cache (rm -rf ~/.e16/cached)?

didn't help.

> - Does disabling the iconification animation make a difference?

None whatsover, the delay is the same.
However, I found out that disabling the window snapshotting allows for a
near instant minimize now. Weird, considering I didn't have delay with my
older install on a slower laptop.

Now, if snapshotting is off, minimize is fast, which may show a problem with
one graphics lib.

> - Does disabling the pagers make a difference?

sure does, it solved the second piece of the equation: restoring a window
from the iconbox.

So, in both cases it looks like it's the code that creates the miniature
snapshot of my window that takes .5 to 1sec on a dual core duo 2Ghz.

Thanks much for the hints, that brings us a long way already.

> - Is your imlib2 up to date and compiled with mmx/sse support? And libpng?

libimlib2      1.4.0-1ubuntu1 on ubuntu hardy, this should be quite recent.

Argh, I looked at the deb build:
#make happy little 386 friendly debs
DEB_CONFIGURE_EXTRA_FLAGS = --enable-mmx=no --prefix=/usr --exec-prefix=/usr 
--disable-amd64

Ubuntu looses on that one, although I suppose it'd be better if imlib2 were to 
autodetect
the CPU and use what's available like mplayer does.

That said, I rebuilt it with
Use X86 MMX for speed.....: yes
Use AMD64 for speed.......: no

and it's not any faster. Snapshotting is still slow. This doesn't really
surprise me too much though because the desktop I'm writing this from is a 4
screen 3840x2400 resolution display with E 0.16.7.2 and it's an older ubuntu
where I'm sure the imlib build doesn't use MMX either (it's also an older
CPU).
Window iconify and restore is near instant with snapshotting on and the same 
pager.

I've tried to strace e16 around the time I iconified a window with snapshotting 
on.
Result is here:
http://marc.merlins.org/tmp/capt
I have a hard time reading the trace in a way that shows where I clicked and 
where it
was iconified, but the trace should contain the entire second when that happend.

If that helps:
gandalf:~$ ldd /usr/lib/libImlib2.so.1
        linux-gate.so.1 =>  (0xffffe000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7e8a000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7e75000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d8d000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d7f000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7d7b000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d56000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7c07000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7c05000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7bec000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7be9000)
        /lib/ld-linux.so.2 (0x80000000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7be4000)

gandalf:~$ ldd /usr/bin/e16
        linux-gate.so.1 =>  (0xffffe000)
        libImlib2.so.1 => /usr/lib/libImlib2.so.1 (0xb7f4a000)
        libesd.so.0 => /usr/lib/libesd.so.0 (0xb7f40000)
        libaudiofile.so.0 => /usr/lib/libaudiofile.so.0 (0xb7f1a000)
        libpangoxft-1.0.so.0 => /usr/lib/libpangoxft-1.0.so.0 (0xb7f13000)
        libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0xb7ed6000)
        libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7e9a000)
        libXft.so.2 => /usr/lib/libXft.so.2 (0xb7e88000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xb7e80000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xb7e68000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xb7e64000)
        libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0xb7e61000)
        libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0xb7e5e000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xb7e59000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xb7e53000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xb7e4b000)
        libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7e45000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7d5e000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7d50000)
        libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d2b000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7bdc000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xb7b6c000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb7b56000)
        libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7b52000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xb7a8f000)
        libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0xb7a68000)
        libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7a64000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb79b2000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xb7988000)
        libselinux.so.1 => /lib/libselinux.so.1 (0xb796f000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb796d000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7955000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7951000)
        /lib/ld-linux.so.2 (0xb7fcd000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7939000)
        libpcre.so.3 => /usr/lib/libpcre.so.3 (0xb7912000)
        libexpat.so.1 => /usr/lib/libexpat.so.1 (0xb78f1000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb78ec000)

Thanks for looking into this.

Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to