Artix Linux Forum

Init systems => runit => Topic started by: plan9 on 15 July 2022, 02:29:30

Title: Black screen with underscore after waking up the screen
Post by: plan9 on 15 July 2022, 02:29:30
Hello, so when I lock my laptop the screen goes black as usual, but if I leave it for some time and then press any key to wake up the screen, there's a chance that it'll be just a black screen with non-blinking underscore. Using keyboard works only once: when I switch to the other tty and then go to another tty or try to type my credentials - the system completely hangs, and even magic Sys Rq doesn't work. Also, I'm unable to connect via ssh - internet stops working (the local IP doesn't ping). I've noticed that it'd happen if the light on the power button blinks, the screen wakes up normally if the light wasn't blinking. My DE is Xfce, didn't try on others but I've had similar issue on Void and it was happening on all my DE's as well.
Any ideas?
Title: Re: Black screen with underscore after waking up the screen
Post by: Lancia on 15 July 2022, 06:36:19
Hello, so when I lock my laptop the screen goes black as usual, but if I leave it for some time and then press any key to wake up the screen, there's a chance that it'll be just a black screen with non-blinking underscore. Using keyboard works only once: when I switch to the other tty and then go to another tty or try to type my credentials - the system completely hangs, and even magic Sys Rq doesn't work. Also, I'm unable to connect via ssh - internet stops working (the local IP doesn't ping). I've noticed that it'd happen if the light on the power button blinks, the screen wakes up normally if the light wasn't blinking. My DE is Xfce, didn't try on others but I've had similar issue on Void and it was happening on all my DE's as well.
Any ideas?

Since you had a similiar issue with Void, my guess would be buggy firmware.

Is there any way you can access logs? What about dmesg?
Title: Re: Black screen with underscore after waking up the screen
Post by: plan9 on 15 July 2022, 20:20:29
Since you had a similiar issue with Void, my guess would be buggy firmware.

Is there any way you can access logs? What about dmesg?
All firmware is up-to-date.
Just an update:
Turns out the SysRq wasn't working because it was disabled (/proc/sys/kernel/sysrq was 0), although I'm sure I didn't disable it and it was working.
Also, the blinking light doesn't matter anymore - now, the screen wakes up normally even if the light blinks. However, I figured out the condition that always works - the issue occurs if the charger is unplugged.
I had logging disabled so I'll provide logs when this happens again.
Title: Re: Black screen with underscore after waking up the screen
Post by: plan9 on 19 July 2022, 00:09:27
/var/log/kernel.log
Quote
Jul 18 23:13:05 artix kernel: PM: suspend entry (deep)
Jul 19 00:32:10 artix kernel: ACPI Warning: \x5c_SB.PCI0.GPP0.PEGP._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20211217/nsarguments-61)
Then some connmand and bluetoothd logs and then end of the file (did REISUB).

# dmesg -T --level=emerg,alert,crit,err
Quote
[Tue Jul 19 00:32:04 2022] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP1.WLAN], AE_NOT_FOUND (20211217/dswload2-162)
[Tue Jul 19 00:32:04 2022] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20211217/psobject-220)
[Tue Jul 19 00:32:04 2022] ACPI Error: AE_NOT_FOUND, While resolving a named reference package element - \_PR_.P000 (20211217/dspkginit-438)
[Tue Jul 19 00:32:08 2022] elogind[1320]: Failed to connect to system bus: No such file or directory
[Tue Jul 19 00:32:08 2022] elogind[1320]: Failed to fully start up daemon: No such file or directory
Title: Re: Black screen with underscore after waking up the screen
Post by: Lancia on 19 July 2022, 06:23:45
>>All firmware is up-to-date.

Having up to date firmware does not have anything to do with buggy firmware, I have an Acer laptop with up to date firmware yet I have to perform technical gymnastics just to get the damn thing to boot Linux.

/var/log/kernel.logThen some connmand and bluetoothd logs and then end of the file (did REISUB).

# dmesg -T --level=emerg,alert,crit,err

Not exactly a UEFI or kernel expert, but purely guessing from the errors, I think this is a firmware issue.
Title: Re: Black screen with underscore after waking up the screen
Post by: plan9 on 19 July 2022, 12:24:55
Oh, I see. Thanks! Will contact manufacturer.
Title: Re: Black screen with underscore after waking up the screen
Post by: Lancia on 19 July 2022, 14:13:40
Oh, I see. Thanks! Will contact manufacturer.
IMO they don't care and will probably not pay any attention to your issue in any way.

If Windows works, they call it a day and don't bother with any other complaints.
Title: Re: Black screen with underscore after waking up the screen
Post by: lq on 19 July 2022, 16:37:10
If you are not able to post the output of:
Code: [Select]
inxi -SCGMx
you will have to read it yourself here (https://wiki.archlinux.org/title/Laptop).
Title: Re: Black screen with underscore after waking up the screen
Post by: plan9 on 19 July 2022, 17:01:14
inxi -SCGMx
https://privatebin.net/?30bead3200f4537f#3sRqLGdoAgcr2XmQmYZmJ5MuuyrNuXyEFoCqE4TAhZ1X
Title: Re: Black screen with underscore after waking up the screen
Post by: cat herders of linux on 19 July 2022, 17:10:56
a lappy w/ 2 graphics options. one on the apu and an nvidia discrete card.