FUTEX2 Revised Again For Helping Steam Play But Will Miss Out On Linux 5.15

Written by Michael Larabel in Linux Gaming on 5 September 2021 at 06:02 AM EDT. 9 Comments
One of the kernel patch series that has seen ongoing work for more than one year now is around introducing the FUTEX2 system call to better match the behavior of Microsoft Windows' NT kernel in order to allow for more efficient Proton/Wine usage that powers Steam Play for enjoying Windows games on Linux.

For all the great changes and new features building up in Linux 5.15, unfortunately, this looks to be another kernel that will lack FUTEX2. The latest revision of the FUTEX2 patches were posted this weekend and now being half-way through the merge window is certainly too late to see it review, additional testing, and submitted in time.

Over the past year FUTEX2 went through several rounds of review with waiting on multiple futexes to better match the behavior of Windows. Originally the FUTEX2 patches were also working on variable-sized futexes and other improvements but a simpler form of the patches were sent out last month to speed up the review/mainlining process by for now just focusing on the wait for multiple futexes and to tackle the other features later.

Out this weekend is the "v2" patches of that simpler take on FUTEX2. With the v2 patches there are code and comment improvements and a variety of other cleaning up of the code. This FUTEX2 code continues to be tested with Steam Play's Proton where using FUTEX2 can lead to more efficient CPU utilization for select newer games.

Given the timing this new system call will have to wait until at least Linux 5.16. Unfortunately that's cutting it close for finding in a mainline kernel ahead of the Steam Deck shipping, so presumably Valve will end up shipping FUTEX2 in a patched kernel at least initially for the Steam Deck but we'll see as the end of year approaches for improving the Windows gaming experience on Linux.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week