Score:3

After each startup after a few minute laptop(ubuntu 20.4) get's so slow

in flag

For the last 20days, my laptop has become so slow. I use ubuntu 20.4 lts. My pc has a dual boot with windows 10. I switched to ubuntu but when I start ubuntu fan runs at high speed it does not happen when I open windows. this was from the beginning of ubuntu dual boot. But I could survive with that but now it has become so slow fan also runs faster very few apps makes it tremendously slow which was not the case before. also, I have 8cpu(4 core) but a few apps make it 100% occupied. I don't know what to do.

  1. Tried some commands to reduce fan noise (does not work)
  2. cannot find why my cpu is always busy. (tried top but not so helpful)

What I want is, my pc does not get slow without any reason.
I provided 3 image to show the statistics.

NOTE: weather cpu uses is 100% or very less laptop works slow

CPU statistics:

enter image description here

Running processes:

enter image description here

GPU INFO:

enter image description here

Gnome Info added enter image description here

William Martens avatar
cn flag
@Abur welcome to AskUbuntu! can you post some info about the GPU? like; nvidia-smi if you have nvidia; or something else?
Abdur Rahim Sheikh avatar
in flag
Sir, I have provided my GPU info
heynnema avatar
ru flag
You have the wrong version of CUDA installed. You have 10.2, and you should be running with 11.6.
Abdur Rahim Sheikh avatar
in flag
I use pytorch, in pytorch official website pytorch.org cuda cuda version are prefered 10.2 and 11.3. That's why i installed 10.2 @heynnema
heynnema avatar
ru flag
@AbdurRahimSheikh Then you'll need to use an older version of Nvidia driver software. Notice in `nvidia-smi` in the top-right corner it tells you what version of CUDA you should be running (not that it's actually running).
heynnema avatar
ru flag
@AbdurRahimSheikh Edit your question and show me `ls -al ~/.local/share/gnome-shell/extensions` and `ls -al /usr/share/gnome-shell/extensions`.
Abdur Rahim Sheikh avatar
in flag
@heynnema sir I have added my gnome info.
Abdur Rahim Sheikh avatar
in flag
sir, I have seen that it requires 11.6 so I am going to make them for the same cuda, then I'll notify you.
heynnema avatar
ru flag
You have `[email protected]` twice, so remove one. I'm not a fan of the gcampax.github.com extensions, so disable/remove the ones that you really don't use.
Abdur Rahim Sheikh avatar
in flag
Alhamdulillah, I have reset my gnome-shell and installed cuda-toolkit for 11.3 it looks like the problem has minimized. I'll give you another feedback after 1week. thank you very much sir @heynnema
heynnema avatar
ru flag
@AbdurRahimSheikh CUDA 11.6 is available at https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local
Score:1
ru flag

From the comments...

With the version of Nvidia video driver that you have installed, you need to run CUDA 11.6, not 10.2 or 11.3. Version 11.6 can be downloaded here.

You also have a problem with high gnome-shell CPU usage, and with your gnome-shell extensions. You have installed [email protected] twice, so remove one. I'm not a fan of the gcampax.github.com extensions, so disable/remove the ones that you really don't use.

Abdur Rahim Sheikh avatar
in flag
Sir you solved my problem, it was the reason. But what i did is, 1) changed the nvidia driver to 11.3 2) and reset to default extension.
heynnema avatar
ru flag
@AbdurRahimSheikh Why didn't you install the CUDA 11.6 that I gave the link for?
Abdur Rahim Sheikh avatar
in flag
sir i did not go for cuda 11.6 because of pytorch. But 11.3 is also working fine. Thank you again.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.