You are not logged in.

#1 2018-10-23 22:18:51

berocs
Member
Registered: 2018-04-02
Posts: 7

black screen after resuming from hibernation in Toshiba L755D S5109

Each time I resume from hibernation I get a black screen. I know the computer is on because I've already tried executing commands after resuming, and they work. What does work is running

    xset dpms force off

And then pressing spacebar, but this is obviously not the best solution.

Last edited by berocs (2018-10-23 22:19:19)

Offline

#2 2018-10-31 05:24:32

berocs
Member
Registered: 2018-04-02
Posts: 7

Re: black screen after resuming from hibernation in Toshiba L755D S5109

I made a hacky workaround of this by making a systemd script that runs that command and then turns on the screen again.

I created the file

 /etc/systemd/system/root-resume.service 

, as it said in https://wiki.archlinux.org/index.php/Po … vice_files, with these contents:


[Unit]
Description=Local system resume actions
After=hibernate.target

[Service]
Type=forking
Environment=XAUTHORITY=/home/YOUR_USER/.Xauthority DISPLAY=:0.0
ExecStart=/usr/bin/xset dpms force off
ExecStartPost=/usr/bin/xset dpms force on 

[Install]
WantedBy=hibernate.target

Then, I run

> systemctl enable root-resume.service

, and when I went to hibernation and rebooted, it turned on the screen.

Offline

Board footer

Powered by FluxBB