* Re: [Qemu-devel] Bug#922612: qemu-system: black screen when guest goes to powersave, does not come back
[not found] <155049381165.1196.17842630458734820476.reportbug@cerebro.laendle>
@ 2019-02-20 8:33 ` Michael Tokarev
2019-02-21 13:47 ` Gerd Hoffmann
0 siblings, 1 reply; 2+ messages in thread
From: Michael Tokarev @ 2019-02-20 8:33 UTC (permalink / raw)
To: 922612, qemu-devel qemu-devel; +Cc: Gerd Hoffmann
Forwarding from Debian bugreport http://bugs.debian.org/922612
18.02.2019 15:43, Marc Lehmann wrote:
> Package: qemu-system
> Version: 1:3.1+dfsg-4
> Severity: normal
>
> Dear Maintainer,
>
> after upgrading to qemu 3.1 from stretch [from qemu 2.8 -- mjt], I found
> that both linux and windows guests, when using the qxl device, do not
> come back from deep power save.
>
> That is, when I run either a standard ubuntu 17.10 or windows 10 (with
> qxl-dod driver), then by default they switch off the screen after a while,
> which results in black screen in qemu, as expected.
>
> If one moves the mouse or presses a key shortly after this, the screen comes back.
>
> If I let the systems idle for longer (say, half an hour), then they seem
> to go into a deeper powersave, and pressing a key or moving the mouse does
> NOT restore the screen - it stays black.
>
> When the vm is in this state, I have not found a way to get the display
> back, the only way that works is to quit qemu and start it again (meaning
> boot the guest again in a new qemu instance, I have not tried to
> suspend/resume a vm).
>
> I have verified that mouse inputs and keypresses are registered correctly
> by the guest in this state, so I assume it does try to switch on the
> virtual monitor.
>
> Since this happens with both linux and windows guests, this looks like a
> bug in qemu's display code to me.
Thanks,
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] Bug#922612: qemu-system: black screen when guest goes to powersave, does not come back
2019-02-20 8:33 ` [Qemu-devel] Bug#922612: qemu-system: black screen when guest goes to powersave, does not come back Michael Tokarev
@ 2019-02-21 13:47 ` Gerd Hoffmann
0 siblings, 0 replies; 2+ messages in thread
From: Gerd Hoffmann @ 2019-02-21 13:47 UTC (permalink / raw)
To: Michael Tokarev; +Cc: 922612, qemu-devel qemu-devel
Hi,
> > That is, when I run either a standard ubuntu 17.10 or windows 10 (with
> > qxl-dod driver), then by default they switch off the screen after a while,
> > which results in black screen in qemu, as expected.
Just the screen saver I guess.
> > If I let the systems idle for longer (say, half an hour), then they seem
> > to go into a deeper powersave, and pressing a key or moving the mouse does
> > NOT restore the screen - it stays black.
Probably "systemctl suspend".
> > When the vm is in this state, I have not found a way to get the display
> > back, the only way that works is to quit qemu and start it again (meaning
> > boot the guest again in a new qemu instance, I have not tried to
> > suspend/resume a vm).
> >
> > I have verified that mouse inputs and keypresses are registered correctly
> > by the guest in this state, so I assume it does try to switch on the
> > virtual monitor.
Doesn't reproduce.
Can you log into the machine (serial console, network)?
If so: anything suspicious in the kernel log?
Also: it is possible to disable suspend support (libvirt xml):
<pm>
<suspend-to-mem enabled='no'/>
<suspend-to-disk enabled='no'/>
</pm>
Suspending virtual machines typically adds little benefit and isn't
tested that well, so I'd recommend doing that.
Bugs can be in both host (qemu) and guest (linux kernel driver). Often
it is quite difficult to debug and to figure who is actually at fault
here.
cheers,
Gerd
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-02-21 13:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <155049381165.1196.17842630458734820476.reportbug@cerebro.laendle>
2019-02-20 8:33 ` [Qemu-devel] Bug#922612: qemu-system: black screen when guest goes to powersave, does not come back Michael Tokarev
2019-02-21 13:47 ` Gerd Hoffmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).