Linus Torvalds has announced the release of Linux Kernel 5.16, bringing with it the usual assortment of new hardware support and improvements everywhere. Plus, there's something big for Linux gaming fans.
The one many have no doubt been waiting for is the inclusion of Collabora's work on FUTEX2 with futex_waitv(). This is supposed to help Linux gaming with Proton / Wine and also Native Linux gaming too. As Collabora developer André Almeida previously described it: "The use case of this syscall is to allow low level locking libraries to wait for multiple locks at the same time. This is specially useful for emulating Windows' WaitForMultipleObjects. A futex_waitv()-based solution has been used for some time at Proton's Wine (a compatibility layer to run Windows games on Linux). Compared to a solution that uses eventfd(), futex was able to reduce CPU utilization for games, and even increase frames per second for some games. This happens because eventfd doesn't scale very well for a huge number of read, write and poll calls compared to futex. Native game engines will benefit of this as well, given that this wait pattern is common for games.".
So with this Kernel version, plus a version of Proton / Wine and any Native games / game engines that support it, you might be able to see better performance.
Masses of other changes as well of course, although plenty of it most normal consumers won't be too excited about just yet. However a few noteworthy interesting bits for desktop / laptop users and gamers (more on KernelNewbies) like:
- The addition of DisplayPort 2.0 for AMD GPU
- Initial USB4 DP tunnelling support for AMD GPU
- More work towards supporting Intel Xe discrete GPUs
- Improvements for the PlayStation 5 DualSense controller
- Better support of HP Omen laptops
- A small fix for the Steam Deck screen
- Nintendo Joy-Con and Pro Controller support
- Hardware monitoring support for many more ASUS motherboards
https://bugs.winehq.org/show_bug.cgi?id=50281
Last edited by mrdeathjr on 10 January 2022 at 12:09 pm UTC
Quoting: iskaputtVery exciting, looking forward to try futex2 in a couple of games.How does one try it out? Does it need to be enabled in some way?
Quoting: mrdeathjraccording wine devs for now fsync dont be approvedDoesn't stop any of the various Wine builds like Wine-GE, Staging, Tkg and so on using it.
https://bugs.winehq.org/show_bug.cgi?id=50281
Quoting: mrdeathjraccording wine devs for now fsync dont be approved
https://bugs.winehq.org/show_bug.cgi?id=50281
Wine devs were always reluctant on adding Linux specific code. Take Gallium Nine for example. But who cares about vanilla Wine nowadays anyway when we there is Proton and even Proton GE?
Quoting: Liam DaweDoesn't stop any of the various Wine builds like Wine-GE, Staging, Tkg and so on using it.
yeah but unsupported is unsupported
......however still life like a hack
Last edited by mrdeathjr on 10 January 2022 at 12:14 pm UTC
Quoting: LinasQuoting: iskaputtVery exciting, looking forward to try futex2 in a couple of games.How does one try it out? Does it need to be enabled in some way?
I can only speak for Lutris right now, but they have a simple checkbox for enabling Fsync in the runner options.
Quoting: chelobakaWine devs were always reluctant on adding Linux specific code.
Take Gallium Nine for example.
But who cares about vanilla Wine nowadays anyway when we there is Proton and even Proton GE?
similar situation with dxvk because dxvk use c++ and wine use only plain c and other things according wine devs
actually most people use dxvk because wined3d performance on dx9 is very poor
without talk wined3d in dx11 is only a:
Last edited by mrdeathjr on 10 January 2022 at 12:34 pm UTC
See more from me