You are not logged in.
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
Rexilion would you mind seeing this issue I'm facing ?
Offline
As suspected this was an open-source driver issue.
Fixed with proprietary driver (without using quirks).
Offline
already works properly with the mesa driver!
Offline
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