This sounds like resource exhaustion. While the problem is happening, please run these commands to see what is using the most CPU and the most memory:
ps -eo %cpu,pid,comm --sort -%cpu | head -20 ps -eo rss,pid,comm --sort -rss | head -20 ** Package changed: xorg (Ubuntu) => ubuntu ** Changed in: ubuntu Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2103571 Title: Visual Studio Code + Mozilla Firefox playing Youtube slows the desktop To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+bug/2103571/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs