[Share Experiences] Alleviating the Issue of Deepin 23 Not Waking Up the Screen After Sleep
Tofloor
poster avatar
Yoloy_Lan
Moderator
2024-08-19 14:31
Author

1. Problem Description

During the use of Deepin 23 with a full installation on an NVMe SSD, an issue was discovered where the system fails to light up the screen after going to sleep or hibernation. This issue seems to occur more frequently when the laptop is running on battery power.

2. Temporary Solution

In such situations, it is typically impossible to operate the system, and even the configured Ctrl+Shift+Del reboot shortcut is ineffective. The only solution is to forcibly shut down by holding the power button, which is harsh on the file system and can lead to file loss.

The following methods can significantly reduce the occurrence of this issue.

2.1 Hibernate Configuration

First, optimize the power strategy with the following configuration:

2.2 Disable Swap on NVMe Disk

Determine if swap is configured on your NVMe disk with the following commands:

lsblk # Check disk partitions

sudo swapon --show # Check if swap is enabled

sudo swapoff -a # Disable swap

2.3 Edit fstab to Disable Swap Mounting at Boot

By following these methods, you can significantly reduce the instances of the screen failing to light up after the system goes to sleep in Deepin 23 Beta. The root cause of this issue may be multifaceted, including power management, sleep logic, or NVMe disk wake-up processes.

Reply Favorite View the author
All Replies

No replies yet