You are not logged in.

#1 2025-02-28 12:35:05

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

blank black screen after waking up from suspend

Hello, users of the arch forum

I am using arch on a Lenovo ideapad D330-10IGL. (its a screen-keyboard deattachable laptop) (sort of like an iPad connecting to a attachable keyboard)

The problem: After I wake the laptop up from sleep or suspend, the display turns on but it is a complete black screen. Clicking on the mouse or the keyboard doesn't change anything and re-suspending it waking it up from sleep again doesn't do anything either.

My temporary solution: I have noticed that switching ttys via the (Ctrl+Alt+Num) keybinding fixes the problem only if one of the tty is running a xorg server.
If there isnt a xorg server running in the background and there is only ttys, changing between different ttys doesnt do anything.

I would really appreciate it if someone could help me with this problem. I am clipping some journals and dmesg output for more information.

Thank you in advance.

Journal log:- http://0x0.st/8m2g.txt
Dmesg log:- http://0x0.st/8m2E.txt

Last edited by thetareefarz (2025-02-28 12:51:59)


i like unix

Offline

#2 2025-02-28 12:41:29

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

Scenario of how the temporary solution works:

Before sleeping:
- i start startx on tty1
- display server startup (sometimes, if it doesnt, i just switch between ttys (Ctrl+Alt+F2 then Ctrl+Alt+F1) , ignore this for now)
- i go to sleep by closing the lid or by the power button

After sleeping:
- I open up the lid or open the lid and click the power button
- The display turns on but, , the display is a blank black screen which doesnt do anything (the display is still on the xorg tty1)
- I can get the display on by going (Ctrl+Alt+F2 -> Ctrl+Alt+F1) (switching between tty1 and tty2)

This temporary solution only works if there is a xorg server running.


i like unix

Offline

#3 2025-02-28 15:49:33

seth
Member
Registered: 2012-09-03
Posts: 62,858

Re: blank black screen after waking up from suspend

Does "setterm --blank poke" help?
Though you might require a modeswitch, https://man.archlinux.org/man/extra/fbset/fbset.8.en - ideally try (and inspect) this via ssh.

Offline

#4 2025-03-02 07:14:13

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

seth wrote:

Does "setterm --blank poke" help?

Hello seth, thank you again for your reply.

Using the provided command merely returns with a error of

setterm: terminal xterm-256color does not support --blank

i figured that xterm-256color wasnt supported by this cmd so i changed the TERM env variable to nothing so it could work properly but then it just tells me that its a invalid terminal type.

seth wrote:

Though you might require a modeswitch, https://man.archlinux.org/man/extra/fbset/fbset.8.en - ideally try (and inspect) this via ssh.

i am not sure i follow by what you mean by this. I would really appreciate it if you could explain the steps to me.

Thank you.


i like unix

Offline

#5 2025-03-02 07:18:17

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

im using linux as my term value rn and ill add it to this post if i see anything that could be useful


i like unix

Offline

#6 2025-03-02 07:19:52

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

ok i used the setterm --blank poke command and i can confirm that this command cannot resolve the issue.


i like unix

Offline

#7 2025-03-02 07:25:10

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

doing the tty switching method with wayland works as well


i like unix

Offline

#8 2025-03-02 07:40:12

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

here is one of the post in the manjaro forum where this problem is depicted: https://forum.manjaro.org/t/black-scree … it/31976/8

the guy supposedly fixed the problem via using gdm. I tried these method but couldn't be successful with fixing the problem.


i like unix

Offline

#9 2025-03-02 08:45:03

seth
Member
Registered: 2012-09-03
Posts: 62,858

Re: blank black screen after waking up from suspend

Please don't bump, edit your prevous post to mend it if nobody has replied.

Why does your console set "xterm-256color" as TERM environment??
Alternatively, if you're entering that in a GUI terminal emulator (alacritty etc) that's certainly not gonna do anything.

The idea would have been to check "fbset -i" while the console is blank, attempt eg. "fbset -xres 1024 -yres 768" and then back to "fbset -match"

Offline

#10 2025-03-07 14:27:26

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

sorry for the bumps.

the cmds doesn't fx the problem n queston.

here s the output anyway for more detals:

mode "800x1280"
    geometry 800 1280 800 1280 32
    timings 0 0 0 0 0 0 0
    rgba 8/16,8/8,8/0,0/0
endmode

Frame buffer device information:
    Name        : i915drmfb
    Address     : (nil)
    Size        : 4096000
    Type        : PACKED PIXELS
    Visual      : TRUECOLOR
    XPanStep    : 1
    YPanStep    : 1
    YWrapStep   : 0
    LineLength  : 3200
    Accelerator : No

i like unix

Offline

#11 2025-03-07 17:26:03

seth
Member
Registered: 2012-09-03
Posts: 62,858

Re: blank black screen after waking up from suspend

The output is pivoted?
Does this also happen in landscape mode?

Offline

#12 2025-03-08 08:58:43

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

seth wrote:

Does this also happen in landscape mode?

Yes both of them.


i like unix

Offline

#13 2025-03-09 16:18:39

seth
Member
Registered: 2012-09-03
Posts: 62,858

Re: blank black screen after waking up from suspend

I assume switching between pivot and landscape likewise doesn't revive the output?

Offline

#14 2025-03-11 07:55:55

thetareefarz
Member
Registered: 2024-03-05
Posts: 30

Re: blank black screen after waking up from suspend

seth wrote:

I assume switching between pivot and landscape likewise doesn't revive the output?

nope.


i like unix

Offline

#15 2025-03-17 16:59:44

seth
Member
Registered: 2012-09-03
Posts: 62,858

Re: blank black screen after waking up from suspend

Not sure whether this is a better workaround, but see https://raw.githubusercontent.com/torva … /fbcon.rst and try "fbcon=map:000001" what should get you a bogus console on VT6, so ctrl+alt+f6 should™ turn the output off (except it oc already is) and going back to VT1 (and device 0) will hopefully restore the output…

Offline

Board footer

Powered by FluxBB