Announcement

Collapse
No announcement yet.

The FUTEX2 System Call Continues Working Its Way Towards Mainline In 2021

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • The FUTEX2 System Call Continues Working Its Way Towards Mainline In 2021

    Phoronix: The FUTEX2 System Call Continues Working Its Way Towards Mainline In 2021

    The work-in-progress FUTEX2 system call for improving Windows games on Linux via Wine / Steam Play remains one of the items left to be addressed in 2021 with the work on that being funded by Valve and tackled by Collabora engineers...

    http://www.phoronix.com/scan.php?pag...2021-Still-WIP

  • #2
    From my testing and others, Futex 2 with a supported kernel currently breaks a ton of games under Proton. It also breaks some game launchers like Origin. The code needs quite a bit more baking before it's ready to replace Fsync & Esync.

    https://github.com/ValveSoftware/Proton/issues/4568

    Comment


    • #3
      On Manjaro it's already included in the kernel

      Comment


      • #4
        Originally posted by xcom View Post
        On Manjaro it's already included in the kernel
        whats the pont if its not ready? to break things?

        Comment


        • #5
          Originally posted by xcom View Post
          On Manjaro it's already included in the kernel
          Source?

          Comment


          • #6
            Originally posted by Xaero_Vincent View Post
            From my testing and others, Futex 2 with a supported kernel currently breaks a ton of games under Proton. It also breaks some game launchers like Origin. The code needs quite a bit more baking before it's ready to replace Fsync & Esync.

            https://github.com/ValveSoftware/Proton/issues/4568
            Might be that the issue are some workarounds/hacks in Wine? I did read up on the "ntsync" proposal, and it seems a miracle Wine even works with multi-core at all.
            On that same note, does futex2 bring something to the table outside of Wine? Wrapping everything windows-related in the "ntsync" proposal would make more sense if the answer is "no"

            Comment


            • #7
              https://www.reddit.com/r/ManjaroLinu...s_by_valve_to/

              Comment


              • #8
                This is fsync, nothing to do with what the piece of news is about.

                Comment


                • #9
                  Originally posted by juxuanu View Post

                  This is fsync, nothing to do with what the piece of news is about.
                  Well they are connected. The patches that Manjaro have included is the base support for fsync, the new futex2() syscall will enable better performance for fsync in proton as of 5.13-6 but is not included in Manjaro. Likely that this is what you meant, I just wanted to clarify it a bit.

                  Comment


                  • #10
                    Originally posted by discordian View Post

                    Might be that the issue are some workarounds/hacks in Wine? I did read up on the "ntsync" proposal, and it seems a miracle Wine even works with multi-core at all.
                    On that same note, does futex2 bring something to the table outside of Wine? Wrapping everything windows-related in the "ntsync" proposal would make more sense if the answer is "no"
                    It brings the possibility to wait for several futexes at the same time using a single syscall. Not sure how many applications that will make use of it, but I can see several use cases personally so others might see the same.

                    Comment

                    Working...
                    X