COSCUP x UbuCon Asia 2026 Logo
  • About
  • Session
  • Transportation
  • Sponsors
    • Participate Guide
    • First Timer
    • Activity
    • Speaker Participation
    • Welcome Party
    • For Overseas Visitors
    • Open Source Communities
    • Sponsorship Partners
    • Invitation Letter Guide
  • Fringe Events / BoF
  • Blog
  • CoC
中文

How a VM Draws Pixels: Mesa, Gallium, and virtio-gpu 3D

Time
2026-08-08 12:50 ~ 13:20
Speaker
Yung-Tse Cheng (Mes)
Room
TR213
Co-write
System Software Intermediate

Abstract

Drawing a spinning cube on a physical machine sounds ordinary: an application calls a graphics API, the GPU renders the scene, and the result appears on the screen. But when the same program runs inside a virtual machine, the question becomes more interesting. The guest behaves as if it owns a GPU, while the real rendering resources usually live on the host. So where is the cube actually drawn?

This talk follows one 3D rendering path inside a Linux guest, starting from Mesa. Mesa receives rendering requests from userspace applications, organizes graphics state and resources through Gallium, and passes the work into VirGL, a driver path designed for virtual GPUs. From there, the work crosses the boundary between Linux DRM and virtio-gpu 3D, becoming contexts, resources, command streams, and synchronization events that a virtual GPU can understand. Finally, the host renderer receives those commands and turns them into pixels.

Using a small but complete rendering demo as the thread, we will connect the journey from guest userspace, through the guest kernel and virtual GPU device, to the host renderer. The audience will see that 3D graphics in a VM is not just framebuffer copying. It is a collaboration across Mesa, DRM, virtio-gpu 3D, and the host GPU. Once these boundaries are opened up, “drawing pixels” inside a virtual machine becomes much more interesting than the image that finally appears on screen.

Speaker

Yung-Tse Cheng (Mes)

Yung-Tse Cheng (Mes)

Yung-Tse Cheng is an undergraduate student at National Taiwan Normal University (NTNU), Taiwan. His interests include system software, programming language theory, game engine development, and GPU/graphics systems.

Gold

Consecutive2 YrsInformation Management AssociationConsecutive2 YrsCathay Financial HoldingsConsecutive5 YrsE.SUN BankCumulative6 YrsBerry AI

Silver

Cumulative16 YrsGamesofa Inc.

Bronze

KKTIXONLYOFFICEQNAP Systems, Inc.SUN SQUARE Co., Ltd

Friend

Consecutive3 YrsAndes Technology Corporation

Special Thanks

Department of Information Technology, Taipei City GovernmentSiFiveRozeta AI

COSCUP x UbuCon Asia 2026

Conference for Open Source Coders, Users, and Promoters | Asia's largest open source community conference.

Contact

  • Attendee Services
  • Sponsorship
  • Call for Proposals
  • Marketing

Resources

  • COSCUP Blog
  • Newsletter Subscription
  • Event Photos

Sitemap

  • Home
  • About
  • Transportation
20062007200820092010201120122013201420152016201720182019202020212022202320242025