Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]Black screen upon resume from suspend or hibernation
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
PF4Public
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2019
Posts: 104

PostPosted: Mon Jan 28, 2019 8:18 pm    Post subject: [SOLVED]Black screen upon resume from suspend or hibernation Reply with quote

Hi there

I have a Dell Inspiron laptop with Gentoo. It has no trouble entering hibernation and suspend via gui or keyboard. It also restores normally. I have configured xfce4-power-manager to put it to sleep and hibernation with lid event. And here comes the most fascinating thing: it wakes up as if normal, but its screen is black. It is completely black, it is simply was not turned on upon waking up.

It looks like it is fine suspending and waking up from keyboard sleep button or via gui and in this case it properly switches the screen on, but with lid - it for some reason does not switch the screen on. Why is that happenning and how do I fix this?

I have tried making ACPI Video built-in, Brightness modules built in, tried completely disabling EFI FB from kernel, but nothing helps :(

vbetool does not solve this, but also breaks suspend and hibernation completely


Last edited by PF4Public on Mon Feb 18, 2019 10:48 pm; edited 1 time in total
Back to top
View user's profile Send private message
PF4Public
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jan 2019
Posts: 104

PostPosted: Mon Feb 18, 2019 10:09 pm    Post subject: Reply with quote

Suddenly I have remembered that I once had genkernel kernel with initramfs, that probably worked fine.
It used the config from LiveCD, so I got that config and compiled the kernel with this config. Guess what? The issue was gone!
So I've got 2 configs, one of which works and the other does not. Firstly I thought it is because of initramfs, but it was really quick to recompile the working config without initramfs to be sure, that it is failing not because of initramfs. Next step was to diff the both configs and try to identify the setting, which affects my system. Well, easier said than done: diffing gave me overwhelmingly huge amount of differences to figure it out.
I had no other choice other than bit by bit morphing the working config into non-working, searching for the setting needed. It took quite a loooooot of tries, but eventually it was a success!
For anyone interested or the future person, non-working kernel was for some reason lacking `CONFIG_DRM_FBDEV_EMULATION=y`
Back to top
View user's profile Send private message
NTwoO
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2007
Posts: 83

PostPosted: Tue Oct 29, 2019 8:33 pm    Post subject: Reply with quote

Thanks for this information. This is most certainly handy. It is also known that the newer S0x sleep states tend to be a difficulty for the newer laptops.
Back to top
View user's profile Send private message
NTwoO
Tux's lil' helper
Tux's lil' helper


Joined: 01 Jun 2007
Posts: 83

PostPosted: Sat Nov 02, 2019 11:46 am    Post subject: Reply with quote

I also had problems with an nvidia driver that was loaded even though I use the laptop with only the intel driver. Blacklisting the nvidia driver forced my PC to not load the driver and not cause problems with the load. My machine is a Dell Inspiron 7590. I doubt that I'll bother getting the nvidia running, since I basically use it only under Windows for the occasional game.
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