On 4/4/21 12:01 PM, Carsten Haitzler wrote:
On Sun, 4 Apr 2021 10:20:15 +0900 Florian Schaefer <list...@netego.de> said:
On 4/4/21 5:52 AM, Carsten Haitzler wrote:
On Sat, 3 Apr 2021 17:55:23 +0200 Francesc Guasch <fran...@telecos.upc.edu>
said:
Hi. I am running Enlightenment 0.24.99 24520.
It has always run smooth on my lapton, this is a 2005 Toshiba
with 4 GB RAM. It sports an Intel Corporation Mobile GM965/GL960
Integrated Graphics Controller.
I know I am pushing the limit here, sorry for that. Since the last
release changing windows with ALT-TAB takes 2 / 3 seconds. After the
window changes the list of tasks is shown and the back desktop is
blurred for a few seconds. Then the selected window is shown and I can
use it.
how is it blurred. the default theme does not blur the background. i tried
that a while back in flat but testing on an older machine showed it could
not keep up (a 2010 intel laptop with intel gpu) and dropped to like
20-30fps, so i disabled the filter and it just darkens what is below... so
what you describe must be an altered theme?
Sorry if I barge in into the discussion here. Just yesterday I also
updated after some weeks again to he current git versions, now with the
flat theme, and experienced the same "issue". (BTW, I also ran into the
elput issue and had a jolly time figuring out that I need to enable the
DRM option.)
I guess what Francesc intended was exactly this fading to a darker
background. On my machine here (i7-3517U) it takes probably about a
second. But it is no smooth transition and rather seems to be stuttering
along the way, thus feeling really as if the machine is struggling to
keep up with rendering this transition. The effect is that the whole
process of switching windows feels very sluggish and seems to take ages.
I was also (unsuccessfully) looking around for a way to switch off this
transition effect. Switching between windows with Alt-Tab is a very
common action and I would like this to be over in literally in the blink
of an eye. One can actually quickly switch windows in the current state,
cutting the whole transition short right at the start. Still, I would
prefer if I can have the window list either appear instantaneously or
with a really fast fade-in and -out.
it is smooth. it fades in smoothly over like 0,2 seconds - that's the transition
time in the theme. IF your gpu was weak enough before i removed the blur it
could stutter.
Well, I am sitting on an integrated Intel graphics here (i915 kernel
driver, intel_drv.so Xorg driver), so I wouldn't expect any performance
miracles. :-)
the darkening is cheap - it's rendering the large window previews in the
zooming in popup of the switcher that is more costly (unless it's the blur
which is even more costly...)
Yeah, it seems you are right - of course. ;-)
As you mentioned in your second reply post, big windows seem to have a
notable impact. My standard setup is four virtual desktops with three
desktops occupied by basically maximized terminology, Firefox and
Thunderbird windows. Closing these and just putting some "standard
sized" terminology instances makes the transition notably smoother. So
this might have been the culprit here.
it COULD have been the dither shader though too - i actually just optimized it
tonight, but the i5-4200u i have here copes perfectly with it and
silky-smoothly fades. if i tap alt-tab really fast it only partly fades in
before fading out again...
I saw your commit message this morning, wondering whether this might be
related. So I recompiled everything with the optimized shader. It might
be wishful thinking, but I think it made things smoother indeed. At
least with my three big windows (is 1600x900 big?) open it is a much
more pleasant experience now. :-)
(BTW, this is using the window switcher in list mode, not in large mode
where this whole background darkening is probably really necessary as
there is otherwise no window to separate the list from the normal desktop.)
the darkening is cheap... it's just a big solid rect that is semi-transparent.
rendering the miniature windows is going to cost more.
Again, thanks for pointing that out. Seems to have been a typical case
where the user jumped at the most obvious thing (the darkening of
basically the whole screen) while completely underestimating the details
(a preview window that is way too small anyways (in list mode) for any
useful information).
are you software rendering? then this can get a lot more costly. it makes a
MASSIVE difference in software compositing - like goes from 5-10fps to 60 if
the window miniatures are not included in the list mode. the darkening makes
really no difference (well in comparison).
I wouldn't have been to surprised to be in software rendering with my
old Intel graphics system here. But glxinfo is reporting "direct
rendering: Yes" and the E Composite Settings are on the OpenGL engine.
I tried the "Show Framerate" option from the composite Debug settings,
but I guess I don't really know how to interpret the output. During the
transition to the window switcher list I see IN values of about 3 FPS
and OUT values of about 8 FPS. I guess the transition is just to short
to obtain good values. So instead if I just keep Alt+Tab pressed so that
it keeps on cycling through the list I roughly obtain 10 FPS IN and 60
FPS OUT.
To summarize: I believe your updated dithering code did the trick in my
case. Thank you!
Cheers,
Florian
so my guess is - you're software compositing - you may not have even realised
it.
Cheers and thanks as always for the great work,
Florian
It doesn't happen in other more modern PC I have.
I wanted to let you know because it looks like something happened
here. Just in case it rings any bell.
I have been looking at the settings in transitions, tasks and many other
places and I couldn't find a way to make it faster.
Is there something I could do ? thanks
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users