From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NJTck-0002GG-72 for qemu-devel@nongnu.org; Sat, 12 Dec 2009 10:11:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NJTcf-0002FP-IA for qemu-devel@nongnu.org; Sat, 12 Dec 2009 10:11:09 -0500 Received: from [199.232.76.173] (port=40124 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NJTcf-0002FM-Ee for qemu-devel@nongnu.org; Sat, 12 Dec 2009 10:11:05 -0500 Received: from mail-yw0-f171.google.com ([209.85.211.171]:37959) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NJTcf-00037G-3t for qemu-devel@nongnu.org; Sat, 12 Dec 2009 10:11:05 -0500 Received: by ywh1 with SMTP id 1so1720581ywh.18 for ; Sat, 12 Dec 2009 07:11:04 -0800 (PST) Message-ID: <4B23B286.9080501@codemonkey.ws> Date: Sat, 12 Dec 2009 09:11:02 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Spice project is now open References: <1393046876.1549021260539141025.JavaMail.root@zmail05.collab.prod.int.phx2.redhat.com> <4B226BFC.1040606@codemonkey.ws> <20091211204828.464707cf@redhat.com> <4B2297A2.8040102@codemonkey.ws> <20091211212135.645864f9@redhat.com> <4B229DCE.7070500@codemonkey.ws> <20091211213911.0dce90dc@redhat.com> <4B22A2D9.6020602@codemonkey.ws> <20091211222101.5e924d20@redhat.com> <4B22AFBF.6080709@codemonkey.ws> <20091211231334.3d8a599f@redhat.com> <4B22BFAC.90100@codemonkey.ws> <4B230F4A.2050506@codemonkey.ws> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: qemu-devel@nongnu.org Paolo Bonzini wrote: > On 12/12/2009 04:34 AM, Anthony Liguori wrote: >>> Firefox uses that extensively, for example to render tiled backgrounds >>> (though probably GTK user interface elements can do so less >>> successfully). >> >> Yes, but this is just a single application. The point is that these >> things are not as widely standardized on X as they are on Windows. > > They are standardized (Xrender) and there are high-level de facto > standard APIs (Cairo or the Qt equivalent). Cairo is pretty new and not widely used by applications yet. But even Xrender is very limited compared to all of the things that GDI supports. If it's just a matter of offloading Xrender, you could implement compositing in VNC fairly easily. > > Regarding compositing, this is done via OpenGL so even though it is > true that nothing goes through X calls, it is also true that > everything does go though a high-level API which can be sent on the > wire (cfr. AIGLX). Right, but 3D is a different topic. Spice doesn't address this today. > Actually, compositing might really be where a protocol like SPICE > shines, since it does not generate nearly as many expose events, and > since you do not have to resend occluded contents on the wire any time > someone raises a window. It's a trade off. If you're sending each windows contents verses sending the visible screen, you're incurring an upfront cost assuming interaction will be improved. This is something that I'd really like to see perf data on because. > I have no idea how SPICE performs now, but there's definitely nothing > in a modern X Windows desktop that it cannot deal with. The only > negative point it might have compared to Windows is IMO the rendering > of text. I think the question I was raising was not whether Spice could handle X, but that given the things you can do with X, is all of Spice really needed. IOW, would we get 99% of the way there with Xv accelerated overlays and Xrender based compositing for VNC? BTW, can someone split out these VDI patches and get them on the list? Maybe at least an ETA of when that will happen. I think it would make this whole discussion a lot more fruitful if we had more context.. Regards, Anthony Liguori