I have been using Ubuntu 16.04 in the past without any issues on my desktop (dual boot with Windows 10 on separate SSD's). At point I tried upgrading to 18.04 and then my computer would freeze just a couple of minutes after login, which made me revert back to Ubuntu 16.04. Recently I decided to try a clean install of Ubuntu 20.04, but I am having the same issue. Usually 2-3 minutes after logging in, my PC just freezes and mouse and keyboard are not working. I bought a new SSD (WD 500GB) and tried to clean install on the new drive, but I am having the same issue. I read a lot of topics that it may be Nvidia related, so I tried multiple Nvidia drivers ( 340,390,440, and the open source nouveau one) but the problem persists. Since mouse and keyboard are not working, I cannot press ctrl+alt+f2 to try to debug the issue or at least find the source of the problem.
I have been a casual user of Ubuntu in the past and used it mainly for development purposes so I am not very familiar with how I can find the source of the problem. I need to sort out the issue because I need to set up Ubuntu on my desktop for work purposes and I am desperate. Any hints on what command outputs I need to post here to help reach a solution would be greatly appreciated!
Specifications: Motherboard: MSI 970a-g43
Processor: AMD FX-6300
Graphics Card: NVIDIA GTX 750 Ti
Memory: G.Skill PC 1333 8GB 1333 MHz DDR3
Edit:
sudo dmidecode -s bios-version
V10.6
free -h
total used free shared buff/cache available
Mem: 7,7Gi 841Mi 5,9Gi 2,0Mi 995Mi 6,6Gi
Swap: 2,0Gi 0B 2,0Gi
ls -al ~/.local/share/gnome-shell/extensions
ls: cannot access '/home/stavros/.local/share/gnome-shell/extensions': No such file or directory
ls -al /usr/share/gnome-shell/extensions
total 20
drwxr-xr-x 5 root root 4096 Jul 31 19:29 .
drwxr-xr-x 7 root root 4096 Jul 31 19:30 ..
drwxr-xr-x 2 root root 4096 Jul 31 19:29 desktop-icons@csoriano
drwxr-xr-x 3 root root 4096 Jul 31 19:29 ubuntu-appindicators@ubuntu.com
drwxr-xr-x 3 root root 4096 Jul 31 19:29 ubuntu-dock@ubuntu.com
Update: The issue has been fixed by installing the 5.9 Ubuntu kernel!
sudo dmidecode -s bios-versionandfree -handls -al ~/.local/share/gnome-shell/extensionsandls -al /usr/share/gnome-shell/extensions... more in next comment..., – heynnema Sep 15 '20 at 19:49memtestto test your memory. Get at least one complete pass of all the 4/4 tests to confirm good memory. This may take many hours to complete. Report back. Start comments to me with @heynnema or I'll miss them. – heynnema Sep 15 '20 at 19:50