Ubuntu 20.04 Gnome Very slow

I have just upgraded to 20.04 without any issues, however, Gnome is painfully slow 2second delay with every action, apps take an age to open, terminal takes 2 sec to scroll through the history one item at a time. Anyone else seen this and have any answers?


Solution 1:

;tldr Avoid using the Fractional scaling and solve the scale of your high-dpi screen by reducing its resolution.

I was dealing with a terribly slow GNOME desktop for a few days now (after a fresh install of Ubuntu 20.04). I do not use any GNOME extensions and I have turned off animations using Gnome Tweaks. I also installed sudo apt install indicator-cpufreq to set CPUs to performance instead of powersafe. I checked the BIOS settings to aim for the maximum performance when on AC. But nothing helped. All window movements were lagged, sluggish, movements were ~2s delayed. Mouse cursor was jumpy. It always took 1-2s to change a Firefox tab and scrolling was not at all smooth and freezing at random times for a while. YouTube videos were unwatchable, even scrolling through a terminal was slow! It was just unacceptable.

I have a reasonably powerful notebook so it just did not feel right:

  • Lenovo Thinkpad X1 Carbon 7gen 20QD
  • CPU Intel® Core™ i7-8565U CPU @ 1.80GHz × 8
  • GPU Mesa Intel® UHD Graphics 620
  • RAM 16GB
  • OS NAME Ubuntu 20.04.LTS
  • GNOME Version 3.36.3
  • Windowing system X11
  • ThinkPad USB-C Gen2 Docking station
  • 3 monitors (built-in 14" WQHD, external 24" and 22")

I made sure that I have:

  • everything updated
  • the newest kernel (5.4.0-40-generic)
  • newest UEFI BIOS etc.

As it turns out, the problem was in the Fractional scaling the whole time. I know they write May increase power usage, lower speed, or reduce display sharpness, but damn this was not usable at all.

But I can not live without it, since my built-in display is WQHD (2560x1440) and when the Fractional scaling is off, both external monitors are OK, but everything on the built-in display is just tiny and unreadable. I tried switching to Wayland, it seemed promising for a while, until random freezes started occurring so I ditched the idea.

And then I realized I can just lower the resolution on my built-in monitor <facepalm>. The final solution was to turn off the Fractional scaling and reducing the resolution of the built-in monitor to FullHD. I sacrificed some sharpness, but the whole desktop is lightning fast now even with the animations and on powersave. I hope the Fractional scaling will get better at some point.

Solution 2:

I have had same issues last two days. Everything was slow down and wifi connection was disconnecting periodically. if you have wifi problem, I suggest turn off wifi and plug in a lan cable before start.

try sudo apt update And sudo apt upgrade commands, then follow these instructions https://www.cyberciti.biz/faq/ubuntu-linux-install-nvidia-driver-latest-proprietary-driver/ (Wouter De Coster's comment from Lynwode answer), then https://askubuntu.com/a/961460/934684 disable wifi powersave mode, then restart; now everything good for me.

maybe my answer might not meet the answer qualification. but because of my reputation I couldn't comment. I wanted to write them, maybe it works. because it's very annoying.

Solution 3:

Ok Looks like Nvidia driver issue. Re-installed the default and we off and running