Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Screen not waking up after suspending
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 41
Location: Spain

PostPosted: Wed Mar 20, 2019 11:47 am    Post subject: Screen not waking up after suspending Reply with quote

After I suspend my computer with pm-suspend and wake it up, my monitor never wakes up. Where can I start looking to try to debug it?
Back to top
View user's profile Send private message
Verdazil
n00b
n00b


Joined: 14 Feb 2019
Posts: 47
Location: One small country ...

PostPosted: Wed Mar 20, 2019 11:54 am    Post subject: Re: Screen not waking up after suspending Reply with quote

Monq wrote:
After I suspend my computer with pm-suspend and wake it up, my monitor never wakes up. Where can I start looking to try to debug it?
Such problems are usually associated with improper operation of video drivers. What is your videocard and what driver is used?
_________________
GA-Z170X-UD3 / i7-6700K / DDR4 32GB / Radeon RX 570 / TL-WDN4800 / Samsung SSD 850 EVO 250 Gb + WD Green WDC 2 Tb / BenQ BL2711U + LG TV 42LF650V
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Wed Mar 20, 2019 12:00 pm    Post subject: Reply with quote

I remember having similar problem some time back...
Try ctrl+alt+F<n> to change to virtual terminal. Then switch back to your graphical session.

If that works you can create a suspend-hook-script which uses chvt for example to switch back and forth after waking from suspend. It's ugly, I know. There might be better way to "refresh" graphical session.
But first you should test if changing to virtual terminal and back works.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 41
Location: Spain

PostPosted: Wed Mar 20, 2019 12:03 pm    Post subject: Re: Screen not waking up after suspending Reply with quote

Verdazil wrote:
Monq wrote:
After I suspend my computer with pm-suspend and wake it up, my monitor never wakes up. Where can I start looking to try to debug it?
Such problems are usually associated with improper operation of video drivers. What is your videocard and what driver is used?


I've got an AMD R9 290 and I'm using the amdgpu driver.

Zucca wrote:
I remember having similar problem some time back...
Try ctrl+alt+F<n> to change to virtual terminal. Then switch back to your graphical session.

If that works you can create a suspend-hook-script which uses chvt for example to switch back and forth after waking from suspend. It's ugly, I know. There might be better way to "refresh" graphical session.
But first you should test if changing to virtual terminal and back works.


It happens even if I haven't started Xorg yet, this is, even if I'm only using a tty. So I assume it's got nothing to do with Xorg.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Wed Mar 20, 2019 12:19 pm    Post subject: Re: Screen not waking up after suspending Reply with quote

Monq wrote:
It happens even if I haven't started Xorg yet, this is, even if I'm only using a tty. So I assume it's got nothing to do with Xorg.
I never got suspend to propely working if not inside graphical session. The screen(s) always remained black if I tried to suspend from vt.
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 41
Location: Spain

PostPosted: Wed Mar 20, 2019 12:21 pm    Post subject: Re: Screen not waking up after suspending Reply with quote

Zucca wrote:
I never got suspend to propely working if not inside graphical session. The screen(s) always remained black if I tried to suspend from vt.

The same thing happens if I suspend and wake up inside Xorg. In any case I expect suspend to work fine using a tty too.
Back to top
View user's profile Send private message
Zucca
Moderator
Moderator


Joined: 14 Jun 2007
Posts: 3339
Location: Rasi, Finland

PostPosted: Wed Mar 20, 2019 12:25 pm    Post subject: Reply with quote

But did switching the vt do anything?
_________________
..: Zucca :..
Gentoo IRC channels reside on Libera.Chat.
--
Quote:
I am NaN! I am a man!
Back to top
View user's profile Send private message
Monq
n00b
n00b


Joined: 11 Feb 2011
Posts: 41
Location: Spain

PostPosted: Wed Mar 20, 2019 12:25 pm    Post subject: Reply with quote

Okay, so... the problem went away after updating to Linux 5.0.3. Now my computer wakes up properly both in a tty and in Xorg. Case closed. :-)

Thanks for your help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum