From: "Marc-André Lureau" <mlureau@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "Marc-André Lureau" <marcandre.lureau@gmail.com>,
spice-devel <spice-devel@lists.freedesktop.org>,
QEMU <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [Spice-devel] [PATCH v2 10/12] spice/gl: create dummy primary surface (RfC)
Date: Tue, 24 May 2016 15:34:24 -0400 (EDT) [thread overview]
Message-ID: <1510504332.743167.1464118464547.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <1464097171.20136.4.camel@redhat.com>
Hi
----- Original Message -----
> On Mo, 2016-05-23 at 16:03 +0200, Marc-André Lureau wrote:
> > Hi
> >
> > On Mon, May 23, 2016 at 3:52 PM, Gerd Hoffmann <kraxel@redhat.com> wrote:
> > > Hi,
> > >
> > > Resuming to work on this after 2.6 freeze break ...
> > >
> > >> I have done some more testing and sent a series for spice-gtk fixing
> > >> display with gl scanout-only case. And a minor patch to spice server
> > >> to solve a cursor initialization when there is no canvas.
>
> What is the upstream status of this? Built a bunch of fresh packages
> today, including new spice-server and spice-gtk from master branch. And
> a bunch spice-gtk dependencies, due to soname change. Still not working
> without the dummy primary surface.
spicy from master works for me. However I found an issue with virt-viewer, due to delayed widget realize in this gl-only case, see: https://lists.freedesktop.org/archives/spice-devel/2016-May/029446.html
>
> > >> (process:21117): Spice-CRITICAL **:
> > >> red-qxl.c:900:spice_qxl_gl_draw_async: condition
> > >> `qxl_state->scanout.drm_dma_buf_fd != -1' failed
>
> > I can't really make sense of a call to spice_qxl_gl_draw_async() if
> > there is no scanout backing. So I can imagine the fix is on qemu side.
>
> Indeed. That one should be fixed now.
Thanks
>
> > Do you have an up to date branch for testing?
>
> Pushed fresh branch to the usual work/virgl location.
I found a cursor issue, due to spice worker being idle, and this solves it: What do you think?
commit bae34dde7b229cc87347639ac34d835b80725e1f
Author: Marc-André Lureau <marcandre.lureau@redhat.com>
Date: Tue May 24 20:34:05 2016 +0200
spice: wakeup worker to pick up mouse changes
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 5ed7630..a04432c 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -766,6 +766,7 @@ static void display_mouse_set(DisplayChangeListener *dcl,
g_free(ssd->ptr_move);
ssd->ptr_move = qemu_spice_create_cursor_update(ssd, NULL, on);
qemu_mutex_unlock(&ssd->lock);
+ qemu_spice_wakeup(ssd);
}
static void display_mouse_define(DisplayChangeListener *dcl,
@@ -784,6 +785,7 @@ static void display_mouse_define(DisplayChangeListener *dcl,
g_free(ssd->ptr_define);
ssd->ptr_define = qemu_spice_create_cursor_update(ssd, c, 0);
qemu_mutex_unlock(&ssd->lock);
+ qemu_spice_wakeup(ssd);
}
static const DisplayChangeListenerOps display_listener_ops = {
next prev parent reply other threads:[~2016-05-24 19:34 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-19 9:14 [Qemu-devel] [PATCH v2 00/12] spice: add opengl/virgl/dmabuf support Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 01/12] spice: init dcl before registering qxl interface Gerd Hoffmann
2016-02-19 12:27 ` Marc-André Lureau
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 02/12] configure: add dma-buf support detection Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 03/12] egl-helpers: add functions for render nodes and dma-buf passing Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 04/12] spice: reset cursor on resize Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 05/12] spice: add opengl/virgl/dmabuf support Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 06/12] spice: add unblock timer Gerd Hoffmann
2016-02-19 12:34 ` Marc-André Lureau
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 07/12] spice: tweak debug messages Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 08/12] console: track gl_block state in QemuConsole Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 09/12] spice/gl: render DisplaySurface via opengl Gerd Hoffmann
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 10/12] spice/gl: create dummy primary surface (RfC) Gerd Hoffmann
2016-03-18 13:17 ` Gerd Hoffmann
2016-03-18 13:45 ` Marc-André Lureau
2016-03-21 10:24 ` Gerd Hoffmann
2016-03-21 18:24 ` Marc-André Lureau
2016-05-23 13:52 ` Gerd Hoffmann
2016-05-23 14:03 ` Marc-André Lureau
2016-05-24 13:39 ` Gerd Hoffmann
2016-05-24 19:34 ` Marc-André Lureau [this message]
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 11/12] spice: add & use qemu_spice_gl_monitor_config Gerd Hoffmann
2016-02-19 12:32 ` Marc-André Lureau
2016-04-28 17:21 ` Marc-André Lureau
2016-02-19 9:14 ` [Qemu-devel] [PATCH v2 12/12] [fixup] spice: qemu_spice_gl_monitor_config + surface Gerd Hoffmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1510504332.743167.1464118464547.JavaMail.zimbra@redhat.com \
--to=mlureau@redhat.com \
--cc=kraxel@redhat.com \
--cc=marcandre.lureau@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=spice-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).