intel / intel/pm-graph

No systemd notification when user suspend system by sleepgraph

Open
#28 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
143
Forks
57
PR merge metrics
No merged PRs in 30d

Description

Hello,

sleepgraph utilize sysfs node to suspend the system, ex: $ echo mem > /sys/power/state. Some devices customize the pre-sleep or post-resume operations by utilizing systemd sleep script, ex: Nvidia proprietary driver. It may cause some problem on the device that needs pre-sleep or post-resume operations.

Reproduce steps:

On Ubuntu 22.04 system with NV graphic

1. install nvidia driver by $ sudo ubuntu-drivers install nvidia:535
2. Suspend the system by $ sleepgraph -m freeze -rtcwake 60 -sync -gzip -multi 1 0 -skiphtml
3. The nvidia-sleep.sh won't be triggered

Thanks,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.