A powerful gaming PC can still stutter like hell. Now imagine your processor having to translate the game’s instructions while you’re playing it.
That’s one of the challenges Valve faces in its fascinating push to bring Windows games to Arm chips. And the company has a clever plan to tackle it before you even hit Play.
“FEX code caching is vital for frame time consistency,” Valve software engineer Pierre-Loup Griffais told PCWorld in an interview. “In the future, it will also be integrated with Steam’s Pre-Caching feature, so that cached code is available even prior to the first local run of an application.”
That’s a nifty trick when you’re trying to make thousands of Windows games run on processors they were never designed for. And it dovetails with a broader industry push to stamp out one of PC gaming’s most infuriating problems.
Translating games without the hiccups
FEX is a crucial piece of Valve’s ambitious effort to break Steam free from traditional gaming PCs. Most Windows games are built for x86 processors from AMD and Intel. Arm chips speak a different instruction language, so FEX translates x86 code into Arm instructions as games run.
Fortunately, FEX doesn’t have to translate everything.
“When provided with a proper ARM execution environment, such as when integrated with Proton ARM, FEX only translates the CPU code of the application,” Griffais explained.

Steam’s Pierre-Loup Griffais with PCWorld’s Adam Patrick Murray
Foundry
Proton, Valve’s Windows compatibility layer, can switch to native Arm execution at the Win32 API boundary. The operating system and graphics drivers run natively, too, leaving FEX to concentrate on the game’s own CPU instructions.
Griffais says the translation overhead is typically modest, especially in GPU-bound games. But a game running at 60 frames per second has roughly 16.7 milliseconds to finish each frame. If FEX runs into unfamiliar code and needs to translate it in the middle of gameplay, that extra work can chew through the frame’s time budget and cause a hitch.
FEX’s caching system helps sidestep that problem. Translated code can be saved and reused instead of being compiled again.
In September, the FEX developers introduced a persistent on-disk JIT cache that preserves translated code between sessions. Valve subsequently enabled the feature in Proton Experimental for Arm, with Griffais pointing to potential improvements in 1% low frame rates, particularly on repeat runs.
Those lows help expose the slow frames that average FPS figures can hide. They won’t tell you everything about stuttering, but they’re a lot more revealing than a big, shiny average frame rate number.
Steam’s planned Pre-Caching integration takes the idea further. Instead of waiting for a game to run locally and build up its cache, Valve wants translated code ready before the first launch.
There’s no announced timetable or published performance data for that integration yet. But avoiding translation-related hitches without requiring a faster processor? That’s something PC gamers can get behind.
The PC industry has a stutter problem
Valve isn’t the only company trying to move expensive compilation work out of the middle of gameplay.
In October, I covered how Microsoft and Nvidia are attacking shader stutter through Advanced Shader Delivery. Supported games can receive shaders compiled for their particular hardware configuration rather than compiling everything locally. Intel has been working on a Graphics Shader Distribution Service to reduce compilation-related delays, too.
FEX tackles a different problem. Its cache stores translated CPU code, while those other systems deal with GPU shaders. The two aren’t interchangeable, and none of them will magically fix every source of stuttering. Games can still hitch because of asset streaming, CPU bottlenecks, or crappy optimization.
But the thinking behind them is similar: Get the expensive work out of the way before it interrupts your game.

Valve’s work could help games run more smoothly on games with Arm-based processors, including Snapdragon Elite chips and Nvidia’s new RTX Spark platform (pictured).
Adam Patrick Murray / Foundry
Steam is well positioned to help. Valve already operates the platform delivering games to players, and it’s spent years building shader pre-caching infrastructure for SteamOS. Folding translated CPU code into that system could help Arm gaming feel a lot less like an elaborate compatibility experiment.
Promising, but not magic
FEX’s persistent caching technology is still evolving. Its initial September release had some rough edges, including caches that could grow unchecked and stale entries that weren’t always invalidated when files changed.
The October FEX update tackled several of those issues, adding a configurable cache limit that defaults to 1GB, cleanup of outdated caches after FEX updates, and an optional memory buffer for frequently accessed code.

Valve’s work on FEX and Steam can also help gaming performance on PCs with Qualcomm’s Snapdragon-branded Arm chips.
Mark Hachman / Foundry
There are bigger limitations, too. Griffais cautioned that Arm GPUs can differ substantially from the desktop GPUs PC games target, potentially introducing performance costs with newer graphics features. CPU translation can also affect battery life and power consumption, even when its frame-rate impact is modest.
And we don’t yet have comprehensive independent testing showing how much FEX’s new cache improves gameplay across different Arm chips. Valve’s planned Steam Pre-Caching integration hasn’t been publicly demonstrated, either.
Nevertheless, Valve spent nearly a decade helping FEX mature to the point where it can run modern PC games with relatively little translation overhead. Now it’s trying to make that overhead less noticeable during play.
The goal isn’t to make PC gamers appreciate the engineering behind x86-to-Arm translation. It’s to make sure they never have to think about it.
Hot damn is Valve up to some fascinating stuff these days!
NOW READ: Valve escaped Windows. Now Steam is breaking free from the PC itself
This articles is written by : Nermeen Nabil Khear Abdelmalak
All rights reserved to : USAGOLDMIES . www.usagoldmines.com
You can Enjoy surfing our website categories and read more content in many fields you may like .
Why USAGoldMines ?
USAGoldMines is a comprehensive website offering the latest in financial, crypto, and technical news. With specialized sections for each category, it provides readers with up-to-date market insights, investment trends, and technological advancements, making it a valuable resource for investors and enthusiasts in the fast-paced financial world.
