From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: VirtIO-GPU 3D OpenGL Hardware Acceleration for VMs and Xen Date: Mon, 11 Jan 2016 11:08:01 -0500 Message-ID: <20160111160801.GF10641@char.us.oracle.com> References: <20151116205241.GC5306@reaktio.net> <20160111094738.GS5306@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20160111094738.GS5306@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Cc: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, Jan 11, 2016 at 11:47:39AM +0200, Pasi K=E4rkk=E4inen wrote: > Hello, > = > And now all the components listed below are released and available easily. > = > Dom0: > - Qemu 2.5 has virtio-gpu 3D/OpenGL acceleration support for VMs. > = > DomU: > - Linux 4.4 kernel has the virtio-gpu drm driver. > - Mesa 11.1 has the virtio-gpu 3D driver (virgl galliumd3 / OpenGL). > = > = > Did anyone try this stuff with Xen already? :) I was trying to compile QEMU with the options to enable this - but got derailed. The big thing was that I needed to install virglrendered and then pass to QEMU --enable-virglrendered --enable-opengl --enable-spice --enable-gtk Which meant getting virglrendered which was so new I needed to update the m= achine to Fedora 23. After that it built (I think), but then I ended up having tro= uble with qemu-traditional with VNC. There were some patches posted for this, an= d then .. X-Mas week came :-) I will try dust this off next week. > = > = > -- Pasi > = > = > On Mon, Nov 16, 2015 at 10:52:41PM +0200, Pasi K=E4rkk=E4inen wrote: > > Hello, > > = > > It seems upstream Linux/Gallium3D/Mesa/Qemu/KVM has recently gained vir= tualized support for 3D/OpenGL hardware acceleration in VMs, allowing using= the GPU of the host in VMs. > > = > > Components: > > - Linux 4.4 kernel includes the DRM driver for VirtIO-GPU 3D accelerat= ion (needed in the VM). > > - Qemu 2.5 (rc0) includes the VirtIO-GPU 3D mode support (needed on th= e host/dom0). > > - Gallium3D VirGL driver is included in Mesa git (needed in the VM, su= pports up to OpenGL 3.3 atm). > > - On the host/dom0 one needs *any* OpenGL driver (for the host GPU obv= iously), no special requirements there, if I understood correctly. > > = > > = > > Has someone looked into this already? How much work would it be to get = VirtIO-GPU working in Xen HVM guests? = > > = > > = > > Thanks, > > = > > -- Pasi > > = > = > = > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel