Skip to content
topvrnews

Software

Igalia reports over 5x faster atomic fault handling, with Steam Frame compatibility still unresolved

Igalia's kernel experiment speeds up one fault-handling path for translated x86 games on Arm. Split locks remain an open problem for Steam Frame compatibility.

topvrnews Editorial2 min read
Steam Frame headset between its two controllers on a beige background
Image: Valve

Igalia reports that handling unaligned atomic faults inside the Linux kernel is over five times faster than FEX's current userspace handling. For Steam Frame buyers, the work concerns a reason translated Windows x86 games can crash on Arm64 hardware. The reported gain measures fault handling rather than game frame rates.

According to MIXED's account of the presentation, Igalia engineer André Almeida presented the experiment at the Linux Plumbers Conference on October 5. Steam Frame was the talk's motivation.

Why an instruction can stop a game

An atomic operation keeps another thread from interfering with a memory operation. x86 permits these operations at unaligned memory addresses. Arm64 rejects them with a SIGBUS signal, which can terminate the process unless software handles it.

FEX catches that signal in userspace. Igalia's experimental kernel approach reduces the cost of that handling. Translation also increases the need for synchronization instructions because FEX must reproduce x86's stronger memory ordering on Arm64.

Split locks remain an open problem

The harder case is a split lock, an atomic operation that crosses two cache lines. Arm64 has no instruction for that operation. Dividing it into two smaller operations lets another thread intervene, which can produce an inconsistent result.

MIXED reports that Almeida's closing slides ask whether to pause other CPUs or use a shared userspace lock, and whether mainline Linux should support this use case. The presentation leaves that decision open and names no affected games.

Sources

Every claim above traces to one of these. Dates are when we last read the page.

  1. 01