dash-to-dock icon indicating copy to clipboard operation
dash-to-dock copied to clipboard

extension results in low fps gnome animations

Open sitwano opened this issue 7 years ago • 4 comments

Simply enabling this extension results in low fps gnome shell animations. I've checked this by disabling all other extensions to rule out incompatibility. I'm pretty sure my laptop should be able to handle animations smoothly, based on the below specs. The low framerates don't happen if intellihide is turned off.

Perhaps this is happening because the extension is constantly polling to see if theres a window overlapping, causing main gnome thread to be blocked.

specs: i5 5200U, intel hd 5500, 8gb ram

Gnome 3.24.2, Wayland session. Dash-to-Dock v61

sitwano avatar Sep 25 '17 09:09 sitwano

Thanks for your report. Would you mind sharing your settings (the output of the command dconf dump /org/gnome/shell/extensions/dash-to-dock/)

We are not constantly polling for the windows overlapping: we do this only when a window change. Does the lag occurs also with intellihide disabled?

In which occasion in particular do you notice the lagging? Entering the overview? Moving/Resizing windows?

Would you be able to check if the performance hit also occurs in X11?

Possibly related: #489

micheleg avatar Sep 25 '17 20:09 micheleg

Thanks for the reply! The choppiness occurs when entering application overview. Moving and resizing windows is fine. Using built in theme does not make a difference. Please note that the choppiness is somewhat less in Xorg. However its difficult to tell because the fps I get on xorg is overall lower than wayland. So the drop in framerate when going into overview is less noticeable. Disabling intellihide definitely brings back smooth performance.

Here are my settings.

autohide-in-fullscreen=false animate-show-apps=false show-apps-at-top=false show-windows-preview=false dock-fixed=false intellihide=true intellihide-mode='FOCUS_APPLICATION_WINDOWS' show-delay=0.25 show-show-apps-button=true animation-time=0.20000000000000001 custom-background-color=true custom-theme-customize-running-dots=true autohide=true apply-custom-theme=false pressure-threshold=100.0 custom-theme-running-dots=true hide-delay=0.20000000000000001 dock-position='LEFT' require-pressure-to-show=true show-running=true opaque-background=true background-color='#000000' unity-backlit-items=false

sitwano avatar Oct 02 '17 19:10 sitwano

This issue doesn't seemed to be fixed yet @micheleg I'm currently running

GNOME 42
Wayland
Fedora 36

AM-ash-OR-AM-I avatar Aug 12 '22 05:08 AM-ash-OR-AM-I