Announcement

Collapse
No announcement yet.

Experimental Work Allows DXVK To Be Natively Used For Direct3D 11 On Linux

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

  • #21
    By middleware you actually mean developers.

    I swear, back when I actually wrote gaming stuff in C/C++, I always had a way to abstract the rendering interface from the API, allowing for easy ports from time to time. Pretty much everything was abstracted as well. Either hidden behind functions or classes. Then again I knew both DX7/DX8/DX9 and OpenGL, so I knew how to do that. If an engine is written properly, it should just be a matter of creating the proper tooling to port it.

    Although as another user mentions, OpenGL performance under Linux is often a disappointment.

    Comment


    • #22
      Originally posted by arQon View Post

      umm, how is it a LOSING battle, when DX12 use outpaces Vulkan by at least 10 to 1?

      It's not "entertaining" at all: it's a @#$%ing pain in the ass, and a huge factor in keeping native games off Linux because nobody wants to write for multiple APIs and the overwhelming majority of devs have stuck with the DX "line" rather than transition to VK, even though the two are virtually identical at this point.

      As others have already pointed out, DX is a *massive* part of the "appeal" of Windows. And DX12 is "winning" just the same as 5-11 did against OGL.
      DX11 may outpace Vulkan, however every title I've used that supports DX12 also supports Vulkan.

      Comment


      • #23
        Originally posted by DoMiNeLa10 View Post

        Even WineD3D can do vastly better in good cases than native Windows, and at least double perf on the same machine if you're lucky. Osu! back in the day was like that, but if it detected wine, it would block the irrelevant DirectX renderer unless Wine version was hidden from it. Too bad it required actual Microsoft .net to run.
        I consider myself to be a heavy PC gamer, and pretty much all the games I play run either native or via Proton. Because I have a high core count system, DXVK runs far better than Windows for these games. None of the games I play don't work under proton, but I shy away from games with heavy handed DRM or anticheat. Both DRM and anticheat products don't work as advertised, and instead they introduce low level hooks into your system that lead to instability (BSODs), create potential security issues, and more. Better to let the dead stay dead.

        Comment


        • #24
          Originally posted by betam4x View Post

          DX11 may outpace Vulkan, however every title I've used that supports DX12 also supports Vulkan.
          Well as mentioned before I think the responsibility of performance is more or less shifted from Driver to Engine but this comes with additonal work for the game studios. Most likely some cutting corners executive will not grant them the extra time/money to implement it well optimized, especiallyif it can be done by DX11 with some optimizing work on AMD/Nvidia side as done the last couple of years. So transition from DX11 to DX12 or Vulkan is slower as expected.

          Comment


          • #25
            Originally posted by CochainComplex View Post
            Most likely some cutting corners executive will not grant them the extra time/money to implement it well
            There are a few places where the teams simply don't have the skill, after all the years of hand-holding DX (and to be fair, GL too, though a lesser extent) provide.
            But yeah, more often it'll be execs botching the schedule, and devs just not caring any more. (Engine work is usually finished YEARS before a game is actually released: the long pole is always the asset teams. But the devs will likely be off that project and onto the next one as soon as their piece is done, but again with no time budgeted for any nontrivial overhauls).

            There's at least one "DX12" engine that is literally just the DX11 code with a wrapper around most of it, so while it technically offers both DX11 and DX12 it actually performs worse in DX12. Unsurprisingly, it doesn't have a Vulkan option. :P

            Not every company can be id, sadly. It's really frustrating to see engines that are hugely inferior to Tech6 in visual quality but still only manage half the framerate despite that; and/or that leave 3/4 of your cores idle while the other 1/4 are pegged. The tide is turning on that, and in a few more years the "heavy" API days will be almost completely over.
            But DX12 vs Vulkan is still important regardless of workarounds like DXVK, because every hurdle you don't have to deal with when porting increases the chances of Linux-native games, by however tiny an amount; and (DRM BS aside) that in turn increases the potential for more gamers to have switching to Linux be a genuinely viable option, and thus the ROI *of* Linux-native releases, giving us a virtuous cycle.

            I don't see it happening though, TBH. There's a once-in-a-lifetime opportunity coming up when W7 EOLs in a couple of months, but despite the superb progress of the past year Proton isn't quite good enough (because WINE isn't good enough) to actually pull it off. Still, every little helps, and if Linux manages to get as far as 2% by the end of 2020 we should consider that a huge victory. Here's hoping.

            Comment

            Working...
            X