Five days ago I installed Ubuntu 20.04 LTS on my computer. As the title says, from time to time the computer would freeze completely, and I have no chance of giving any input to the machine since mouse and keyboard do not work. It doesn't happen regularly, but when it does I'm forced to turn off the computer using the power button. This is my hardware configuration
CPU: AMD Ryzen 5 1600X Six-Core Processor
GPU: AMD Radeon RX580X
MOBO: MSI B450 Tomahawk Max
RAM: 4GBx2 Crucial Ballistix Sport (ddr4, 2400 MHz)
Running the command free -h this is the output
total used free shared buff/cache available
Mem: 7.8Gi 2.4Gi 3.6Gi 66Mi 1.7Gi 5.0Gi
Swap: 2.0Gi 0B 2.0Gi
Thank you for your attention.