LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 12-11-2021, 07:42 AM   #1
tuxducky
LQ Newbie
 
Registered: Nov 2021
Location: Antartica
Distribution: Debian GNU/Linux trixie/sid x86_64
Posts: 16

Rep: Reputation: Disabled
Question 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.

Last edited by tuxducky; 12-11-2021 at 07:44 AM.
 
Old 12-11-2021, 10:13 AM   #2
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Try noveau.
 
Old 12-11-2021, 10:33 AM   #3
tuxducky
LQ Newbie
 
Registered: Nov 2021
Location: Antartica
Distribution: Debian GNU/Linux trixie/sid x86_64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
Try noveau.
That's not a fix. That's backwards patching.
I mean you don't throw away your engine just because it makes a funny noise.

I want to keep my setup and my applications. I do not wish to make my >500$ graphics card unusable after I spent hours perfectionizing it...
 
Old 12-11-2021, 11:28 AM   #4
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
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).

Last edited by enigma9o7; 12-11-2021 at 11:29 AM.
 
1 members found this post helpful.
Old 12-11-2021, 12:32 PM   #5
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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.
 
Old 12-12-2021, 06:01 AM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by tuxducky View Post
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.

Also look at logs etc.
 
Old 12-12-2021, 08:14 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
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
 
Old 12-13-2021, 09:07 AM   #8
tuxducky
LQ Newbie
 
Registered: Nov 2021
Location: Antartica
Distribution: Debian GNU/Linux trixie/sid x86_64
Posts: 16

Original Poster
Rep: Reputation: Disabled
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).

The following messages started to pop into a terminal I had luckily opened beforehand:
https://i.ibb.co/1mwvCFW/IMG-20211213-160247-1.jpg

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.

Last edited by tuxducky; 12-13-2021 at 09:11 AM.
 
Old 12-18-2021, 01:24 AM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by tuxducky View Post
Typing the error message into a asearch engine. HTH.
You can also remove the "arch" keyword, or replace it with manjaro.
 
Old 12-18-2021, 05:12 AM   #10
tuxducky
LQ Newbie
 
Registered: Nov 2021
Location: Antartica
Distribution: Debian GNU/Linux trixie/sid x86_64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
Typing the error message into a asearch engine. HTH.
You can also remove the "arch" keyword, or replace it with manjaro.
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.

Last edited by tuxducky; 12-18-2021 at 05:15 AM.
 
Old 12-18-2021, 11:54 AM   #11
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by tuxducky View Post
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.
 
1 members found this post helpful.
Old 12-18-2021, 11:03 PM   #12
tuxducky
LQ Newbie
 
Registered: Nov 2021
Location: Antartica
Distribution: Debian GNU/Linux trixie/sid x86_64
Posts: 16

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by computersavvy View Post
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.
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.

Last edited by tuxducky; 12-18-2021 at 11:07 PM.
 
  


Reply

Tags
debian, hibernation, monitor, suspend



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Tired: Linux fans using the Edge browser. Wired: Linux fans using a Microsoft account to sign into the Edge browser LXer Syndicated Linux News 0 03-24-2021 11:03 PM
blackscreen because "AIGLX: Suspending AIGLX clients for VT switch" error kcynice Linux - Laptop and Netbook 0 11-08-2019 04:45 AM
[SOLVED] Blackscreen installing Debian Jessie upgrading from Debian Wheezy ismaeltxu Linux - Newbie 2 05-11-2015 01:47 AM
where can i buy fairy lights/ string lights? but NOTonline?? HELPP!! iwishiknew! General 1 12-19-2011 10:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration