-
-
Notifications
You must be signed in to change notification settings - Fork 56
Ignore i915/xe i2c on Modern Standby platforms #534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 2.2.2-dev
Are you sure you want to change the base?
Conversation
|
I can see the argument that ddcutil/libddcutil should not perform I2C operations if it detects that the system is in an idle state, but I find it hard to imagine how having executed ddcutil some time in the past should prevent entry to s0ix. My Lenovo P16 laptop has an Alder Lake processor (12th gen), and it uses the built in graphics processor (i915 driver). Cold booted into Mate on debian bookwom. ddcutil/llibddcutil are not installed on either /usr/bin or /usr/local/bin. Ran the following tests, which emits the "CPU did not enter" message in both the scenario you describe and also after putting the system to sleep by writing to /sys/power/state. So there's something else going on here. |
|
I have two different machines that all have the same symptom of sleep working on Fedora GNOME, but not on Fedora KDE (all other software components being the same, except GNOME doesn't use ddcutil). You should perform the testing steps on machines that are known to have functional s0ix under GNOME first. (As for s0ix not working under your P16, this is usually caused by PCI devices without a driver attached, at least on Intel platforms. You can check for such devices with |
|
Between this issue and #429, there are multiple descriptions of the problem: it affects nvidia as well as i915, it requires explicit invocation of command line ddcutil vs it happens whenever it is installed. Until I understand the problem better I'm not making any changes. In particular, your patch disables ddcutil on any i915 system for which the the mem_sleep setting is s2idle, whether or not the user makes any use of modern sleep. I will continue to explore the issue, but for now, I suggest you try putting one of the following options in $HOME/.config/ddcutil/ddcutilrc:
|
|
I neglected to add that as an alternative you could set environment variable POWERDEVIL_NO_DDCUTIL to disable powerdevil's use of libddcutil. Let me know which of these alternatives, if any, resolves your problem. |
|
I have a machine affected by this issue. I worked around it by setting POWERDEVIL_NO_DDCUTIL in the unit override for plasma-powerdevil.service. It looks like the ddcutil version I have does not have options |
Fixes #429
Testing: