QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
543 stars 48 forks source link

Enable support for Intel GVT-g #4979

Open ghost opened 5 years ago

ghost commented 5 years ago

The problem you're addressing (if any) GPU acceleration for HVMs, including Windows.

Describe the solution you'd like Enabling Intel GVT-g support (in i915) and assorted components would allow us to run HVMs with accelerated graphics. This is especially relevant to Windows HVMs. It is not clear whether this could be used to accelerate other VMs or AppVMs without compromising the security model. Because of the rendering mechanism (RGB buffer, AFAIK), it might be necessary to optimize that side of things to avoid bottlenecks between the VM and host display.

Where is the value to a user, and who might that user be? Users with HVMs that could benefit from accelerated graphics, at near native performance.

Describe alternatives you've considered There aren't any other alternatives for iGPUs from Intel.

Additional context https://github.com/intel/Igvtg-xen

Relevant documentation you've consulted https://github.com/intel/Igvtg-xen https://github.com/intel/gvt-linux https://wiki.archlinux.org/index.php/Intel_GVT-g

Related, non-duplicate issues None found, will update in comments.

easydozen commented 4 years ago

Take a look here an ongoing work on resolving this issue.

DrWhax commented 4 years ago

Wow, really cool work! Would love to have this in Qubes!

Now, i'm not too sure about gvt-g internals and how it actually affects Xen. But it seems Intel dropped XenGT support as indicated here: https://lkml.org/lkml/2020/9/2/399

KVM support will continue to be supported for now.

But it seems if there's no Xen support.. it might not be worthwhile to get GVT-G further packaged into Qubes?