<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Enhancement: Virtual OpenGL support (Virgl)]]></title><description><![CDATA[<p dir="auto">One of the nice things with QEMU is a feature called Virgl. It uses the VirtIO-GPU driver on Linux guests to proxy OpenGL (and I read soon Vulkan) commands to the hosts GPU. This allows several guests to use HW acceleration using a single GPU on the host. It also allows the host to continue to use the CPU for console output.</p>
<p dir="auto">Virgl isn't as fast as a GPU pass-through, but it is much more flexible and easier to manager. I am thinking that in a XCP-ng environment it could allow migrating guests while retaining HW acceleration.</p>
<p dir="auto">For now, there is no VirtIO-GPU support in Xen, but I saw some talk from 2016 about it on te Xen mailing lists. <a href="https://lists.xenproject.org/archives/html/xen-devel/2016-01/msg03309.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://lists.xenproject.org/archives/html/xen-devel/2016-01/msg03309.html</a></p>
<p dir="auto">I am not thinking it would be an easy task to implement, but it would bring some unique capabilities to XCP-ng and could prove valuable for XCP-ng users, especially if a VirtIO-GPU driver for Windows guests materialise.</p>
<p dir="auto"><a href="https://virgil3d.github.io/" target="_blank" rel="noopener noreferrer nofollow ugc">https://virgil3d.github.io/</a><br />
<a href="https://www.dedoimedo.com/computers/qemu-virgil.html" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.dedoimedo.com/computers/qemu-virgil.html</a><br />
<a href="https://cgit.freedesktop.org/virglrenderer" target="_blank" rel="noopener noreferrer nofollow ugc">https://cgit.freedesktop.org/virglrenderer</a></p>
]]></description><link>https://xcp-ng.org/forum/topic/4507/enhancement-virtual-opengl-support-virgl</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 13:42:54 GMT</lastBuildDate><atom:link href="https://xcp-ng.org/forum/topic/4507.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 19 Apr 2021 07:10:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Enhancement: Virtual OpenGL support (Virgl) on Wed, 05 Jul 2023 18:42:19 GMT]]></title><description><![CDATA[<p dir="auto">It might be happening after all <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--blush" style="height:1.4em;width:auto;vertical-align:middle" title=":blush:" alt="😊" /></p>
<p dir="auto"><a href="https://www.phoronix.com/news/AMD-Xen-GPU-For-Cars" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.phoronix.com/news/AMD-Xen-GPU-For-Cars</a></p>
<p dir="auto"><a href="https://www.phoronix.com/news/AMD-GPU-Xen-Hypervisor-S3" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.phoronix.com/news/AMD-GPU-Xen-Hypervisor-S3</a></p>
<p dir="auto">Having virtio gpu with gl/vulkan/dx3d support would be really interesting.</p>
]]></description><link>https://xcp-ng.org/forum/post/63788</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/63788</guid><dc:creator><![CDATA[Forza]]></dc:creator><pubDate>Wed, 05 Jul 2023 18:42:19 GMT</pubDate></item><item><title><![CDATA[Reply to Enhancement: Virtual OpenGL support (Virgl) on Mon, 10 Oct 2022 17:21:31 GMT]]></title><description><![CDATA[<p dir="auto">virtIO in xen, now that would be great!</p>
]]></description><link>https://xcp-ng.org/forum/post/53757</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/53757</guid><dc:creator><![CDATA[swivvle]]></dc:creator><pubDate>Mon, 10 Oct 2022 17:21:31 GMT</pubDate></item><item><title><![CDATA[Reply to Enhancement: Virtual OpenGL support (Virgl) on Sun, 09 Oct 2022 15:47:55 GMT]]></title><description><![CDATA[<p dir="auto">We are not directly monitoring the virtio stuff in Xen Project, but you should see some progress on the mailing list <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/53740</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/53740</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Sun, 09 Oct 2022 15:47:55 GMT</pubDate></item><item><title><![CDATA[Reply to Enhancement: Virtual OpenGL support (Virgl) on Sun, 09 Oct 2022 15:50:31 GMT]]></title><description><![CDATA[<p dir="auto">Hi, how is it going with the virtio stuff? I think it could really benefit the XCP-ng ecosystem to have VirtIO with the possibilities it may bring. For example <a href="https://www.redhat.com/en/blog/how-vhost-user-came-being-virtio-networking-and-dpdk" target="_blank" rel="noopener noreferrer nofollow ugc">usermode networking with ovs</a>, virtiofs (file sharing with host/dom0) and of course VirGL</p>
<p dir="auto">VirGL is useful because it provides accelerated OpenGL on multiple guests at the same time.Obviously if you run it on multiple guests it affects the performance, but I think it is a trade-off worth having. Most desktop environments on Linux uses acceleraded GL, so it would improve normal desktop performance as well.</p>
<p dir="auto">Here is an example of Linux Mint running Unigine Heaven on VirGL over Spice with sound (remote-viewer) over WiFi. The host is an <a href="https://www.amd.com/en/products/apu/amd-athlon-3000g" target="_blank" rel="noopener noreferrer nofollow ugc">AMD Athlon 3000G</a> 2 core with integrated graphics. The CPU was only $50 when released many years ago - to give some perspective on its performance.<br />
<img src="/forum/assets/uploads/files/1665325723239-virgl-unigine-heaven-amd-ryzen300g-over-spice-resized.jpg" alt="virgl-unigine-heaven-amd-ryzen300g-over-spice.jpg" class="img-markdown  img-fluid" /></p>
]]></description><link>https://xcp-ng.org/forum/post/53738</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/53738</guid><dc:creator><![CDATA[Forza]]></dc:creator><pubDate>Sun, 09 Oct 2022 15:50:31 GMT</pubDate></item><item><title><![CDATA[Reply to Enhancement: Virtual OpenGL support (Virgl) on Mon, 19 Apr 2021 08:41:38 GMT]]></title><description><![CDATA[<p dir="auto">I'm happy to hear you are working on VirtIO since both FreeBSD and Linux guests supports it well these days.</p>
<p dir="auto">Obviously this is a big commitment, but I thought I'd post about it anyway in the hopes that it could one day become possible <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">One more thing that would be needed for virtio is spice support. This would actually be pretty cool as it allows piping USB, Audio and VGA to users connecting to the VM's console <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://xcp-ng.org/forum/post/38683</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38683</guid><dc:creator><![CDATA[Forza]]></dc:creator><pubDate>Mon, 19 Apr 2021 08:41:38 GMT</pubDate></item><item><title><![CDATA[Reply to Enhancement: Virtual OpenGL support (Virgl) on Mon, 19 Apr 2021 08:34:41 GMT]]></title><description><![CDATA[<p dir="auto">First, you need virtIO in XCP-ng <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /> (which isn't the case at all yet). However, we have an intern who started to work on that since last week <img src="https://xcp-ng.org/forum/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=1d3f495298e" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">After getting virtIO (if it's possible with a reasonable effort), then we could start to see for the rest of virtIO perks.</p>
]]></description><link>https://xcp-ng.org/forum/post/38682</link><guid isPermaLink="true">https://xcp-ng.org/forum/post/38682</guid><dc:creator><![CDATA[olivierlambert]]></dc:creator><pubDate>Mon, 19 Apr 2021 08:34:41 GMT</pubDate></item></channel></rss>