<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div><br></div><div dir="ltr">Thank you Victor, I had the impression the OpenGL implementation was complete for Windows OS.<div>I guess then the question in general, will the spice codec use opengl acceleration, if available, to reduce CPU overhead when rendering 2D only full screen refreshes?</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Jun 15, 2018 at 1:48 AM Victor Toso <<a href="mailto:victortoso@redhat.com" target="_blank" data-mce-href="mailto:victortoso@redhat.com">victortoso@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">Hi,<br><br> On Thu, Jun 14, 2018 at 05:15:01PM -0700, Benjamin Kingston wrote:<br> > Hello,<br> ><br> > Is it possible to increase guest density by offloading the<br> > pixel codec in the guests to a common onboard GPU?<br> ><br> > In other words, does the Spice Agent, particularly in Windows<br> > 10, leverage OpenGL or other Virgil features to reduce CPU load<br> > when full screen refreshing is taking place?<br> ><br> > Thanks,</blockquote></div></blockquote><div>I think there is a bit of confusion. Virgl support is about using a virtual card<br></div><div>(VirtIO-vga) supporting 3D making possible to use host capabilities for 3D rendering.<br></div><div>Does not only help for "full screen refreshing".<br></div><div>The spice agent, either standard one (vdagent) and streaming one are not involved in this<br></div><div>acceleration. The vdagent is not involved at all during rendering and is there to manage<br></div><div>clipboard, copy&paste, mouse, screen resize and other stuff. The streaming agent is<br></div><div>intended to be used in pass-through/vGPU cases where the physical GPU (pass-through)<br></div><div>or part of it (vGPU) is assigned to the guest (the VM).<br></div><div><br></div><div>Is not clear what you mean with "pixel encoding".<br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><br><br> Virgl on Windows is not a thing yet, AFAIK.<br><br> * 'Future scope' at<br> - <a href="https://virgil3d.github.io/" rel="noreferrer" target="_blank" data-mce-href="https://virgil3d.github.io/">https://virgil3d.github.io/</a><br><br> * GSOC 2017<br> - <a href="https://gist.github.com/Keenuts/199184f9a6d7a68d9a62cf0011147c0b" rel="noreferrer" target="_blank" data-mce-href="https://gist.github.com/Keenuts/199184f9a6d7a68d9a62cf0011147c0b">https://gist.github.com/Keenuts/199184f9a6d7a68d9a62cf0011147c0b</a><br><br> Depending on your configs, you could try Looking Glass for now.<br><br><a href="https://github.com/gnif/LookingGlass" rel="noreferrer" target="_blank" data-mce-href="https://github.com/gnif/LookingGlass"><a>https://github.com/gnif/LookingGlass</a></a><br data-mce-bogus="1"></blockquote></div></blockquote><div>This project is more about pass-through and possibly vGPU. Similar to our streaming<br></div><div>agent, for the moment limited to the local case (host and client being same machine).<br></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex" data-mce-style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;"><br><br> Cheers,<br> toso</blockquote></div></blockquote><div>Frediano</div><div><br></div></div></body></html>