You are not logged in.

#26 2014-09-07 16:01:40

ansh_kumar
Member
Registered: 2013-02-01
Posts: 89

Re: [SOLVED] No display after waking up from sleep

Here is what I did finally:
Created a file /usr/lib/systemd/system/quirks.service with the following contents:

[Unit]
Description=Resume the backlight

[Service]
Type=oneshot
ExecStart=/bin/sh -c "sysctl -w kernel.acpi_video_flags=3"

[Install]
WantedBy=multi-user.target

Then the command systemctl enable quirks.service
Also modified the file /etc/systemd/system/systemd-suspend.service as:

[Unit]
Description=Suspend
Documentation=man:systemd-suspend.service(8)
DefaultDependencies=no
Requires=sleep.target
After=sleep.target

[Service]
Type=oneshot
ExecStart=
ExecStart=/bin/sh -c "echo mem > /sys/power/state"

A restart and everything worked.

Offline

#27 2014-09-07 16:07:23

ansh_kumar
Member
Registered: 2013-02-01
Posts: 89

Re: [SOLVED] No display after waking up from sleep

Rexilion would you mind seeing this issue I'm facing ?

Offline

#28 2014-10-04 10:30:18

ansh_kumar
Member
Registered: 2013-02-01
Posts: 89

Re: [SOLVED] No display after waking up from sleep

As suspected this was an open-source driver issue.
Fixed with proprietary driver (without using quirks). smile

Offline

#29 2016-08-02 12:58:54

vinibali
Member
Registered: 2015-06-22
Posts: 7

Re: [SOLVED] No display after waking up from sleep

already works properly with the mesa driver!

Offline

#30 2016-08-02 13:10:45

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,845
Website

Re: [SOLVED] No display after waking up from sleep

Please don't necrobump or empty-post.

https://wiki.archlinux.org/index.php/Code_of_conduct

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB