micheleg / dash-to-dock

A dock for the Gnome Shell. This extension moves the dash out of the overview transforming it in a dock for an easier launching of applications and a faster switching between windows and desktops.
https://micheleg.github.io/dash-to-dock/
GNU General Public License v2.0
3.82k stars 463 forks source link

extension results in low fps gnome animations #604

Open sitwano opened 6 years ago

sitwano commented 6 years ago

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

micheleg commented 6 years ago

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

sitwano commented 6 years ago

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

AM-ash-OR-AM-I commented 1 year ago

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

GNOME 42
Wayland
Fedora 36
sniirful commented 2 months ago

Didn't really know that it was actually Dash to Dock the extension that was destroying my fps in GNOME. It happens primarily while I switch between workspaces and only if I'm doing so from within workspaces (e.g. I'm not in the Overview mode).