Announcement

Collapse
No announcement yet.

FUTEX2 Spun Up A Fifth Time For This Linux Interface To Help Windows Games

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

  • #11
    Originally posted by binarybanana View Post
    So given that I wonder why people still bother with wine/proton. I guess it's fine if someone doesn't care if a few games are unplayable or for people who only play a handful of games that happen to work.
    there are dozens of thousands of games in steam. you have to be very stupid to focus on some game which doesn't work well in proton when there are more wonderful working games than you can play in all your life
    Originally posted by binarybanana View Post
    A VM with a bare-bones Windows takes seconds to boot and the game console OS is ready. Probably starts faster than Steam does.
    probably you have no idea how quickly linux steam starts(and btw windows steam has to start even when you play windows steam game. not to mentions that often games in wine start faster than games in bare-metal windows)
    Last edited by pal666; 09 July 2021, 07:48 PM.

    Comment


    • #12
      I am glad that most of the games i want to play have native Linux versions anyway. I mostly play 4X and other strategies/management plus some rpgs. All of them native on Linux. So who cares about windows only games.

      Comment


      • #13
        Originally posted by binarybanana View Post
        Look at this, they even have to mess with the kernel to make it work better. To be fair, even native programs could benefit from it, but still.
        To be fair allot of stuff done under Linux has always been for developers and server infrastructure first.
        Windows has been making major optimizations to how gaming works for quite some time while Linux has been going back into the ocean, until recently. So all this futux2 etc.. its all catch up.. a metric galactic sized level of catch up was/is needed.

        Two major holdovers from windows10 for me is obviously stuff like this to help stream in data, since many next-gen games get clogged with the amount of calls being made under wine/proton. AND, Anticheat, which has been making SOME progress btw. (devs can now enable EAC wine/proton to work in their games..)
        Last edited by theriddick; 09 July 2021, 09:17 PM.

        Comment


        • #14
          Originally posted by theriddick View Post
          To be fair allot of stuff done under Linux has always been for developers and server infrastructure first.
          Windows has been making major optimizations to how gaming works for quite some time
          Be that as it may, WaitForMultipleObjects() has been around since at least Windows 95, and had nothing to do with games. Wine might be adding it for games, but it wasn't in Windows primarily for games.

          Comment


          • #15
            Originally posted by coder View Post
            I started with multithreaded programming on Windows, so I was aware of when I wanted WaitForMultipleObjects() and didn't have it. And that has actually been a very small number of times.

            I wonder if it's any easier to shoot yourself in the foot, with WFMO. When acquiring multiple mutexes, the main pitfall is if any code path which acquires them does so in a different order than any of the others, you can hit a deadlock.
            Could also be argued that in an environment where you do have access to WFMO then people tend to design their code around it leading to IMHO an abundant usage of multiple object when fewer might have served the same purpose. Looking that the situations that WINE is trying to solve here with games creating, waiting for and disposing millions of such objects then IMHO this scream inefficient design (of the games, not of WFMO).

            Comment


            • #16
              Originally posted by theriddick View Post

              To be fair allot of stuff done under Linux has always been for developers and server infrastructure first.
              Windows has been making major optimizations to how gaming works for quite some time while Linux has been going back into the ocean, until recently. So all this futux2 etc.. its all catch up.. a metric galactic sized level of catch up was/is needed.

              Two major holdovers from windows10 for me is obviously stuff like this to help stream in data, since many next-gen games get clogged with the amount of calls being made under wine/proton. AND, Anticheat, which has been making SOME progress btw. (devs can now enable EAC wine/proton to work in their games..)
              What major optimizations for games have WIndows done (ignoring DIrectX since that is a special case)? I have to admit that I'm a bit rusty coding for Windows now a days but I cannot think of anything major changed in this regard the last decades?!

              Comment


              • #17
                Originally posted by uid313 View Post
                Is futex2 better than futex?
                While this was made specially for Wine, is this only for Wine, or should all of Linux use futex2 instead of futex?
                No. It just adds features that people want that are not in the original futex code. its requeue operation is actually slower than the original futex requeue operation while the other operations perform the same, so switching to it just because you can would at best be no different and at worse be slightly slower.

                Comment


                • #18
                  Originally posted by avem View Post

                  It's not just for Wine. Nothing in the Linux kernel is just for something, its userspace API are available for all applications.

                  As to whether it's better or not I've no idea. Since so many people are working on it, it looks like Windows has some APIs which are ill-represented in Linux, so a closer implementation could bring huge benefits in terms of performance/usability.
                  Valve is funding it primarily for Wine. They said that they could also use it inside the steam client, although it is a black box, so it is hard to examine that claim.

                  As for it being better, it is not an upgrade for things that are happy with the existing futex code, having either the same performance at best and slightly lower performance at worse.

                  Comment


                  • #19
                    Originally posted by binarybanana View Post
                    I gave up on wine/proton since no matter how much it improves there will always be enough issues for it to be frustrating at times. Some games, especially older games run better than on Windows, but other than that it's hit and miss in both compatibility and performance. Look at this, they even have to mess with the kernel to make it work better.
                    This is just a performance tweak. It does not improve compatibility.

                    Originally posted by binarybanana View Post
                    To be fair, even native programs could benefit from it, but still.

                    Nowadays I just use a Windows VM with GPU passthrough. Literally every game I tried works exactly the same as on base metal Windows and performance is same, or slightly better actually. DPC latency is also much better at 30-60us avg, curiously. No more worrying about compatibility. No more workarounds. No more crap performance. No more visual glitches or other bugs and wondering if that's normal. You also can use stuff like HeSuVi for excellent virtual surround sound on headphones, or use SpecialK to decrease input latency in games to a minimum. Only thing that's problematic it that some online games consider a VM a cheat and might ban you. There aren't that many, but some do. Not sure how those mpare with wine, since I don't play those, but anti-cheat is even more of a headache on wine kernel mode anti cheat especially), so if a VM is a cheat, it's likely that wine is, too.

                    So given that I wonder why people still bother with wine/proton. I guess it's fine if someone doesn't care if a few games are unplayable or for people who only play a handful of games that happen to work. A VM with a bare-bones Windows takes seconds to boot and the game console OS is ready. Probably starts faster than Steam does.
                    Compatibility issues are the reason why Valve has a game whitelist and basically gives no guarantees about games that are not on the white list.

                    The long term goal is compatibility, but compatibility is hard given that Windows is a moving target and has a bloated API. They have made amazing progress despite that. Their biggest problem these days is kernel anticheat. You can literally go down the list of 100 most popular games (native excluded) and every game marked red is marked it because of kernel anticheat:



                    If you ignore those and start looking at less than 100% perfect games, then you will find a myraid quantity of other issues. This is the long tail portion of the pareto principle and it will take the most time to resolve. :/

                    Comment


                    • #20
                      Originally posted by jrch2k8 View Post

                      Very simple, in my case:

                      1.) a 2nd GPU to do pass through make no economic sense just to play some games.
                      2.) I only use DRM free or cracked games(because those usually remove any DRM)(i do own them but usually the crack works better).
                      3.) is not that hard for me and lutris kinda make it easier.
                      4.) I don't play anything that include loot boxes(if i wanna burn money on RNG i'll go to a damn casino)
                      5.) i don't buy games at release, they are usually half done, full of bugs and very expensive(even less pre order, you burn me once not twice)
                      6.) i just don't like Windows and i don't want it even on a virtual machine, hence i have no problem waiting few weeks until someone finds a way around whatever issue i have and since i don't make money playing games, is no biggie.
                      7.) My ultra modded skyrim SE works better on Wine+RADV than on Windows
                      Nvidia likely could make this easier if they made their VGPU technology available on GeForce, but then they couldn't get licensing fees. AMD could likely do the same if they brought their MxGPU analog to Radeon. :/

                      Comment

                      Working...
                      X