Skip to main content

If all else fails, a good temporary solution to monitor not waking up from timeout in Debian Buster

I recently upgraded from Debian Stretch to Debian Buster (or Debian 9 to Debian 10). I hadn't done anything unusual with my system, so I was expecting a smooth upgrade process. It did work smoothly, with one exception: my monitor simply would not wake up after a screen timeout.  

The problem
The monitor just refused to wake up after time out, even if I unplugged and replugged its power cord (its own one, separate to the computer). The monitor reported no signal from the computer. However, the computer was actually working fine during this time - the light was on, and the keyboard caps lock key light toggled on and off; a sign that it was indeed working.

But with no way to see any of the screen, I simply couldn't do anything to restart the machine except for a hard restart (turning off the computer with the power button and turning it back on). Needless to say, this was not good since I had open unsaved files on my desktop!

I couldn't find anything actually helpful on the internet. I felt that since I hadn't done anything unusual with my system, nor had I changed monitors or hardware, that it should "just work"! I fiddled with a lot of the power management settings, but nothing helped.

The situation was so disruptive to my work that I almost (but not quite!) considered re-installing Debian from scratch, although that was going to be a big pain to set up my desktop again, etc etc. No, there had to be an easier way.

The solution
In the end, I just booted up from an older kernel in the startup menu. That seemed to fix the problem. I hate using older software, the whole point of updating was to be up to date, but at least I could get to a workable situation where I was able to safely get in and out of my system without hard shut-downs.

I'm hoping that whatever the kernel issue was, that it'll be fixed in one of the later updates of Debian Buster.  I don't know enough about Debian and its update process to know if that's even likely or not.

But, if you're experiencing the same issue, try booting up from an older kernel. It'll at least provide a temporary solution to your problem until the actual cause of it is determined. I'm thinking I might change my grub settings to default to the older kernel for now. That way I don't inadvertently boot into the new kernel and keep running into the same problem.

Debian is supposed to have high stability!
I would not call this a stable situation. Although Debian prides itself on its stability, I was not expecting that a change in kernel would cause this many issues. Yes, I get that communications between computer and monitor are complicated, but at the same time, an upgrade should not make those things worse. My monitor is an HP that's been around awhile, so it's not anything weird.

I'll update this later if I have any more news on how to fix this problem more permanently (without having to resort to an older kernel). In the meantime, I'm glad that there is at least this temporary working solution of the older kernel.

Update - November 10, 2019
I also tried another approach, which was disabling kernel modesetting. That was a nightmare! The system didn't want to boot, and I had to change the settings back to what they were using a recovery disk. 

Final solution
The final solution was... after getting frustrated at having to use an old kernel... to finally switch to another distro. I switched to Linux Mint and have not looked back since! It was so fast to customize my desktop, and I'm thrilled with it.

Popular posts from this blog

How to center images horizontally using Grav

I've been playing around a bit with Grav. I was posing the question to myself: for the relatively simple use-cases I'm dealing with, could it possibly work for my purposes as an alternative to ProcessWire?  The problem I was initially dismayed to find that Grav uses Markdown as its editor, which does not offer native support for horizontal centering of anything (text or images). However, Grav offers some tweaks that help make it easier to do specific things you might commonly want to do. I tried writing a sample article, and I found that one of the hardest things to do was to center an image horizontally. And horizontal centering of images is something I would typically do in most of the articles I would write. So the lack of easy horizontal centering is a highly significant drawback IMHO (most people do want to center images in an article!) However, this issue is made up for by other things in Grav: the relative speed, ease and flexibility of custom theming and built-in suppor

Life using the Linux operating system exclusively for the last few years

Above: my Linux desktop layout. Back in 2017, I switched my operating system entirely to Linux. In case anyone is wondering, here is what I experienced over the last few years. Others I interact with have no idea I'm on Linux. For example, if someone emails me an MS Word document that I need to complete, I simply open it with LibreOffice (an open-source word processing program that is pre-installed on most Linux systems), edit the document as needed - which is very easy since the same sorts of functionalities are available in LibreOffice - and then I can save it in MS Word format and email it back. Likewise, if I'm on a Zoom call, everything works just the way it does on PC and Mac. Zoom makes their application available for Linux too, I downloaded it and let it self-install, and it works exactly the same way as it does on other operating systems. I can point-and-click my way to whatever I need to do on Linux; no special knowledge required. If you want to dig deeper into script

Correct usage of unwind-protect and with-open-file in Lisp

Learning to use unwind-protect in Lisp typically crops up very early on when you're first learning the language. In fact, anything to do with I/O is going to be something you'll need to know early on. Yet unfortunately, I find that unwind-protect is not explained sufficiently well for a beginner to understand not just how to use it correctly, but why and when . Grappling with this myself, I found that hands-down the best explanation came from this YouTube video from Baggers: Luckily, in the case of file handlers, LISP already assumes you'll want to open a file with unwind-protect, so it provides the with-open-file macro for this exact purpose. It closes the file handler for you with a built-in unwind-protect. This is an advantage over manually opening and closing your file handlers, because if your program opens the file but never gets to the part with the close command (for example due to a run-time error in between those stages), the built-in unwind-protect make

About Me

My photo
Vera
I'm a wife and mother. I don't have any formal computer science qualifications, or any religious qualifications. I have a PhD in biochemistry. This photo is of me, but is confusing for AI.