[SOLVED] Suspending Debian 11 results in Blackscreen, Keyboard unresponsive (no lights->no electricity?) but running fans/pc?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Suspending Debian 11 results in Blackscreen, Keyboard unresponsive (no lights->no electricity?) but running fans/pc?
Hey so I have Debian 11 bullseye with nvidia driver 495.44 on an SSD.
When I click on suspend, the pc first locks me out instead of suspending, so I login and click on suspend again.
This time though the pc does go into sleep-mode or so you think.
The monitor goes blank, the keyboard's led dimminish but the mouse's light is lit and the pc fans are still running.
My mouse and kb are plugged into the monitor ports.
I tried plugging the kb into the pc ports but no difference.
- How can I wake my machine up without having to forcefully restart (I tried pressing the power button but the screen is still blank, I could restart it but then I would lose some browser tabs).
- How can I fix this hibernation / suspend issue? I know that notebook have these issues due to nvidia etc. but this is a desktop machine.
Hmmm, well my other idea, is try another video card, but that actually fits your response better about throwing away the engine. I take it by your response tho that you already tried noveau and suspend does work?
I'm not sure how "you" spent hours perfecting the nvidia driver tho, the whole point is its closed source and you cant fix anything, it works or it doesn't; if it doesn't, complain to nvidia who are unlikely to fix it. But I'd still want to be able to tell them it works under noveau (if it does).
I do not know the differences between debian and fedora, but the latest versions of fedora with nvidia have had to have special services added to properly manage saving the data from GPU memory when suspending or hibernating. It could be a similar issue with your system on debian. The symptoms seem similar to different posts I have seen on askfedora forum.
Hey so I have Debian 11 bullseye with nvidia driver 495.44 on an SSD.
When I click on suspend, the pc first locks me out instead of suspending, so I login and click on suspend again.
This time though the pc does go into sleep-mode or so you think.
The monitor goes blank, the keyboard's led dimminish but the mouse's light is lit and the pc fans are still running.
My mouse and kb are plugged into the monitor ports.
I tried plugging the kb into the pc ports but no difference.
- How can I wake my machine up without having to forcefully restart (I tried pressing the power button but the screen is still blank, I could restart it but then I would lose some browser tabs).
- How can I fix this hibernation / suspend issue? I know that notebook have these issues due to nvidia etc. but this is a desktop machine.
I am unsure if this is GPU-related at all.
There's a lot of non-standard stuff happening. For the sake of troubleshooting I'd test if it works without peripheral devices but also, as suggested, with a different GPU driver.
Also my experience with an older laptop is that the fan spins for almost a minute and only after that it goes into deep sleep.
Have you checked the log file to see whether it offers any hints as to what's going on? Per the Debian Wiki, the file in question is /var/log/pm-suspend.log.
For what it's worth, I suspend my Debian 11 laptop frequently without incident; it's all Intel inside.
Last edited by frankbell; 12-12-2021 at 08:16 PM.
Reason: phrasing
Update, this also chains into my last thread about frozen system etc.
I was typing something into visual studio code and decided to watch a video on my phone for 15mins. After the video ended, I looked up at my desktop screen and noticed that my mouse and keyboard stopped working but the cursor was still blinking in VSCode (meaning something was still running).
It seems like the cpu is "stuck". Whatever that means. VSCode Cursor / Line Caret is also not blinking anymore.
The weird thing is that I left my computer yesterday for over an hour and nothing happend, yet these 15mins were enough. It has to be a specific application like VSCode? Firefox? Jupyter? that's causing this issue.
You really believe that I did not search what initially seemed like the final and obvious question/error to my problem? Come on, we're not 70 yr old windows users.
Also, why Manjuro? I use debian.
You really believe that I did not search what initially seemed like the final and obvious question/error to my problem? Come on, we're not 70 yr old windows users.
Also, why Manjuro? I use debian.
Your profile says manjuro
You also did not say anything about what you have done to research and correct the error. The post says 'this happened' but absolutely nothing about your efforts to solve it.
Simply guessing I would say that the 2 apps in that image were deadlocked, each waiting for the other to release something and the system could not move on because one of those was the running app.
Last edited by computersavvy; 12-18-2021 at 12:02 PM.
You also did not say anything about what you have done to research and correct the error. The post says 'this happened' but absolutely nothing about your efforts to solve it.
Simply guessing I would say that the 2 apps in that image were deadlocked, each waiting for the other to release something and the system could not move on because one of those was the running app.
Apologies, I can't remember setting it to manjuro. Fixed, thank you for the reminder.
Anyway, the issue seems to be fixed, I haven't had a single hang/freeze ever since I installed amd64 microcode, downgraded from web nvidia to apt nvidia.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.