1

Htop shows me /usr/lib/xorg/Xorg -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch is typically between 7% and 15% CPU, and about 150MB if memory. My CPU temperature hasn't gone below 50` while the computer's on, even at idle, for a month. Fan running constantly. My battery life (of course) also has tanked. Please help my find and undo my mistake!

I am running Ubuntu 20.04 Mate on a Thinkpad T460 laptop, with Intel integrated graphics. Installed 2+ years ago, and generally trouble-free.
Over the last couple weeks, I've been plagued by constant moderate CPU usage -- I'm a heavy browser user (100+ tabs) so it took me a while to realize this was happening even with browser closed, and even right after a cold start.

Best I can think of, I may have started this by trying to relieve the screen-tearing on a second monitor (HDMI). I followed instructions here, to create a new 20-intel.conf file with a couple different variations of settings. No variations were a success, and most were worse. I commented out all lines in that file, and ran like that for a couple weeks. Finally, I just renamed the file to .bak, and rebooted, but still have high Xorg CPU time.

Is there a way to revert to xorg's default options? Are there other places I can look for clues about why the heavy usage? What else could cause this, if not my tinkering?

Thanks for any help!

Dan C
  • 41

1 Answers1

1

My primary guess is that you need to sudo apt purge lightdm at the very least, and then reinstall it. It's possible also that there is some crap in the /etc/xdg/autostart folder the lightdm may be trying to launch that no longer exists, so have a look there too. This can especially be the case if you did something like loaded xubuntu-desktop, gnome-desktop, or whatever and removed it. (Because you're using something else.) It might not have cleaned up the folder and trying to launch something that is missing a component over and over again and making it do that. (lightdm sort of launches everything up at the same time when it acquires the display like most display managers do.) Anyway, that should get you started in the right direction. If you specified any custom configurations to lightdm in the etc folder remove those too. Take everything out that you changed, and then go from there.

Secondly, this machine will always burn more cpu doing anything because it's nearly 8 years old. You may want to have a look at running a lighter desktop if you haven't already. Your tab use is insane. Use the bookmarks, close the tabs you're not immediately using. You can not only have bookmarks, but folders of bookmarks. Some browsers even let you load the whole folder at the same time and you can just group them into tasks and shoot them all off at once. This is burning a tremendous amount of cpu and power doing basically nothing. Browsers are pretty resource intensive for what they do... Every page is at least another 50-MB-250MB of memory... AT LEAST that much. This page is 40MB and there's nothing on it, Facebook or Twitter are like 300MB. Anyway, you don't want to run a ton of tabs if you can help it.

sean
  • 546