Received: from eggs.gnu.org ([2001:4830:134:3::10]:40291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPtBX-0000Qs-Hq for qemu-devel@nongnu.org; Wed, 20 Jul 2016 11:13:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bPtBR-0005Bl-L4 for qemu-devel@nongnu.org; Wed, 20 Jul 2016 11:13:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bPtBR-0005Bf-Ct for qemu-devel@nongnu.org; Wed, 20 Jul 2016 11:13:13 -0400 Date: Wed, 20 Jul 2016 17:13:10 +0200 From: Christophe Fergeau Message-ID: <20160720151310.GL18238@edamame.cdg.redhat.com> References: <1468590577-30914-1-git-send-email-fziglio@redhat.com> <1468590577-30914-2-git-send-email-fziglio@redhat.com> <1891660984.6191632.1468590970091.JavaMail.zimbra@redhat.com> <1142506826.6113878.1468860100085.JavaMail.zimbra@redhat.com> <337775860.7487281.1468921529479.JavaMail.zimbra@redhat.com> <322792871.6399197.1468933010972.JavaMail.zimbra@redhat.com> <35028416.7541377.1468935682606.JavaMail.zimbra@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="7l042bGvurpep9Wg" Content-Disposition: inline In-Reply-To: <35028416.7541377.1468935682606.JavaMail.zimbra@redhat.com> Subject: Re: [Qemu-devel] [Spice-devel] [PATCH Qemu] Change spice-server protocol for GL texture passing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Frediano Ziglio Cc: =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , spice-devel@lists.freedesktop.org, Qemu-devel , Gerd Hoffmann --7l042bGvurpep9Wg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jul 19, 2016 at 09:41:22AM -0400, Frediano Ziglio wrote: > > I don't think we have strong reasons to support software encoding, video > > encoding is really expensive, and that mmap/copy is not going to be > > marginal, so even less these 2 syscalls. > >=20 >=20 > Using HW encoding is not easy at it seems: > - you have to have client supporting server HW encoders; > - you have to install additional software often closed source, accepting > patents; > - you have to have right permission on the system. > What are you doing if these option are not respected? Do not allow > connections? Showing blank screen? > With a good (local) connection I can easily play using software MJPEG, why > we should avoid such configurations? What we should be aiming/optimizing for is the hardware-accelerated case. We will need a fallback when this is not usable, but the various copies/encoding/... are going to be very expensive by themselves. Are these changes (passing texture rather than dmabuf) making a significant difference with software encoding? Christophe --7l042bGvurpep9Wg Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJXj5UGAAoJEKnYwhQprGyC24MQAJ9UoVqLjJklZEly2tJkce2v nRPPaMMhdLVrwmXk2iSBIIeJzcN9+78rWJO6GLc46OxM3U7bCCDEn7ZIa1eJL3l5 GkgLELJMuvSRgCpBoKvOqdFHc0L1gNcePh4gy3EO7sS3lTlpx8P6v02WbwrA+Le9 AvxSfmRkINm1YH6Me7Xmj1c5a8cVf1/ZD3ltieIXPs+ppMe4vJNkgODOuLmQJqAE Ka+pCMKucOi/iK87nWot021qmU1dLq11rRYPj0KPH5afqpBmZaUOYMZ3hTWYX9yA zpFhe8/2MMigo9mjC83toZFl2iLTAeZws6XV8+sVdYvk/+2o7O0Y+2rWxxgc+4fw dCZCLJ0D9Jd97cKkPdrrnm95YTSU/WCMr8ZrE5UclADkqm/YDvbwkWjkeKd4gRdx yKa095RlGR6DcaZjFs9hhnE5UTLUZ+mrL6LJXtnHrCZefxbR4KcbQYxLOO10Exq3 AMvyLxNgH5qgbUNi7kdW78uHhFI4E2Dl3UlfNydHVgd6wbuImMwrZ+KaeFDz0Zz1 Jmb28obapPZ66hV56yEjAqpDeIEiYMNC52fq6p0f68dqb/jCV9mssIiHIQStEge2 xJTm48DJmZJfq3ISxSa9IN9WPpclBO3h1TFY8C4So2zv8InAUEh+QQ0LHU7KWdUg 6TDwVC3+gqSC2mNWgbhT =3F5S -----END PGP SIGNATURE----- --7l042bGvurpep9Wg--