SDL window disappears overnight

Bug #349440 reported by Evan
2
Affects Status Importance Assigned to Milestone
kvm (Ubuntu)
Fix Released
Medium
Dustin Kirkland 

Bug Description

Binary package hint: kvm

As of a recent version of KVM in Jaunty (currently using 1:84+dfsg-0ubuntu8), if I leave a KVM instance running overnight and close the lid to my laptop, the SDL window disappears when I return in the morning. Do note that I do not suspend the computer and that the KVM process is still running after the window has disappeared.

Is there any further information I can collect to help resolve this?

The way I am calling KVM is as follows:
kvm -m 768 -boot dc -hda hda.img -hdb hdc.img -no-quit -k en-us -cdrom jaunty-desktop-amd64-20090324.iso

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Hi Evan-

This is a strange one, that I haven't seen. I quite frequently run kvm's overnight doing stress testing or some such. I do usually do this on the Ubuntu server. I wonder if the desktop image is sending a signal to power off the monitor, or something hokey like that?

Have you seen it more than once? Any chance you can give me a tighter timeframe for how long it takes to trigger this? Perhaps play with some of the power management, screen saver, and monitor settings, cranking them way down to their lowest levels.

Also, any interesting messages in your terminal where you launched kvm from? What about in dmesg? (Those are long shots)

:-Dustin

Changed in kvm (Ubuntu):
assignee: nobody → kirkland
importance: Undecided → Medium
Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Also, is there anything interesting in your x session logs?

:-Dustin

Revision history for this message
Dustin Kirkland  (kirkland) wrote : Re: [Bug 349440] [NEW] SDL window disappears overnight

Upstream says that the SDL window should never close on its on.

If it does, kvm has crashed. We'll need to capture some backtrace
information on that kvm process. I'm working on getting an apport
hook into kvm. Should have that later today.

:-Dustin

Revision history for this message
Evan (ev) wrote :

Nothing stands out in my xsession-errors log. DPMS does kick in from time to time, but the window is still there and responsive when that happens. I'm not sure exactly how long it takes, but it always happens when I leave it overnight, and I do believe it's happened if I've left it for a few hours. There's nothing written to the console. As mentioned, the process is still running when this happens. I do have a few of these in dmesg:

[36973.139858] kvm: 18715: cpu0 unhandled rdmsr: 0xc0010117
[36973.139998] kvm: 18715: cpu0 unhandled wrmsr: 0xc0010117 data 0

But they've happened since as far as I can tell, and KVM is still running fine.

Revision history for this message
Evan (ev) wrote :

It's only a matter of a few hours. I never closed my lid, but after leaving my laptop for about four hours the KVM window is gone.

Revision history for this message
Evan (ev) wrote :

I can no longer reproduce this in 1:84+dfsg-0ubuntu10.

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

Based on comments from the reporter, plus my own testing, I'm going to close this bug.

I have left 4-6 kvm's running over night, having booted the jaunty desktop livecd. All were running the next morning.

:-Dustin

Changed in kvm (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.