Since your system has both Nvidia and Intel GPU, and the problem is found on every single browser you're using. It's definitely a problem with the drivers and not the browsers. Even though Chrome is not helping by not providing video hardware decoding.
You should try using only the Intel GPU which has more stable drivers on Linux.
@Quasdunk reported that switching to the Intel GPU lowered significantly the load on the machine and now it's usable.
If you really want to use the Nvidia GPU, you should try upgrading your drivers using this ppa.
You could try one or few of:
- Use
htop
to see what processes load your system and kill them to see what will happen: killall processname
or killall -9 processname
to kill it forcefully.
- Reinstall a package of a program or command that loads it intensively by:
sudo apt purge package_name && sudo apt autoremove && sudo apt install package_name
- Update/Install CPU mocrocode firmware:
sudo apt update && sudo apt install intel-microcode microcode.ctl
- Install a different kernel and try it
- Install a different desktop manager:
gdm3
instead of lightdm
or vice versa, purging previous: sudo apt install gdm3 && sudo apt purge lightdm
- Install a different desktop environment:
sudo apt install lubuntu-desktop
and try it.
- Purge
xubuntu-desktop
or xfce4
as I was noticing that system lags when it is installed, however, not used: sudo apt purge xubuntu-desktop && sudo apt purge xfce*
My pstree -l
on 19.10 with gdm3:
├─gdm3─┬─gdm-session-wor─┬─gdm-x-session─┬─Xorg───{Xorg}
│ │ │ ├─gnome-session-b───3*[{gnome-session-b}]
│ │ │ └─2*[{gdm-x-session}]
│ │ └─2*[{gdm-session-wor}]
│ ├─gdm-session-wor─┬─gdm-x-session─┬─Xorg───{Xorg}
│ │ │ ├─gnome-session-b─┬─ssh-agent
│ │ │ │ └─2*[{gnome-session-b}]
│ │ │ └─2*[{gdm-x-session}]
│ │ └─2*[{gdm-session-wor}]
│ └─2*[{gdm3}]
My pstree -l
on 18.04 VM:
├─lightdm─┬─Xorg───5*[{Xorg}]
│ ├─lightdm─┬─lxsession─┬─lxpanel─┬─lxterminal─┬─bash───pstree
│ │ │ │ │ ├─bash
│ │ │ │ │ └─2*[{lxterminal}]
│ │ │ │ └─4*[{lxpanel}]
│ │ │ ├─lxpolkit───2*[{lxpolkit}]
│ │ │ ├─openbox───2*[{openbox}]
│ │ │ ├─pcmanfm───2*[{pcmanfm}]
│ │ │ ├─ssh-agent
│ │ │ └─2*[{lxsession}]
│ │ └─2*[{lightdm}]
│ └─2*[{lightdm}]
Run also journalctl -f
in a terminal to see what happens. Maybe some gnome-settings-daemon (gsd) constantly trying to do something and fails throwing errors and it takes the whole core.
Switch to lightdm to see if something will be changed, but do it on some tty: Alt+Ctrl+F3: sudo apt purge gdm3 && sudo apt install lightdm
. You could also do it without gdm3 removing: sudo dpkg-reconfigure lightdm
if you have it installed.
sudo dpkg-reconfigure lightdm
reboot
sudo dpkg-reconfigure gdm3
Maybe switching to lightdm fourth and to gdm3 back somehow changes gdm3 configuration modified previously by different graphical configuration tools.
Best Answer
I found this answer in another post. Apparently with 16.04 an automatic apt-get update & upgrade that is performed twice a day. https://github.com/chef/bento/issues/609
I have not addressed this problem on my install as yet, but wanted to relay this information.
dpkg and apt-get were unlocked on my install after a 5 minute delay after startup.