[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Re: Extremely slow graphic updates
From: |
Stefano Stabellini |
Subject: |
Re: [Qemu-devel] Re: Extremely slow graphic updates |
Date: |
Tue, 20 Jan 2009 17:35:18 +0000 |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080505) |
Stefano Stabellini wrote:
> 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.
>
It seems that the select in vl.c:main_loop_wait never returns unless
gui_timer is properly set.
Something tells me that it shouldn't work this way :)
- 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, 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, 2009/01/20
- Re: [Qemu-devel] Re: Extremely slow graphic updates,
Stefano Stabellini <=
- [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
- Re: [Qemu-devel] Re: Extremely slow graphic updates, Paul Brook, 2009/01/21