18.04 Keyboard Mouse etc.. Stops working at some random point

I am using 18.04 on hp Elitedesk with intel i7.
I am currently using unity for the GUI client.

The Problem
During the transition from different workspaces, the screen freezes all of a sudden. Although there is no apparent trigger. It just happens randomly.

** Some outputs of diagnostic commands **
free -h

[someone@someone ~]$ free -h
              total        used        free      shared  buff/cache   available
Mem:            31G        1.6G         27G        135M        1.7G         29G
Swap:          2.0G          0B        2.0G

Output of fsck -f

fsck from util-linux 2.31.1
e2fsck 1.44.1 (24-Mar-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/nvme0n1p3: 625393/11386880 files (0.6% non-contiguous), 13969703/45515776 blocks

Output of the relevant parts of Disks app
Home drive
Data disk

Output of grep -i swap /etc/fstab

/swapfile                                 none            swap    sw              0       0

Output of sysctl vm.swappiness

vm.swappiness = 60

Related Symptoms

  1. On boot, some times (randomly) screen gets blurry like seeing an old monitor through a digital camera.
  2. Also, some times (randomly) keyboard and mouse doesn’t work at the login window, so I can’t type a password and log in.

I have no clue why this is happening, and I don’t even have idea where to check for potential causes. Any advice will be helpful.

Leave a Reply

Your email address will not be published. Required fields are marked *