Bug 2232711
| Summary: | disable KDE autosuspend in a VM (to avoid potential VM hang) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jens Petersen <petersen> |
| Component: | powerdevil | Assignee: | Rex Dieter <rdieter> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 39 | CC: | aleixpol, awilliam, jgrulich, jreznik, kde-sig, lruzicka, mkyral, nate, ngompa13, rdieter, robatino, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | AcceptedBlocker | ||
| Fixed In Version: | powerdevil-5.27.7-5.fc39 powerdevil-5.27.8-1.fc38 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-09-06 23:37:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2143444 | ||
|
Description
Jens Petersen
2023-08-18 05:19:31 UTC
Switched to powerdevil, as that's where power management is in KDE https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/master/plugins/power/gpm-common.c#L158 seems how gnome detects VM Proposing as a blocker on Jens' suggestion: we previously accepted https://bugzilla.redhat.com/show_bug.cgi?id=2232549 as a blocker, but it does seem more sensible to take *this* one as the blocker, as disabling auto-suspend on VMs is likely easier to implement than fixing the virtio suspend problem. +7 in https://pagure.io/fedora-qa/blocker-review/issue/1196 , marking accepted. Reported upstream in https://bugs.kde.org/show_bug.cgi?id=473835 Upstream work in progress: https://invent.kde.org/plasma/powerdevil/-/merge_requests/230 I think the current state of the PR looks good enough to give it a shot, and it's Friday before a holiday weekend after which there are only two days to go/no-go, so...I'm going to do it. FEDORA-2023-b527d83d26 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b527d83d26 FEDORA-2023-bee52a0301 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-bee52a0301 FEDORA-2023-b527d83d26 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b527d83d26` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b527d83d26 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-bee52a0301 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-bee52a0301` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-bee52a0301 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-bee52a0301 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-bee52a0301` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-bee52a0301 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-b527d83d26 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b527d83d26` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b527d83d26 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. With the above advisories installed, the KDE does not suspend even when left longer than the pre-defined inactivity limits. I believe the fix is verified. After leaving the KDE VM in the background for a while, it suspended and cannot be woken up. Reset was necessary. How long is a while? Do the logs indicate why it suspended? from discussion on IRC it seems like Lukas didn't realize you need to create a new user account after installing the update (due to how KDE handles default settings), so his test wasn't valid. setting back to ON_QA for now. FEDORA-2023-b527d83d26 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b527d83d26` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b527d83d26 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2023-bee52a0301 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-bee52a0301` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-bee52a0301 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Ok, now I have created a new user and indeed, the fix works as intended. FEDORA-2023-b527d83d26 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2023-1710532efa has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report. |