You are not logged in.

#1 2024-02-02 18:26:09

JoaoDDuarte
Member
Registered: 2023-10-20
Posts: 17

[SOLVED] High CPU usage when switching between workspaces in Gnome

Hi all,

I have been experiencing noticeable stuttering/lag when changing workspaces in Gnome.
This continues even when I disable all extensions.

Here is the image:

Link to gnome system monitor screenshot

I normally have a Zulip client open, VSCode and Firefox with a couple of tabs open.
I also have quite a powerful laptop which should handle this perfectly (AMD Ryzen 7 7840HS with 32Gb RAM).
My system is also encrypted using LUKS but I doubt that's related to the issue.

Screenshot of the processes using up the most CPU:

Link to top screenshot

Any ideas of further diagnosis/solution/potential bug report?

Thanks!
João

____

Update: it magically just disappeared, still no idea what caused though.

Last edited by JoaoDDuarte (2024-03-05 12:53:32)

Offline

#2 2024-02-02 18:43:02

seth
Member
Registered: 2012-09-03
Posts: 60,805

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

Please replace the oversized images w/ links and check whether you're maybe rendering in software (eg. "eglinfo -B")

Offline

#3 2024-02-02 18:50:58

JoaoDDuarte
Member
Registered: 2023-10-20
Posts: 17

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

Thanks for the message, I've replaced the oversized images with links smile

Here is the output of  eglinfo -B.

Offline

#4 2024-02-02 18:59:34

seth
Member
Registered: 2012-09-03
Posts: 60,805

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

You're rendering in HW, so gnome wastes cpu cycles in something different.
Do you also get stutters when one or both workspaces are "empty" (ie. have no windows on them)?

Offline

#5 2024-02-02 19:01:19

JoaoDDuarte
Member
Registered: 2023-10-20
Posts: 17

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

Strange, it's definitely smoother but still slightly noticeable.
It's for sure worse when switching from no windows to windows or windows to windows.
Naturally if I have less windows open it stutters less but considering the CPU and RAM I have, I would imagine that to be an almost non-issue.

Last edited by JoaoDDuarte (2024-02-02 19:02:06)

Offline

#6 2024-02-02 22:44:22

seth
Member
Registered: 2012-09-03
Posts: 60,805

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

How does it behave with gnome on X11?

Offline

#7 2024-02-03 00:14:36

JoaoDDuarte
Member
Registered: 2023-10-20
Posts: 17

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

Slightly less resources are used but still the same issue see cpu usage here

Offline

#8 2024-05-16 19:45:53

Floats
Member
Registered: 2024-01-30
Posts: 4

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

So how was this solved?

Offline

#9 2024-05-16 19:48:29

JoaoDDuarte
Member
Registered: 2023-10-20
Posts: 17

Re: [SOLVED] High CPU usage when switching between workspaces in Gnome

It kinda didn't but did, I just updated the system but it still happens sometimes

Offline

Board footer

Powered by FluxBB