You are not logged in.

#1 2021-02-26 15:35:21

devmrfitz
Member
Registered: 2021-01-13
Posts: 54

Black screen when trying to wake from suspend

Today, when I tried to wake my laptop from suspend. The LED came on but the display didn't turn on. However, when I downgraded packages to 20 days back using https://wiki.archlinux.org/index.php/Ar … cific_date, it started working again

Offline

#2 2021-02-27 00:26:19

u666sa
Member
Registered: 2020-08-01
Posts: 69

Re: Black screen when trying to wake from suspend

You using lightdm?  It doesn't matter really, other login managers will have something similar.

gq0R5W5.png
Qyt1K8y.png

Basically in lightdm.conf or whatever else you be using, have a display-setup-script or something similar which executes a bash script, in our example lightdmxrandr.sh.
In bash display setup script we will be setting output display and resolution, as per picture example above. You will find the required information with xrandr --current, display mode, and output device. Give it a try.

As far as why this has happened. My guess is that something changed somewhere and now your laptop outputs to different output device, for example, it might be outputting to VGA port or display port. You can confirm that by connecting external monitor or TV to either VGA or display port.

Offline

#3 2021-02-27 02:59:01

devmrfitz
Member
Registered: 2021-01-13
Posts: 54

Re: Black screen when trying to wake from suspend

u666sa wrote:

You using lightdm?  It doesn't matter really, other login managers will have something similar.

https://i.imgur.com/gq0R5W5.png
https://i.imgur.com/Qyt1K8y.png

Basically in lightdm.conf or whatever else you be using, have a display-setup-script or something similar which executes a bash script, in our example lightdmxrandr.sh.
In bash display setup script we will be setting output display and resolution, as per picture example above. You will find the required information with xrandr --current, display mode, and output device. Give it a try.

As far as why this has happened. My guess is that something changed somewhere and now your laptop outputs to different output device, for example, it might be outputting to VGA port or display port. You can confirm that by connecting external monitor or TV to either VGA or display port.

But is it possible that the relevant config changes on updating and reverses on downgrading?

Offline

#4 2021-02-27 06:55:29

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: Black screen when trying to wake from suspend

No, and they do also not apply only after an S3.
Most likely contender is a kernel or firmware update, please post your pacman log.

For debugging, see https://01.org/blogs/rzhang/2015/best-p … ate-issues

@u666sa, please don't post images > 200x200px and in no case ever post pictures of text. Post the text (in code tags)

Offline

#5 2021-02-27 08:37:12

devmrfitz
Member
Registered: 2021-01-13
Posts: 54

Re: Black screen when trying to wake from suspend

seth wrote:

No, and they do also not apply only after an S3.
Most likely contender is a kernel or firmware update, please post your pacman log.

For debugging, see https://01.org/blogs/rzhang/2015/best-p … ate-issues

@u666sa, please don't post images > 200x200px and in no case ever post pictures of text. Post the text (in code tags)

When I updated to latest with this line in conf file `IgnorePkg   = linux , linux-firmware, linux-headers`, no issues appeared

Offline

#6 2021-02-27 11:39:29

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: Black screen when trying to wake from suspend

amdgpu?
Please post a complete system journal.

Offline

#7 2021-02-27 11:44:20

devmrfitz
Member
Registered: 2021-01-13
Posts: 54

Re: Black screen when trying to wake from suspend

seth wrote:

amdgpu?
Please post a complete system journal.

amdgpu drivers are installed. How to get a journal?

Offline

#8 2021-02-27 11:48:08

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: Black screen when trying to wake from suspend

"sudo journalctl -b", https://wiki.archlinux.org/index.php/Journal

See https://bbs.archlinux.org/viewtopic.php?pid=1958923 for another potential amdgpu regression thread.

Offline

#9 2021-02-27 11:49:45

devmrfitz
Member
Registered: 2021-01-13
Posts: 54

Re: Black screen when trying to wake from suspend

seth wrote:

"sudo journalctl -b", https://wiki.archlinux.org/index.php/Journal

See https://bbs.archlinux.org/viewtopic.php?pid=1958923 for another potential amdgpu regression thread.

It's a very long output. How many lines from the top should I post?

Offline

#10 2021-02-27 11:51:57

seth
Member
Registered: 2012-09-03
Posts: 50,012

Re: Black screen when trying to wake from suspend

All of them.
You can use the tip in the first link in my signature to upload the output.

Offline

#11 2021-02-27 12:05:46

devmrfitz
Member
Registered: 2021-01-13
Posts: 54

Re: Black screen when trying to wake from suspend

seth wrote:

All of them.
You can use the tip in the first link in my signature to upload the output.

Here it is: https://pastebin.com/qbNFNfT1

Offline

#12 2021-02-27 13:23:48

seth
Member
Registered: 2012-09-03
Posts: 50,012

Offline

Board footer

Powered by FluxBB