gnome-shell lags on wayland
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| gnome-shell (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
I’m using ubuntu on wayland for a while (Unity and Gnome since Unity abandon). But with ubuntu 19.10 upgrade, Gnome was so slow and laggy that I had thought to downgrade or a new laptop. I switched back to Xorg and now everything is as smoth as usual.
I have an intel card, don’t know if it can help.
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: gnome-shell 3.34.1+
ProcVersionSign
Uname: Linux 5.3.0-24-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Fri Dec 6 18:54:15 2019
DisplayManager: gdm3
InstallationDate: Installed on 2015-05-23 (1658 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
RelatedPackageV
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to eoan on 2019-11-03 (33 days ago)
domak (domakistan) wrote : | #1 |
tags: | added: performance |
domak (domakistan) wrote : | #3 |
Hi,
I was able to reproduce the problem with Xorg.
It seems to be a problem with the 5.3 kernel:
https:/
I'm going to see if I'm able to install a 5.4 kernel (I'm not very confident on that).
domak (domakistan) wrote : | #4 |
It seems that swapoff -a is good workaround.
Launchpad Janitor (janitor) wrote : | #5 |
[Expired for gnome-shell (Ubuntu) because there has been no activity for 60 days.]
Changed in gnome-shell (Ubuntu): | |
status: | Incomplete → Expired |
Daniel van Vugt (vanvugt) wrote : | #6 |
This bug is closed for now because the information requested in comment #2 was not provided.
I'd like to note though, that if you find 'swapoff -a' helps then that's an indication your system was experiencing a memory leak. For some reason Ubuntu is better able to deal with those situations when swapping is disabled. But it doesn't mean the kernel's swapping behaviour is the main issue...
If you would like to continue discussing this bug then please:
(a) Provide the information requested in comment #2; and
(b) Reproduce the lag situation again and while it is happening run:
ps auxw --sort -rss > allprocesses.txt
and then attach the file 'allproceses.txt' here.
domak (domakistan) wrote : | #7 |
Hello,
You're right, the problem is linked with the memory and swapoff was a workaround that worked only if the need of memory was not too high.
I installed a kernel 5.4, and the problem also disapeared. I will stay with this, even if the laptop is not in stand by mode when I close the lid.
Before installing the new kernel it was easy to reproduce, just open an app that need a lot of memory (intellij idea) and a few chromium tabs, but as the system freezed I could not even access to a terminal.
Thanks
Daniel van Vugt (vanvugt) wrote : | #8 |
Unless it's gnome-shell that's using the memory then this is not a gnome-shell bug. But I now realize why you thought it was.
Changed in gnome-shell (Ubuntu): | |
status: | Expired → Invalid |
Daniel van Vugt (vanvugt) wrote : | #9 |
There's probably no need to open a kernel bug for this either, because 5.4 is already in Ubuntu 20.04 :)
tags: | added: leak |
1. What version did you upgrade from most recently? 19.04?
2. Please run:
lspci -k > lspcik.txt
and attach the resulting file 'lspcik.txt' to this bug.
3. Please log into Xorg again, reproduce the problem and then attach the latest:
$HOME/ .local/ share/xorg/ Xorg.0. log
to this bug.
4. While logged into Xorg please also run:
xrandr > xrandr.txt
and attach 'xrandr.txt' to this bug.