Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive lag when calling up the window overview #22

Open
Tealk opened this issue Jun 2, 2024 · 10 comments
Open

Massive lag when calling up the window overview #22

Tealk opened this issue Jun 2, 2024 · 10 comments

Comments

@Tealk
Copy link

Tealk commented Jun 2, 2024

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
Copy link
Owner

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

@Tealk
Copy link
Author

Tealk commented Jun 2, 2024

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

@flexagoon
Copy link
Owner

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
Copy link
Author

Tealk commented Jun 2, 2024

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
Copy link

joaquinvacas commented Jun 7, 2024

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
Copy link
Author

Tealk commented Jun 7, 2024

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

@joaquinvacas
Copy link

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
Copy link

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
Copy link

GsK380 commented Jun 25, 2024

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

@arnxxau
Copy link

arnxxau commented Dec 27, 2024

Hi, I think I have found what causes the massive lag when calling the overview.
It is the addShadowInOverview workaround.
When I comment out the function call on extensions.ts, line 82, it works smoothly even with a lot of windows open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants