On 10/31/24 13:26, Alex Bennée wrote: > Dmitry Osipenko <dmitry.osipe...@collabora.com> writes: > >> Add support for DRM native contexts to VirtIO-GPU. DRM context is enabled >> using a new virtio-gpu-gl device option "drm=on". > > I feel like using "drm" is confusing in this context because drm exists > for the host and guest. What about "native-context" or even > "context=[opengl|vulkan|wayland|native]"? > The GPU command line is already getting complex so now might be the time > to rationalise it.
Will think on it for v4, thanks. > As an aside can mesa build the intel drivers on non-x86 systems as now I > could potentially pass my native intel context to my emulated aarch64 > guests? In general it should work. Don't know for sure how well Intel Mesa driver works on ARM, suppose it should work okay because Intel now has dGPUs. Intel Mesa driver has x86-specific assumptions, though maybe they are optional for dGPUs. You may try to plug a DG2 card into your AVA machine and report back :) -- Best regards, Dmitry