[Bugs] [Bug 13608] [Fix 21] plasma5-powerdevil - test build for virtual machines
bugzilla
bugzilla на rosalinux.ru
Чт Сен 7 11:44:32 MSK 2023
https://bugzilla.rosalinux.ru/show_bug.cgi?id=13608
VictorR2007 <victorr2007 на yandex.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |victorr2007 на yandex.ru
--- Comment #1 from VictorR2007 <victorr2007 на yandex.ru> ---
Описание к патчу из гит
To avoid hangs in virtual environments which don't support suspension.
This will uncheck the "Suspend session" checkbox and set "When laptop lid
closed:" to "Do nothing" for all modes in the energy saving settings on initial
setup and when restoring defaults, if it is detected that the system runs on a
virtual machine.
It is still possible for the user to change those settings and enable auto
suspend, or manually invoke suspend, even on a VM. Instead of changing default
for auto suspend, would it be more appropriate to always block suspend when
running in a VM? Is it possible to run a Plasma session with the same user
config sometimes in a VM and sometimes on bare metal? Are there use cases for
having Plasma inside a VM handle power management, rather than the host system?
I didn't actually test this with a real VM with source-built Plasma as that
would take a long time to set up; if someone has such a set-up lying around, it
would be great if you could test this. I did confirm that the profiles change
as desired when making the virtual machine check return a dummy. The check
itself is taken over from what Gnome does
(https://gitlab.gnome.org/GNOME/gnome-settings-daemon/-/blob/master/plugins/power/gpm-common.c#L158).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
----------- следущая часть -----------
Вложение в формате HTML было извлечено…
URL: <http://lists.rosalinux.ru/pipermail/bugs/attachments/20230907/01d57bf2/attachment.html>
Подробная информация о списке рассылки Bugs