[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 00/11] Add support for Blob resources feature

From: Gerd Hoffmann
Subject: Re: [PATCH 00/11] Add support for Blob resources feature
Date: Thu, 15 Apr 2021 09:43:07 +0200


> But I get a feeling that it is inadequate as GTK/GLArea does not manage the 
> wl_buffers
> submitted to the compositor -- EGL does. I suspect we either need to use a 
> new GTK
> mechanism -- that perhaps does not exist yet -- or not use GTK at all for 
> this.
> I do understand that adding a new purely Wayland backend would make it 
> redundant given
> that GTK, SDL, Spice, etc already support Wayland; however, I do not see any 
> good options
> available for eliminating that blit.

Well, one idea is using dbus (discovery/setup) and pipewire (data
streams) to allow other applications access the guest display (also
audio, input, ...).  Simliar to gnome exporting the wayland display
that way for remote access and screen sharing.

pipewire supports using dmabufs, so that should allow to decouple user
interface code from qemu without making compromises on performance,
which is probably quite useful for a number of use cases, like a
zero-copy wayland client, or a client using drm directly.

Right now pipewire support is at "idea" level, there isn't even a
proof-of-concept for that.  So it surely doesn't help short-term, but
IMHO this makes alot of sense medium/long-term.

Marc-André has experimental code for a dbus-based UI for qemu.  It
doesn't use pipewire as data transport though.  At least the first
version posted a while ago @ qemu-devel doesn't.

take care,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]