Again I might be wrong, since I have not looked into it long. But I think that the GPU support in Crostini is only for hardware acceleration. Not for video decoding. I think they use (https://virgil3d.github.io/) which has no video adapter functionality. Source: almost 2 years ago
I'd assume that it doesn't, while passthrough exist on KVM, it still requires the actual drivers to be installed on the emulated OS and mobile handset drivers are usually proprietary blobs. The APIs could be translated to a generic driver that works on the OSs though, something like https://virgil3d.github.io/. - Source: Hacker News / about 2 years ago
I learned recently that there is a project for QEMU: https://virgil3d.github.io/ This does about what you are asking for, has a different approach but is probably not as performant. Source: about 2 years ago
GPU paravirtualization of 3D acceleration is still not really yet available in any virtualization/emulation platform. So for now we've stuck with passthrough. Source: over 2 years ago
A guest in vmd(8) may enter 32-bit mode, but has no graphical display; Civilization IV would need a graphical display with 3D acceleration. VirGL provides such acceleration for Linux guests in qemu, but doesn't exist in vmd. Source: over 2 years ago
The closest thing to this that the Linux ecosystem is likely to receive any time soon is Virgil, and that is not close to ready and probably won't be as performant as direct device partitioning. Source: over 2 years ago
Closest equivalent would probably be Virgl. No Windows guest support yet afaik. Source: over 2 years ago
Or you can even use bare-metal as an API, as I speculated about ten years ago. Run games in a PC-compatible VM and let them bring their own RTOS kernel. We could do that today if we had mature GPU virtualization in the vein of VIRGIL, but we don't. Some games could bring 10MB of Linux kernel, some might have a thin little RTOS, and some might bring a redistributable version of embedded Windows. Don't laugh --... Source: over 2 years ago
The KVM camp had something more open going, (Virgl3D, qCUDA). Source: almost 3 years ago
Use virgl and force-enable hardware acceleration. It's not perfect but it's the best you can get without GPU passthrough. Source: almost 3 years ago
Do you know an article comparing Virgil 3D GPU project to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Virgil 3D GPU project. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.