[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: Extremely slow graphic updates
From: |
Stefano Stabellini |
Subject: |
[Qemu-devel] Re: Extremely slow graphic updates |
Date: |
Tue, 20 Jan 2009 17:21:32 +0000 |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080505) |
Lennart Sorensen wrote:
> I was trying to come up with a simple test case to show the problem,
> but found another one. If I simply run qemu-system-ppc -vnc :1 I get
> nothing on VNC. Using -sdl I get the openbios prompt. If I use both
> -vnc :1 and -sdl I get openbios showing on both. vnc by itself seems to
> only start displaying something once something other than openbios is
> running, like the bootloader or linux kernel. That doesn't seem right.
I could reproduce this issue.
The problem seems to be strictly related to the gui_timer:
Currently we set the gui_timer only if someone implements dpy_refresh.
Since sdl implements dpy_refresh while vnc does not, when only vnc is
enabled the gui_timer is never allocated.
The weird thing is that even if I change the gui_update function to be
something like:
static void gui_update(void *opaque)
{
uint64_t interval = GUI_REFRESH_INTERVAL;
DisplayState *ds = opaque;
DisplayChangeListener *dcl = ds->listeners;
qemu_mod_timer(ds->gui_timer, interval + qemu_get_clock(rt_clock));
}
Vnc still works correctly.
So it doesn't matter the actual implementation of the function to be
called, as long as it is called.
- Re: [Qemu-devel] Re: Extremely slow graphic updates, (continued)
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Jamie Lokier, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Jamie Lokier, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Stefano Stabellini, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Avi Kivity, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Samuel Thibault, 2009/01/20
- [Qemu-devel] Re: Extremely slow graphic updates,
Stefano Stabellini <=
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Stefano Stabellini, 2009/01/20
- [Qemu-devel] Re: Extremely slow graphic updates, Paul Brook, 2009/01/20
- Re : [Qemu-devel] Re: Extremely slow graphic updates, Sylvain Petreolle, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Stefan Weil, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Paul Brook, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/21
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Stefano Stabellini, 2009/01/21
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/21
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Lennart Sorensen, 2009/01/21
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Stefano Stabellini, 2009/01/21