XDC 2022 | FEX-Emu: Mesa interactions in an emulated environment | Ryan Houdek @XOrgFoundation
XDC 2022 | FEX-Emu: Mesa interactions in an emulated environment | Ryan Houdek  @XOrgFoundation
Uploaded October 2022 | Updated December 2026, 3 hours ago
X.Org Developers Conference 2022

indico.freedesktop.org/event/2/contributions/52

FEX-Emu is an emulator for running x86 and x86-64 applications on AArch64.
Running Mesa inside of this emulated environment is an interesting challenge that cross architure, ABI, and kernel API boundaries.

A short primer on how FEX-Emu works then we will walk through the challenges of running video drivers on architectures that they were not originally designed for. What it means to run inside of an emulated environment from the mesa perspective. Then what we are doing for performance optimizations, debug improvements, and future endeavors.

Challenges include:

- IOCTL/DRM interface isn't the same between architectures
- Virtual address space not being 47-bit
- Jumping across architecture boundaries for thunks
- Running 32-bit applications as a 64-bit process
- Compiling AArch64 drivers for an x86/x86-64 environment

#xdc #fex #fexemu #emulator #emulation
XDC 2022 | FEX-Emu: Mesa interactions in an emulated environment | Ryan HoudekXDC 2026 | Error Handling on Atomic Commit Failure - Ramya Krishna YellaXDC 2022 - Day 3 - October 6th, 2022XDC 2022|Enable hardware acceleration for GL applications without glamor on Xorg modesetting driverXDC 2026 | Better render passes in PanVK for moar FPS - Faith EkstrandXDC 2022 | Im not an AMD expert, but... | Melissa WenXDC 2025 | Display Next Hackfest Update - Harry WentlandXDC 2026 | Is it time for Vulkan Gallium? - Faith EkstrandXDC 2023 | October 17 | Rainbow Frogs: HDR + Color Management in Gamescope/SteamOS | Joshua AshtonXDC 2026 | NVK in 2026 - Mel HenningGStreamer Conference 2024 - Day 1, Room 2 - October 7, 2024XDC 2022 | Implementing the graphics pipeline on compute | Erik Faye-Lund
X.Org Foundation |

XDC 2022 | FEX-Emu: Mesa interactions in an emulated environment | Ryan Houdek

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER