Linux Kernel Patch Significantly Boosts Steam Deck Gaming Performance

Shigeru Miyamoto

Legendary game designer at Nintendo, creator of Mario, Zelda, and Donkey Kong.

A recent update to the Linux operating system, driven by new driver enhancements, is set to deliver a substantial performance upgrade for Valve's portable gaming device, the Steam Deck. Running on a Linux-based SteamOS, this crucial update could see a notable improvement in the console's 1% low frame rates, potentially by as much as 31%.

Details of the Performance Enhancement

The core of this performance uplift stems from an innovative 'epp_boost' function integrated into the AMD P-State driver. This advancement is credited to David Vernet, a Linux kernel developer at Meta. The functionality introduces a per-core Energy Performance Preference (EPP) for AMD processors. While still awaiting official review from AMD's Linux kernel engineers, Vernet has clarified through the Linux kernel mailing list that this feature was conceived with specific optimizations for gaming scenarios in mind, as reported by Phoronix.

Vernet detailed the technical rationale behind these patches, explaining how they tackle current inefficiencies: “In active (EPP) mode, the platform independently determines the operational frequency between minimum and maximum performance, guided by the EPP hint. The kernel typically only modifies the CPPC request when policy or limit alterations occur. Workloads characterized by a single, frequently active thread that undergoes brief sleep cycles—a common pattern in gaming—can exhibit suboptimal performance under this existing framework.”

He further elaborated on the issue: “Each brief pause allows the hardware's performance signal to diminish, leading to post-wakeup processing bursts commencing at a reduced operational state. This phenomenon escalates 'tail latency,' even when the CPU is fully engaged with available tasks. For instance, a game's primary or rendering thread often momentarily stalls awaiting a futex or GPU fence after each frame. This results in observable frequency dips, directly contributing to stuttering frames and elevated frame-time percentiles.”

The most straightforward remedy, globally enforcing an “EPP=performance” setting, was dismissed due to its significant power inefficiency, particularly for handheld devices like the Steam Deck. Consequently, these new patches introduce an “opt-in, per-core EPP boost.” Vernet has provided an extensive explanation of the technical underpinnings, testing methodologies, and the precise operation of this fix, available for those interested in a deeper dive into the Linux kernel message archives.

While I haven't personally had the opportunity to test this patch, Phoronix's evaluations using the Civilization VI game benchmark revealed promising results. Their findings indicated a 31.8% increase in 1%-low frames per second and a 4.1% improvement in frame time. Such gains are substantial for a handheld device that has been on the market for several years, and it's anticipated that newer AMD Ryzen-based systems could also benefit from these optimizations.

It's worth noting that activating the 'epp_boost' feature necessitates some manual configuration within Linux after applying the patch. Users will need to set 'amd_pstate.epp_boost=1' to leverage its benefits. Verification of the feature's active status can then be done via '/sys/module/amd_pstate/parameters/epp_boost'. Even though the general sentiment around handheld gaming devices might sometimes be dismissive, any performance enhancement for a well-loved device like the Steam Deck is a welcome development.

you may like

youmaylikeicon
Jumanji: Open World Brings the Game to Reality

Jumanji: Open World Brings the Game to Reality

By Reiner Knizia
Final Fantasy 14 and 7 Crossover Raid: Developers Discuss Unique Challenges

Final Fantasy 14 and 7 Crossover Raid: Developers Discuss Unique Challenges

By Roberta Williams
Wizards of the Coast President John Hight Announces Departure

Wizards of the Coast President John Hight Announces Departure

By Mark Rosewater
Ball x Pit Gears Up for Final Free Content Drop

Ball x Pit Gears Up for Final Free Content Drop

By Kim Swift
Silent Hill: Townfall - A Deep Dive into its Multiple Endings and Player Choices

Silent Hill: Townfall - A Deep Dive into its Multiple Endings and Player Choices

By Amy Hennig
Pokémon Pokopia Expansion Pass: Bubbly Basin Release Date Revealed

Pokémon Pokopia Expansion Pass: Bubbly Basin Release Date Revealed

By Shigeru Miyamoto
Koei Tecmo Reaffirms Strong Commitment to Nintendo Switch 2 Platform

Koei Tecmo Reaffirms Strong Commitment to Nintendo Switch 2 Platform

By Jane McGonigal
Baldur's Gate 3 Mod Transforms Gameplay with True Third-Person Camera

Baldur's Gate 3 Mod Transforms Gameplay with True Third-Person Camera

By Sid Meier
Comprehensive Guide to Acquiring and Upgrading Phantom Relic Weapons in FFXIV Dawntrail

Comprehensive Guide to Acquiring and Upgrading Phantom Relic Weapons in FFXIV Dawntrail

By Roberta Williams
Moonlight Peaks: A New Era for Cozy Gaming

Moonlight Peaks: A New Era for Cozy Gaming

By Richard Garfield
Unveiling Lunarium: A Deep Dive into a Sekiro-Inspired Action RPG on Steam

Unveiling Lunarium: A Deep Dive into a Sekiro-Inspired Action RPG on Steam

By Richard Garfield
Warframe Thrives as Destiny 2's Era Concludes, Digital Extremes Reports Significant Growth

Warframe Thrives as Destiny 2's Era Concludes, Digital Extremes Reports Significant Growth

By Reiner Knizia
Double Fine Announces Layoffs Amidst Xbox Divestment and Return to Independence

Double Fine Announces Layoffs Amidst Xbox Divestment and Return to Independence

By Shigeru Miyamoto
Marvel's Midnight Suns: A Supernatural Marvel Universe on Display

Marvel's Midnight Suns: A Supernatural Marvel Universe on Display

By Shigeru Miyamoto
Sega Announces Crazy Taxi: World Tour Multiplayer Network Test and West Coast Map Details

Sega Announces Crazy Taxi: World Tour Multiplayer Network Test and West Coast Map Details

By Shigeru Miyamoto