This has been happening for a while now about a month. I thought it would be fix with new updates but it didn't.
The file /var/log/Xorg.0.log.old has this last few lines before the crash
[574.086] (II) NVIDIA(GPU-0): Deleting GPU-0 [574.087] (WW) xf86CloseConsole: KDSETMODE failed: Input/output error [574.087] (WW) xf86CloseConsole: VT_GETMODE failed: Input/output error [574.087] (WW) xf86CloseConsole: VT_ACTIVATE failed: Input/output error [574.088] (II) Server terminated successfully (0). Closing log file.
I tried opening up the virtual terminal but won't let me type (It's stuck) So how can I fix it?
/var/log/Xorg.0.logwas written at the time it failed. If so, then it may contain useful information. But be aware that the file may be from a previous boot and only indicate success, so check its timestamp. Such a file from the successful boot would not be useful.