My computer is stuck at a black screen with cursor before logging in. After booting into Ubuntu 20.04 nothing is working, even the cursor is not moving. It's freezing. I also tried Ctrl+Alt+F4, but it's not opening the terminal. When I restart the system and in grub menu select Advanced options for Ubuntu and select Recovery mode, the recovery mode is not working either. It's stuck. Only the old recovery mode is working. How to fix this problem?
During the OS installation I think I have selected the option to install third-party drivers, firmware, codecs, etc., but I'm not sure.
Hardware specs:
- Intel Core i7
- Nvidia Gtx 1060
- 16 GB RAM
- 1TB NVMe SSD

