You are not logged in.
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
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
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
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.
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
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
ok i used the setterm --blank poke command and i can confirm that this command cannot resolve the issue.
i like unix
Offline
doing the tty switching method with wayland works as well
i like unix
Offline
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
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
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
The output is pivoted?
Does this also happen in landscape mode?
Offline
Does this also happen in landscape mode?
Yes both of them.
i like unix
Offline
I assume switching between pivot and landscape likewise doesn't revive the output?
Offline
I assume switching between pivot and landscape likewise doesn't revive the output?
nope.
i like unix
Offline
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