qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] VirtIO-GPU 3D OpenGL Hardware Acceleration for VMs


From: David Airlie
Subject: Re: [Qemu-devel] VirtIO-GPU 3D OpenGL Hardware Acceleration for VMs
Date: Sun, 14 Feb 2016 21:47:05 -0500 (EST)


----- Original Message -----
> From: "Saket Sinha" <address@hidden>
> To: address@hidden, address@hidden, address@hidden
> Cc: "Dave Airlie" <address@hidden>
> Sent: Monday, 15 February, 2016 12:34:18 PM
> Subject: VirtIO-GPU 3D OpenGL Hardware Acceleration for VMs
> 
> Hi,
> 
> It seems upstream Linux/Gallium3D/Mesa/Qemu/KVM has recently gained
> virtualized support for 3D/OpenGL hardware acceleration in VMs,
> allowing using the GPU of the host in VMs.
> 
> As per my understanding the following components are needed -
> 
> - Linux 4.4 kernel includes the DRM driver for VirtIO-GPU 3D
> acceleration (needed in the VM).
> - Qemu 2.5  includes the VirtIO-GPU 3D mode support.

In qemu 2.5 only gtk3 frontend support 3D and must be enabled with gl=on

> - Gallium3D VirGL driver is included in Mesa git (needed in the VM,
> supports up to OpenGL 3.3 atm).
> - On the host *any* OpenGL driver (for the host GPU obviously), no
> special requirements there.
> 
> In order to do test this, if I can be guided as to what are the right
> applications to test the entire Graphic stack on a QEMU-KVM Virtual
> machine, I shall be grateful.

glxinfo in the guest should print virgl in the renderer string, that is enough
to know the stack is functioning.

if it shows llvmpipe it isn't.

Dave.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]