I recently bought a Lenovo Legion 5 pro. Ubuntu does not support a few things on this device, since there are a lot of issues including Wifi/Bluetooth not working and not being able to adjust the screen brightness, but here I am addressing the one where the screen does not come back after sleeping or suspension of the session.
Scenario One
I close the lid, open it again, and no response. I can't see the screen irrespective of what I do, i.e clicking, pressing buttons on the keyboard or the power button.
Scenario Two
I click on the suspend option provided on the ubuntu menu, I move the cursor, the password screen comes back. Upon entering the password, the screen disappears again with no response. While doing some hit and trial, when the blank screen came again, I entered the password again and hit enter. I noticed the screen is very very dim to the point where I can't make out what's written or wheres what but I can see it a bit.
In both cases, the only option I am left with is a hard shut down.
Kernel version is 5.11.0.37
Edit (17/10/2021)
As suggested by @zanna, when I did the systemctl suspend
, it had the normal suspension behavior where I could log back in with proper screen visibility. I am not sure what happened but it magically fixed the issue for now. (I do have my doubts if it will work when the Nvidia GPU is active, I changed it in windows to the dynamic mode and that seems to affect the ubuntu environment too.
How can I solve this issue?