Announcement

Collapse
No announcement yet.

Direct3D Performance Improvements Coming To Wine

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

  • Direct3D Performance Improvements Coming To Wine

    Phoronix: Direct3D Performance Improvements Coming To Wine

    Stefan Dösinger of CodeWeavers has been working on some Direct3D performance improvements for Wine by creating a separate command stream / worker thread for WineD3D. This work moves OpenGL calls into a seperate thread in order to improve performance while also fixing some outstanding bugs. This work can yield 50~100% performance improvements and in some cases making the games under Wine faster than on Windows...

    http://www.phoronix.com/vr.php?view=MTQ1Mjk

  • #2
    Hmm... looks interesting. I'll do a test build and see how Skyrim plays.

    Comment


    • #3
      Aww yiss!

      I was kind of worried with all the support they'd been giving Mac users, that there wouldn't be any performance upgrades us Linux users would enjoy. I'm glad to see that's not the case.

      Been using CrossOver 12.5.0, and have tried COD MW and COD MW2 and while they run, it lags horribly (on a GTX680 with 313 drivers). Hopefully no longer requiring StrictDrawOrdering will help that.

      Stefan published on Monday the set of D3D command stream patches that go against Wine 1.7.1 and improve performance by offloading the drawing calls onto a separate CPU thread.
      Is this a step in the direction of Wine supporting Multi-core CPUs? I'm not very tech savvy with regards to Wine development, so I don't really understand. If it is support for Multi-core CPUs, would that mean Guild Wars 2 may finally have a playable framerate?

      I'm definitely looking forward to this, still wish that the CodeWeavers guys would implement some DX11 love before it's too late.

      Comment


      • #4
        are these changes at all like the dx9 state tracker changes that came about a couple months ago, where they only effect the foss driver stack (ie, the ones that use gallium3d), or will closed drivers get a boost as well?

        Comment


        • #5
          Nice- I may take a look and see if some of my new favorite games are working on WINE. Might as well move as much of my gaming to Linux as possible, right? Especially if it's so much more efficient with resources even in WINE. I hope they can work out the issues with this patchset and get it committed.

          Comment


          • #6
            Originally posted by dffx View Post
            are these changes at all like the dx9 state tracker changes that came about a couple months ago, where they only effect the foss driver stack (ie, the ones that use gallium3d), or will closed drivers get a boost as well?
            From what I can tell, this has nothing to do with the graphics drivers, but rather a change to how Wine itself handles the D3D code.

            Also, the state trackers announced earlier weren't accepted by upstream Wine.

            Comment


            • #7
              Okay, yeah, it's kinda buggy still. I tried running Skyrim (which runs pertty good already, framerate is generally lower than windows, but very playable). At first, it looked like everything was working, except there was some pretty bad mouse lag, and movement was pretty jerky. Than all of sudden, crash to desktop. Maybe I'll look into debugging it a bit later and see if I can get a log together to submit to a bug tracker.

              Comment


              • #8
                This work can yield 50~100% performance improvements and in some cases making the games under Wine faster than on Windows.
                This seems really incredible. Having the WINE compatibility layer implementation being faster than native just shows how crappy the windows codebase really is!
                Last edited by varikonniemi; 09-04-2013, 04:22 AM.

                Comment


                • #9
                  TEST 2:
                  Okay, I tried running the FFXIV:ARR Benchmark, and I was pretty impressed by how much better the performance was. Most of the time it was smooth enough and looked decent (as long as you turn off Occulusion Culling and HDR). Downside though, there is still an awful lot of flickering going on with the UI and with nearly all effect animations. I thought this might help since the flickering issue was supposedly caused by some kind of multi-threading glitch in wine, but it appears it's still a problem. Caveats aside, there is clear progress in performance.

                  UPDATE:
                  I tried running the Character Creation part of the benchmark, and there didn't appear to be any UI flicker this time. Last time I tried this benchmark, the UI flickering was so bad I thought I was going to have seizure. Although, It was hard to tell, when ever I tried moving the model using the mouse, it seemed that framerate had a noticeable drop. I think there might be some kind of sync issue between the new multithreaded code and user input, but It's just a theory on my part.
                  Last edited by ripps818; 09-04-2013, 04:43 AM.

                  Comment


                  • #10
                    Or you could skip it and http://steamcommunity.com/groups/OnlyBuyLinuxGames

                    Wine should only be used if you are pirating.

                    Comment


                    • #11
                      Originally posted by Kivada View Post
                      Or you could skip it and http://steamcommunity.com/groups/OnlyBuyLinuxGames

                      Wine should only be used if you are pirating.
                      Meh, I think it's a bit unrealistic to expect game developers to suddenly start developing for Linux. We're less than 1% on Steam.

                      Although, I admit, if there's a Linux version of a game, I am much more likely to consider getting the game than I would otherwise. There's been a slow shift in the market to accept Linux as a viable platform and I absolutely love that. But until Linux has as much market share as OSX, than I doubt we're going to get the attention of AAA developers anytime soon. Although, I whole-heartedly believe that Linux will one day be a top tier OS standing alongside Windows and OSX in the marketplace, I still think that is probably many years off. In the mean time, developing Wine is a decent crutch to use until that time comes. I wouldn't recommend it for novice users. It's clearly a power-user tool, but it is a versatile one. And it has made an amazing amount of progress in recent years. Games like Borderlands and Portal 2 which would have been too painful to play a few years ago, run at almost native speeds now.

                      Comment


                      • #12
                        Originally posted by Kivada View Post
                        Or you could skip it and http://steamcommunity.com/groups/OnlyBuyLinuxGames

                        Wine should only be used if you are pirating.
                        I think you're posting in the wrong thread.

                        Comment


                        • #13
                          Originally posted by Kivada View Post
                          Or you could skip it and http://steamcommunity.com/groups/OnlyBuyLinuxGames

                          Wine should only be used if you are pirating.
                          Oh yeah ?!?

                          So...*where* can i get the LINUX CLIENTS for:

                          Call of Duty
                          Call of Duty 2
                          Call of Duty 4 modern Warfare
                          Call of Duty World at War
                          Call of Duty Modern Warfare
                          Call of Duty Modern Warfare 2
                          Call of Duty Black Ops
                          Call of Duty Modern Warfare 3

                          Battlefield 1942
                          Battlefield 2
                          Battlefield 2142
                          Battlefield: Bad Company 2

                          Company of Heroes
                          World in Conflict: Soviet Assault
                          Men At War
                          Soldiers: Heroes of WW2

                          ArmA 2
                          ArmA 2: OA
                          Ironfront: Liberation 1944

                          etc, etc, etc.

                          More than 50 of the best (IMHO, YMMV) games in DVD.

                          ALL games that i OWN LEGIT DVD copies, ALL games that for i payed with my HARD EARNED CASH.

                          Please...don't BS a BSer.

                          I'm all in favor for games for Linux but for my pre-"Steam Linux Support" era, i WANT WINE because there is no way in HELL that publishers will make new Linux binaries for them.

                          Valve did because it has an agenda...called SteamBox.
                          BIS did with their old titles because strong influence from Valve.
                          Small studios do it because of Valve is pushing them to do it because
                          i bet they are giving assistance/incentives because SteamBox.

                          EA/DICE will NOT do it...they kinda broke up with Steam...maybe one day for new titles/IPs (think 5-10 years from now) but not for old stuff.

                          Activision/Treyarch/InfinityWard ? NO WAY !
                          They will no bother at ALL...*maybe* with new titles/IPs (in same time frame than EA/DICE unless than SteamBox sells really well witch can push to a earlier support) but old stuff ?
                          NO way.

                          Comment


                          • #14
                            Originally posted by ripps818 View Post
                            Meh, I think it's a bit unrealistic to expect game developers to suddenly start developing for Linux. We're less than 1% on Steam.
                            Its all about numbers. If they already have a Mac version then a Linux version is unlikely to cost much to port. Also NOW is the time to port your game to Linux as you are likely to get more sales now while the is only around 250 games with a 1% of users vs say 800 games with a 2% user base.

                            Comment


                            • #15
                              Modified Wine

                              Can anyone post the link deb file here, I am crazy to try it out

                              Comment

                              Working...
                              X