Skip to contentSkip to conversation

vulkan support in qemu with virgil

DISCUSSION Tomeu Vizoso 3 participants 3 messages Jul 21, 2021

lore
Share & tools
lore
#0 lore raw

Hi all,

At Collabora we have started looking at Vulkan support in QEMU with Virgil.

We have seen the work that Vivek has submitted to support the new virtio-gpu BLOB API (thanks!) and have identified a few holes that are still needed for Vulkan support.

We would like to know if anybody else is working on Vulkan support or on common tasks such as host-side blobs, CONTEXT_INIT, CROSS_DEVICE, HOST_VISIBLE, venus capsets, a new DisplayChangeListenerOps implementation, etc.

Thanks,

Tomeu

#1 lore raw
Quoted 4 lines · Tomeu Vizoso

Hi all,

At Collabora we have started looking at Vulkan support in QEMU with Virgil.

Quoted 8 lines

We have seen the work that Vivek has submitted to support the new virtio-gpu BLOB API (thanks!) and have identified a few holes that are still needed for Vulkan support.

We would like to know if anybody else is working on Vulkan support or on common tasks such as host-side blobs, CONTEXT_INIT, CROSS_DEVICE, HOST_VISIBLE, venus capsets, a new DisplayChangeListenerOps implementation, etc.

I'm not aware of anyone working on this in qemu specifically. The crosvm guys are working on it, not sure what the status is.

take care,
Gerd

#2 lore raw

Hi Tomeu,

Quoted 5 lines · Tomeu Vizoso
Quoted 4 lines

Hi all,

At Collabora we have started looking at Vulkan support in QEMU with Virgil.

Quoted 7 lines
Quoted 7 lines

We have seen the work that Vivek has submitted to support the new virtio-gpu BLOB API (thanks!) and have identified a few holes that are still needed for Vulkan support.

We would like to know if anybody else is working on Vulkan support or on common tasks such as host-side blobs, CONTEXT_INIT, CROSS_DEVICE, HOST_VISIBLE, venus capsets,

[Kasireddy, Vivek] Nope; I am not aware of anyone working on these features for Qemu. Our focus is mainly on Passthrough (and Headless) GPUs for which Virgl is not needed. However, I am assuming you are already collaborating with CrossVM folks on the implementation of these features in Virtio-gpu Linux Guest driver?

Quoted 1 line
Quoted 1 line

a new DisplayChangeListenerOps implementation,

[Kasireddy, Vivek] Could you please elaborate on this? Which backend are you planning to add? I am working on adding a plain and simple Wayland UI backend for Qemu to reduce the GPU Blits:
https://lists.nongnu.org/archive/html/qemu-devel/2021-06/msg06482.html

The above version does not have keyboard and mouse support added but I do have a version which does and it is more or less working. However, the only problem I have run into with this backend is:
https://gitlab.freedesktop.org/wayland/weston/-/issues/514

Not sure if you'd run into a similar issue with your use-case or interested in the Wayland UI backend but I am currently working on trying to come up with a plan to decouple OUT_FENCE signalling from atomic pageflip completion event as suggested by Weston upstream (Pekka) to fix the above issue.

Thanks,
Vivek

Quoted 6 lines

I'm not aware of anyone working on this in qemu specifically. The crosvm guys are working on it, not sure what the status is.

take care,
Gerd