I am not able to shut down or restart by clicking power off or restart button. I need to manually press the power key on my laptop to force shut down every time.
The desktop screen simply freezes and mouse disappears, and if I leave it for some time then a black screen appears with this:
watchdog: BUG. CPU stuck for 22 sec. Tlp 5770.
And this doesn't go away.
I have tried everything I could find like
acpi = force , etc. Installing Nvidia drivers. Changing CPU governor to performance from powersaver.
I am new to Linux and really don't know what to do. I have Lenovo legion y520 with 16 gb, 1 TB, Nvidia GeForce 1050 Ti as the configurations. I removed Windows 10 and installed Ubuntu 18.04.