Skip to content

[Feature] Wayland WSI Add #207

@hansm629

Description

@hansm629

@leegao
Hello! sir,
I hope you are doing well.

Recently, during the Android MC session at Linux Plumbers Conference 2025, a Google engineer mentioned something very interesting while presenting about AVF.

As of Android 16 QPR3 Beta 1, AVF now supports GPU-accelerated virtualization, and it is possible to run GUI applications with Weston.

Image Image Image

At the moment, it works roughly as follows:
Linux VM appWeston + Kiosk Shell (inside the guest VM)gfxstream / virtio-gpu / AHBAndroid SurfaceView / SurfaceControldisplay output

According to the presentation, this approach still has some performance issues, and they are continuing to improve it.

However, what really caught my attention was that Wayland compositor integration on Android was mentioned as a mid- to long-term goal.

Image

I see this as a very positive direction. If this is eventually realized, Termux may no longer need Termux-X11 for X server-based graphical output, although I assume Xwayland would still be needed alongside it for compatibility.

It also seems possible that Wine + Box64 (with FEX)-based emulators such as Winlator, GameHub, and GameNative could use Wayland output integrated with Android, instead of relying on their built-in legacy X servers.

If Android eventually provides an integrated Wayland compositor, I think it could also improve the synchronization and performance issues that have often been reported in emulator gaming between X servers and Android surfaces.

Of course, this is still a discussion about the future.
Even so, the fact that AVF can already provide Wayland-based graphical output, even in a limited form through Weston + Kiosk Shell, makes me think it is only a matter of time. Legacy emulators would still need extra work to move away from their built-in, outdated X servers and make use of a Wayland environment integrated into Android, but the possibility now feels much more realistic.

For that reason, I think it may not be a bad idea for bionic-vulkan-wrapper to prepare Wayland WSI support (VK_KHR_wayland_surface) in advance.

Thank you!

[Mid-/Long-term features]

  • Wayland WSI (VK_KHR_wayland_surface) Support
  • BCn texture to ASTC texture conversion Support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions