JFYI, recently a project called vgpu_unlock has appeared, it allows vGPU creating on chip-compatible NVIDIA consumer-grade (i.e. substantially more cheap) video cards.<div><br /></div><div>https://github.com/DualCoder/vgpu_unlock<br /><br /></div>18:21, 10 апреля 2021 г., Frediano Ziglio <freddy77@gmail.com>:<br /><blockquote class="210e7a848e8fcb45wmi-quote"><p>Il giorno mer 7 apr 2021 alle ore 20:49 Bob Britton<br /><<a href="mailto:bob@robertbritton.com">bob@robertbritton.com</a>> ha scritto:<br /></p><blockquote class="210e7a848e8fcb45wmi-quote"><br /> Hi Spice team,<br /><br />   Thank you for all your hard work creating Spice.<br /><br />   I'm running a company where I provide virtual desktops to my<br /> customers. Most of my customers want their virtual desktops to have<br /> hardware GPU acceleration for smooth video playback, games, and such. So<br /> the experience would be much more like being on a native machine.<br /><br />   I've looked at many different options out there, and there really<br /> isn't one that fits the bill.<br /><br /> I have some questions for you all on how I can put my resources into<br /> helping spice add hardware encode/decode to it's streaming.<br /><br />  From what I've read, it seems that it's possible to add a plugin such<br /> as virgil to allow for 3d acceleration. While that project is aiming at<br /> creating a full virtual 3d graphics device, is it possible or maybe even<br /> easier to create a plugin that does hardware encode/decode on the host<br /> gpu(s)?<br /><br /> And that leads me to my next question, would that be the best place to<br /> add hardware acceleration? Or should the focus be elsewhere?<br /><br /> I've played with Parsec quite a bit, and it's streaming abilities are<br /> amazing, allowing for 3d games to be played remotely with very little<br /> latency.<br /><br /> Obviously nothing here is simple, but I'd like to get my developer<br /> resources aimed in the right place, and any thoughts/feedback from your<br /> team would be greatly appreciated.<br /><br /> Thanks in advance, and I look forward to having my team help with the<br /> project.<br /><br /> Best,<br /><br /> - Bob<br /><br /></blockquote><p><br />Hi Bob,<br />   that would be really great.<br /><br />I agree, nothing here is simple.<br /><br />One question I would ask first is about the kind of desktop/guests you need.<br />The reason is that mainly Virgil requires guest drivers to support 3D.<br />If you are planning to support Windows<br />one thing to develop is the GPU driver for Windows. At the moment<br />there isn't one and it's not easy to write<br />one so maybe you won't want to go that way.<br /><br />Second question is about scalability and performance you need.<br />If you need high end performance and many VM maybe you want to point<br />to Nvidia H/W support or<br />Intel GVT-g support. First offers high performance (and cost) and<br />relative good scalability (like 4/8 VMs<br />on a single host), second less scalability and performance but cheaper<br />(basically most Intel GPU will<br />work). All these solutions are better remoted from the client and<br />there are probably a lot of already<br />made software doing that other than SPICE. If you want to do this with<br />SPICE the route is extending<br />the streaming agent on SPICE.<br /><br />Said that you don't want Windows (or you are willing to write Virgil<br />driver for Windows... that would<br />be really appreciated!) but just Linux desktop and you prefer<br />scalability/cost at the expense of performance<br />I would say SPICE is a good solution. Qemu uses virgl-renderer for 3D<br />from the guests and passes to<br />SPICE the "frames" ready (almost!) to be processed and streamed. Here<br />would come the H/W encode/decode.<br /><br />Regards,<br />  Frediano<br />_______________________________________________<br />Spice-devel mailing list<br /><a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br /><a href="https://lists.freedesktop.org/mailman/listinfo/spice-devel">https://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br /></p></blockquote><br /><br />-- <br />Отправлено из мобильного приложения Яндекс.Почты