My screen goes black -- How can I find out what's happening using journalctl?
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
"--boot -1" shows entries from the last uptime, i.e. before you rebooted.
Combining that with --since only makes sense if the start time was during or before that last uptime.
I believe the journal will include entries for the event of the problematic behaviour. Better to go a few seconds back in time though.
Yes, then I think I'm at the right place. The blackout happened during the last boot some minutes before the time I used for --since. But you're right, in this case --since would have been enough to get to the right place in the journal.
Then the most interesting entries will be cut off by some minutes.
Sorry, I mean after the --since time of course.
Examining the logs a bit more I can't find anything there that I can see could have caused this. Also discovered that closing and opening the laptop lid will get the screen going again, so I strongly suspect it to be something with the display driver.
feb 21 14:32:25 gnagaren systemd[1]: Started Run anacron jobs.
feb 21 14:32:25 gnagaren anacron[5451]: Anacron 2.3 started on 2021-02-21
feb 21 14:32:25 gnagaren anacron[5451]: Normal exit (0 jobs run)
feb 21 14:32:25 gnagaren systemd[1]: anacron.service: Succeeded.
feb 21 14:34:10 gnagaren systemd-logind[981]: Lid closed. Note: This is what I did just after the crash to restore the screen
feb 21 14:34:10 gnagaren wpa_supplicant[984]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-94 noise=9999 txrate=240000
feb 21 14:34:12 gnagaren systemd-logind[981]: Lid opened.
feb 21 14:34:42 gnagaren kernel: EXT4-fs (sdb1): warning: maximal mount count reached, running e2fsck is recommended
feb 21 14:34:42 gnagaren udisksd[983]: Mounted /dev/sdb1 (system) at /media/1/1 on behalf of uid 1000
feb 21 14:34:42 gnagaren kernel: EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
feb 21 14:34:44 gnagaren udisksd[983]: Cleaning up mount point /media/1/1 (device 8:17 is not mounted)
feb 21 14:34:44 gnagaren systemd[1411]: media-1-1.mount: Succeeded.
feb 21 14:34:44 gnagaren systemd[1]: media-1-1.mount: Succeeded.
feb 21 14:34:44 gnagaren udisksd[983]: Unmounted /dev/sdb1 on behalf of uid 1000
feb 21 14:34:46 gnagaren kernel: usb 2-2: USB disconnect, device number 2
feb 21 14:34:46 gnagaren kernel: usb 2-2.2: USB disconnect, device number 4
feb 21 14:34:47 gnagaren kernel: usb 2-3.1: USB disconnect, device number 6
feb 21 14:35:31 gnagaren wpa_supplicant[984]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-66 noise=9999 txrate=240000
feb 21 14:35:46 gnagaren wpa_supplicant[984]: wlo1: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=-69 noise=9999 txrate=240000
The preceding event 14:32 (an anacron process that didn't perform anything) isn't likely to have caused the blackout I guess.
Nothing that would clarify the issue IMO.
Of course it can't hurt to heed the advice given.
You could also try if the behaviour changes when you disconnect /dev/sdb1.
Beyond that you probably have to look at ACPI issues... and I won't be able to help much with that.
BTW, scrolling back I just noticed a possible misunderstanding:
Somebody suggested pressing Ctrl-Alt-Fn when the screen goes blank - what they meant was one of the Function keys F1 - F12, and NOT the "Fn" key most laptops have.
Also, what did you upgrade to? that looks really weird in your first post.
Code:
cat /etc/*release*
please.
And since this is Ubuntu you really might want to ask on ubuntuforums.org - or askubuntu.com.
Nothing that would clarify the issue IMO.
BTW, scrolling back I just noticed a possible misunderstanding:
Somebody suggested pressing Ctrl-Alt-Fn when the screen goes blank - what they meant was one of the Function keys F1 - F12, and NOT the "Fn" key most laptops have.
Yes, I got that. I can get to another terminal, probably, but won't see it or anything else since the screen is sleeping
Quote:
Originally Posted by ondoho
Also, what did you upgrade to? that looks really weird in your first post.
Code:
cat /etc/*release*
please.
And since this is Ubuntu you really might want to ask on ubuntuforums.org - or askubuntu.com.
I wonder if we explored the hardware side of things already.
How is the screen connected, have you tried a different screen. OK, you mentioned that, but I'm not sure I understood - the issue only affects the internal screen (meaning this is a laptop), when you connect an external screen it continues to work just fine? That would mean the system does not get unresponsive at all.
And how can you know that the keyboard is unresponsive when you can't see anything?
Have you tried ssh'ing in? Have you tried playing sound - does the sound stop or continue when the issue occurs?
Are you watching sensors for temperatures closely? Cleaned out the fans? How's the battery?
And why we were fixated on journalctl for the last few posts, you should also look at 'dmesg' (that's a command) and other logs, both before and after it happens.
And lastly, tell us about your hardware/drivers:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.