COSCUP x UbuCon Asia 2026 Logo
  • About
  • Session
  • Transportation
  • Venue
  • Communities
  • Sponsors
    • Participate Guide
    • First Timer
    • Activity
    • Speaker Participation
    • Welcome Party
    • For Overseas Visitors
    • Open Source Communities
    • Sponsorship Partners
    • Invitation Letter Guide
  • Staff
  • 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
https://hackmd.io/HJQag4lIzl
Feedback
https://coscup.org/2026-feedback/?session=N87PMR
System Software IntermediateEnglish

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.

Diamond

Cumulative4 YrsCanonical

Gold

Consecutive2 YrsInformation Management AssociationConsecutive2 YrsCathay Financial HoldingsConsecutive5 YrsE.SUN BankCumulative13 YrsMySQLCumulative6 YrsBerry AINitra

Silver

Cumulative16 YrsGamesofa Inc.Cumulative3 YrsLinux Professional Institute

Bronze

Collaborator2 YrsKKTIXCumulative3 YrsNational Center for High-performance ComputingONLYOFFICECumulative6 YrsQNAP Systems, Inc.Consecutive16 YrsThe Archilife Research FoundationSUN SQUARE Co., LtdPenpeer

Friend

Consecutive3 YrsAndes Technology CorporationCumulative12 YrsAppierCumulative3 YrsGeode Labs & ETHTaipei

Special Thanks

Consecutive2 YrsDepartment of Information Technology, Taipei City GovernmentCollaborator3 YrsSiFive數位發展部Rozeta AIGrafana LabsLive YoungCollaborator5 YrsThree Wheel Nitro CoffeeCollaborator9 YrsHackmdCollaborator4 Yrs天瓏書局Collaborator3 YrsTapPayIndividual-Sponsorship

Co-host

Collaborator9 YrsNTUST - Department of Electronic and Computer Engineering

Co-organizer

Collaborator12 YrsOpen Culture Foundation

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