virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
From: Ian Molton <ian.molton@collabora.co.uk>
To: Anthony Liguori <anthony@codemonkey.ws>
Cc: Avi Kivity <avi@redhat.com>,
	virtualization@lists.osdl.org, linux-kernel@vger.kernel.org,
	QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport
Date: Thu, 28 Oct 2010 22:41:10 +0100	[thread overview]
Message-ID: <4CC9EDF6.4050303@collabora.co.uk> (raw)
In-Reply-To: <4CC9D9B9.10601@codemonkey.ws>

On 28/10/10 21:14, Anthony Liguori wrote:

>> If this code was invasive to qemus core, I'd say 'no way' but its just
>> not. and as the GL device is versioned, we can keep using it even if
>> the passthrough is replaced by a virtual GPU.
>
> The virtio-gl implementation is basically duplicating virtio-serial. It
> looks like ti creates a totally separate window for the GL session. In
> the current form, is there really any advantage to having the code in
> QEMU? It could just as easily live outside of QEMU.

you could say much the same about any driver in qemu... you could 
serialise up the registers and ship the data off to be processed on 
another PC if you wanted to...

The code does not, however, create a seperate window for the GL session. 
the GL scene is rendered offscreen, and then piped back to the guest for 
display, so that it is fully composited into the guests graphical 
environment. From a user perspective, its as if the guest had hardware 
3D. Performance is very reasonable, around 40fps in ioquake3 on modest 
(host) hardware.

In theory, the code *could* use a serial transport and render in a 
seperate process, but then that would make it much harder to evolve it 
into a GPU-like system in future.

-Ian

  reply	other threads:[~2010-10-28 21:41 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4CAC9CD1.2050601@collabora.co.uk>
     [not found] ` <4CB1D79A.6070805@redhat.com>
     [not found]   ` <4CBD739A.2010500@collabora.co.uk>
     [not found]     ` <4CBD7560.6080207@redhat.com>
2010-10-27 13:00       ` [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport Ian Molton
2010-10-28  9:27         ` Avi Kivity
2010-10-28 11:54           ` Ian Molton
2010-10-28 14:24             ` Avi Kivity
2010-10-28 14:43               ` Anthony Liguori
2010-10-28 19:50                 ` Ian Molton
2010-10-28 20:14                   ` Anthony Liguori
2010-10-28 21:41                     ` Ian Molton [this message]
2010-10-28 19:52               ` Ian Molton
2010-11-01 10:42                 ` Avi Kivity
2010-11-01 13:21                   ` Anthony Liguori
2010-11-01 15:49                     ` Ian Molton
2010-11-01 15:57                       ` Anthony Liguori
2010-11-03 17:49                         ` Ian Molton
2010-11-01 15:50                   ` Ian Molton
2010-10-29 11:18         ` Rusty Russell
2010-10-29 11:49           ` Ed Tomlinson
2010-10-29 13:05           ` Anthony Liguori
2010-11-01 11:53             ` Alon Levy
2010-11-01 13:28               ` Anthony Liguori
2010-11-03 18:03                 ` Ian Molton
2010-11-03 18:17                   ` Anthony Liguori
2010-11-05 18:05                     ` Ian Molton
2010-11-10 17:22                       ` Ian Molton
2010-11-10 17:47                         ` Anthony Liguori
2010-11-12 12:14                           ` Ian Molton
2010-11-12 13:21                             ` Anthony Liguori
2010-11-04  9:13                   ` Alon Levy
2010-11-05 17:57                     ` Ian Molton
2010-11-03 17:50           ` Ian Molton

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=4CC9EDF6.4050303@collabora.co.uk \
    --to=ian.molton@collabora.co.uk \
    --cc=anthony@codemonkey.ws \
    --cc=avi@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    --cc=virtualization@lists.osdl.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).