From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933887Ab0J2NFY (ORCPT ); Fri, 29 Oct 2010 09:05:24 -0400 Received: from mail-qw0-f46.google.com ([209.85.216.46]:45951 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933836Ab0J2NFX (ORCPT ); Fri, 29 Oct 2010 09:05:23 -0400 Message-ID: <4CCAC68F.7050903@codemonkey.ws> Date: Fri, 29 Oct 2010 08:05:19 -0500 From: Anthony Liguori User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.12) Gecko/20100915 Lightning/1.0b1 Thunderbird/3.0.8 MIME-Version: 1.0 To: Rusty Russell CC: virtualization@lists.linux-foundation.org, QEMU Developers , virtualization@lists.osdl.org, Ian Molton , Avi Kivity , linux-kernel@vger.kernel.org Subject: Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport References: <4CAC9CD1.2050601@collabora.co.uk> <4CBD7560.6080207@redhat.com> <4CC8226F.5080807@collabora.co.uk> <201010292148.01167.rusty@rustcorp.com.au> In-Reply-To: <201010292148.01167.rusty@rustcorp.com.au> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/29/2010 06:18 AM, Rusty Russell wrote: >> Fixed - updated patch tested and attached. >> > OK. FWIW, I think this is an awesome idea. Paravirtual OpenGL or the actual proposed implementation? Have you looked at the actual code? If I understand correctly, the implementation is an RPC of opengl commands across virtio that are then rendered on the host to an offscreen buffer. The buffer is then sent back to the guest in rendered form. But it's possible to mess around with other guests because the opengl commands are not scrubbed. There have been other proposals in the past that include a mini JIT that would translate opengl commands into a safe form. Exposing just an opengl RPC transport doesn't seem that useful either. It ought to be part of a VGA card in order for it to be integrated with the rest of the graphics system without a round trip. The alternative proposal is Spice which so far noone has mentioned. Right now, Spice seems to be taking the right approach to guest 3d support. Regards, Anthony Liguori > I understand others are skeptical, > but this seems simple and if it works and you're happy to maintain it I'm > happy to let you do it :) > > Cheers, > Rusty. > > From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=58346 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PBoiU-000633-JN for qemu-devel@nongnu.org; Fri, 29 Oct 2010 09:10:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PBoe3-0001St-7T for qemu-devel@nongnu.org; Fri, 29 Oct 2010 09:06:11 -0400 Received: from mail-qw0-f45.google.com ([209.85.216.45]:57133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PBoe3-0001Se-5J for qemu-devel@nongnu.org; Fri, 29 Oct 2010 09:05:23 -0400 Received: by qwf6 with SMTP id 6so3192162qwf.4 for ; Fri, 29 Oct 2010 06:05:22 -0700 (PDT) Message-ID: <4CCAC68F.7050903@codemonkey.ws> Date: Fri, 29 Oct 2010 08:05:19 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] Implement a virtio GPU transport References: <4CAC9CD1.2050601@collabora.co.uk> <4CBD7560.6080207@redhat.com> <4CC8226F.5080807@collabora.co.uk> <201010292148.01167.rusty@rustcorp.com.au> In-Reply-To: <201010292148.01167.rusty@rustcorp.com.au> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Rusty Russell Cc: Ian Molton , QEMU Developers , linux-kernel@vger.kernel.org, virtualization@lists.osdl.org, Avi Kivity , virtualization@lists.linux-foundation.org On 10/29/2010 06:18 AM, Rusty Russell wrote: >> Fixed - updated patch tested and attached. >> > OK. FWIW, I think this is an awesome idea. Paravirtual OpenGL or the actual proposed implementation? Have you looked at the actual code? If I understand correctly, the implementation is an RPC of opengl commands across virtio that are then rendered on the host to an offscreen buffer. The buffer is then sent back to the guest in rendered form. But it's possible to mess around with other guests because the opengl commands are not scrubbed. There have been other proposals in the past that include a mini JIT that would translate opengl commands into a safe form. Exposing just an opengl RPC transport doesn't seem that useful either. It ought to be part of a VGA card in order for it to be integrated with the rest of the graphics system without a round trip. The alternative proposal is Spice which so far noone has mentioned. Right now, Spice seems to be taking the right approach to guest 3d support. Regards, Anthony Liguori > I understand others are skeptical, > but this seems simple and if it works and you're happy to maintain it I'm > happy to let you do it :) > > Cheers, > Rusty. > >