Support us on Patreon to keep GamingOnLinux alive. This ensures all of our main content remains free for everyone. Just good, fresh content! Alternatively, you can donate through PayPal. You can also buy games using our partner links for GOG and Humble Store.
We do often include affiliate links to earn us some pennies. See more here.

Collabora developers have been working for some time on back-end Linux Kernel improvements to help Linux gaming, and Wine / Steam Play Proton - the latest patches have now been posted for futex2. Available to read about on the Linux Kernel Mailing List, Collabora developer André Almeida introduced the latest set.

What's all this about then? Well, the original futex (more info) introduced in 2003 has certain drawbacks. Developers have been trying to improve it but it's proven difficult to get new code and features added in given the legacy of it. Some of the new features just don't fit into the existing futex, and it can be slow - so they're working on an new version.

For Linux gaming and running games through compatibility layers like Wine and Proton, futex causes issues:

The use case lies in the Wine implementation of the Windows NT interface WaitMultipleObjects. This Windows API function allows a thread to sleep waiting on the first of a set of event sources (mutexes, timers, signal, console input, etc) to signal.  Considering this is a primitive synchronization operation for Windows applications, being able to quickly signal events on the producer side, and quickly go to sleep on the consumer side is essential for good performance of those running over Wine.

So the idea is to better match how Windows does things, to ensure running games built for Windows on Linux will run with good performance.

While the patches have been posted and you could try and test them, Collabora mentioned on Twitter to just stick with the previous implementation with Proton for now.

Article taken from GamingOnLinux.com.
Tags: Kernel, Misc
21 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly checked on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
The comments on this article are closed.
1 comment

inlinuxdude Apr 29, 2021
Go Collabora! This seems like just the type of development needed to get Linux more on par with Windows.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.