Show Your Support: Did you know that you can get Phoronix Premium for under $4 per month? Try it today to view our site ad-free, multi-page articles on a single page, and more while the proceeds allow us to write more Linux hardware reviews. At the very least, please disable your ad-blocker.
FUTEX2 Revised Again For Helping Steam Play But Will Miss Out On Linux 5.15
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.