Linux Mint 21.1 Cinnamon: black screen when waking up from sleep mode.

System Environment:

Operating System: Linux Mint 21.1 Cinnamon

Cinnamon Version: 5.6.8

Linux Kernel: 5.15.0-73-generic

Processor: Intel© Core™ i3-3240 CPU @ 3.40GHz × 2

Graphics Card: NVIDIA Corporation GM107 [GeForce GTX 750]

Symptom:

After the system enters sleep mode, it cannot be woken up by pressing the keyboard or mouse, and the monitor does not display.

Troubleshooting Steps:

Attempt to enter the terminal using Ctrl + Alt + F1 while in the black screen state. If successful, the computer is not frozen.

Attempt to wake up the lock screen desktop using Ctrl + Alt + backspace while in the black screen state. If successful, the system is responsive.

Solution:

Modify the sleep script for the NVIDIA graphics card as follows:

your@Computer:~$ sudo nano /usr/bin/nvidia-sleep.sh

Add “exit 0” to the top of the nvidia-sleep.sh script as follows:

!/bin/bash

exit 0
if [ ! -f /proc/driver/nvidia/suspend ]; then
exit 0
fi

Finally, use Ctrl + s to save and Ctrl + x to exit.


Leave a Reply

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