flexagoon / rounded-window-corners

A GNOME extension that adds rounded corners to all windows
GNU General Public License v3.0
176 stars 6 forks source link

Massive lag when calling up the window overview #22

Open Tealk opened 1 month ago

Tealk commented 1 month ago

Hi

when i have the extension active and call up the window overview, it takes almost a second before there is any reaction at all. If I deactivate the extension, it works immediately. Neither CPU nor GPU show increased load.

flexagoon commented 1 month ago

Hi, does this still happen if you disable all other extensions and restart gnome shell?

Tealk commented 1 month ago

Im on Wayland, i cant restart 😅 I only have very few extensions anyway, but even without other extensions it hangs a lot.

flexagoon commented 1 month ago

Im on Wayland, i cant restart 😅

Yeah I meant "restart" as in "log out and back in"

Can you please enable debug mode in rounded-window-corners settings and provide the output of journalctl -f -o cat /usr/bin/gnome-shell while opening the overview?

Tealk commented 1 month ago
Journalctl -f -o cat /usr/bin/gnome-shell
[RoundedCornersEffect] Add shadow for ChatGPT in overview
[RoundedCornersEffect] Add shadow for Spielerheft 8 Auflage.pdf in overview
[RoundedCornersEffect] Add shadow for Spielleiterheft 8 Auflage.pdf in overview
[RoundedCornersEffect] Add shadow for Charerstellung.ods — LibreOffice Calc in overview
[RoundedCornersEffect] Add shadow for Gesetze - Pen and Paper Notes - Obsidian v1.5.12 in overview
Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
Unhandled promise rejection. To suppress this warning, add an error handler to your promise chain with .catch() or a try-catch block around your await expression. Stack trace of the failed promise:
@resource:///org/gnome/shell/ui/init.js:21:20

[RoundedCornersEffect] opened: Console: [0x56477a62d260 MetaWindowActorWayland]
[RoundedCornersEffect] Check Type of window:Console => LibAdwaita
meta_window_set_stack_position_no_sync: assertion 'window->stack_position >= 0' failed
[RoundedCornersEffect] Add shadow for ChatGPT in overview
[RoundedCornersEffect] Add shadow for Spielerheft 8 Auflage.pdf in overview
[RoundedCornersEffect] Add shadow for Spielleiterheft 8 Auflage.pdf in overview
[RoundedCornersEffect] Add shadow for Charerstellung.ods — LibreOffice Calc in overview
[RoundedCornersEffect] Add shadow for Gesetze - Pen and Paper Notes - Obsidian v1.5.12 in overview
Can't update stage views actor unnamed [ClutterActor] is on because it needs an allocation.
joaquinvacas commented 4 weeks ago

I can tell this is happening, rounded corners is a huge demanding extension, but even on older GNOME versions, on a powerful desktop you may not notice that at all but on a more (performance-wise) restricted environment like a laptop, it does.

Tealk commented 4 weeks ago

Shouldn't an AMD Ryzen 7 7840HS and an AMD Radeon RX 7700S be enough?

joaquinvacas commented 4 weeks ago

Shouldn't an AMD Ryzen 7 7840HS and an AMD Radeon RX 7700S be enough?

It's more about optimization than the hardware resources you have.

If you notice that on a powerful hardware, imagine on mine which is a 6650U with an 660M... 🤦‍♂️

ColbyB722 commented 1 week ago

I can tell this is happening, rounded corners is a huge demanding extension, but even on older GNOME versions, on a powerful desktop you may not notice that at all but on a more (performance-wise) restricted environment like a laptop, it does.

Oh yeah. With a few floating windows I get massive stuttering when going into the overview with rounded corners. With it disabled, it's buttery smooth.

GsK380 commented 1 week ago

The same happened with me, I think that's one of the reasons why GNOME decided to not implement round corners for all apps, at least, it seems like they rather will search for more elegant solution