Announcement

Collapse
No announcement yet.

There's A Direct3D 9.0 Gallium3D State Tracker

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

  • There's A Direct3D 9.0 Gallium3D State Tracker

    Phoronix: There's A Direct3D 9.0 Gallium3D State Tracker

    In a Phoronix Forums thread in regards to a 2010 Linux graphics driver wish-list, a developer has shared that he has started a Direct3D 9.0 state tracker for Windows! Yes, where it would actually be possible to accelerate Direct3D 9.0 while on Linux when using a Gallium3D hardware driver. This state tracker called "nine" is not merged to Mesa master, at least not yet, but can be found in the ~jsindholt/mesa repository. The state tracker's documentation describes this Direct3D 9.0 ST as providing: What is this? An implementation of the C++ API as seen in Direct3D 9.0c. It's meant to be an easy and reliable way for WINE to emulate D3D9 applications from Windows on free platforms (though I believe the WINE devs don't give two shits about it), and enable users to more easily port their Direct3D 9 applications. What is this not? A binary compatible, or COM compatible implementation of Direct3D...

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

  • #2
    Pretty good news indeed

    Comment


    • #3
      Yes, good indeed
      First: How this is meant to be used. Only for WINE project?
      Second: Is there any thoughts that such state tracker may be used in win guests in some virtual machine, to accelerate win 3D on say..linux host.
      E.g. win DX9 st -> TSGI -> shortcut cross WM boundary to the host -> Linux Gallium HW driver -> Display.

      Comment


      • #4
        Does it allow writing DX9 applications on Linux?

        Will we see it on
        http://www.x.org/wiki/GalliumStatus

        ?

        Comment


        • #5
          Originally posted by Drago View Post
          Yes, good indeed
          First: How this is meant to be used. Only for WINE project?
          It won't be used for the WINE project. I beleive that there are some technical issues, but also a big problem is that you can't get Gallium3D on most of the platforms Wine supports.

          Comment


          • #6
            Originally posted by Louise View Post
            Does it allow writing DX9 applications on Linux?

            Will we see it on
            http://www.x.org/wiki/GalliumStatus

            ?
            my guess is that, it will replace the part in wine that translates d3d calls into opengl calls.
            this will be interesting since we lose quite a bit of performance by translating everything into opengl.
            if i remember correctly bridgman said something about gallium achieving 60-70% of the fglrx performance.
            and with wine3d performance often dropping to less then 50% compared to windows this might make d3d games faster with opensource drivers compared to fglrx.
            that would be pretty awesome indeed

            Comment


            • #7
              Originally posted by Louise View Post
              Does it allow writing DX9 applications on Linux?

              Will we see it on
              http://www.x.org/wiki/GalliumStatus

              ?
              Just wondering, Why in the world would you want to write a DX9 application for Linux? Why not use OpenGL, which is much, much, much more widely supported?

              Comment


              • #8
                It's meant to be an easy and reliable way for WINE to emulate D3D9 applications from Windows on free platforms (though I believe the WINE devs don't give two shits about it)
                what does this sidekick to wine mean, are I am wrong or do they work to get d3d9 stuff running under free plattforms? What do I miss or what could he mean with it?

                Comment


                • #9
                  Originally posted by blackiwid View Post
                  what does this sidekick to wine mean, are I am wrong or do they work to get d3d9 stuff running under free plattforms? What do I miss or what could he mean with it?
                  wine-devs have stated that they're not interested in replacing their Direct3D->OpenGL translator with a native aproach using gallium, because that would only work on systems running Gallium3D drivers. The majority of their users run the nvidia blob though, so that's what they're targeting.

                  Comment


                  • #10
                    Wow, these guys are really having so hard of a time coming up with useful things to work on that they have to implement windoze uselessness?

                    How about implementing GPU-independent video decode acceleration or something else that somebody could actually make use of?

                    Comment


                    • #11
                      This is the news I like to hear! Someone is smart in the dev team,,,,

                      Comment


                      • #12
                        What nobody has mentioned this might help out reactos with native opensource drivers? I think they have some binary driver compatibility but it might not ever be stable...

                        Comment


                        • #13
                          Originally posted by droidhacker View Post
                          Wow, these guys are really having so hard of a time coming up with useful things to work on that they have to implement windoze uselessness?
                          If they get working that faster to a good state then wine it would be a good thing. "These guys" are not one coordinated group I think, they are solo developers, there is maybe a core team, but this guy seems not to be part of that. So he needs this maybe for a project or he works for a company who wants to make money with getting games better working under linux. So I think this guy does not work for AMD or get payed from one of us, so what right do you/we have to say him what he has to do, he does not hinder any other work so let him do this stuff, even if you donīt need it.

                          Comment


                          • #14
                            Can't I have a little fun while learning the G3D interface without it ending up on the Phoronix articles page?

                            I'm not trying to replace anything in WINE, I just want to augment it. Their implementation could very well just check whether another solution is available and use that on the rare occasion that it is.
                            Now let's get something out of the way: this is not a project meant to deliver significant results but merely a hello world state tracker in the only API I saw fit to try my mind on. I chose D3D9 because it's well documented on the MSDN and is tied to a class inheritance OOP model, making it easier (for me at least) to implement.

                            So what can it do for you now? Nothing is what. All it can do is render colored triangles.

                            Let the shitstorm begin.

                            EDIT: I should probably mention that zhasha == jsindholt
                            Last edited by zhasha; 01-22-2010, 10:06 AM.

                            Comment


                            • #15
                              Originally posted by phoronix View Post
                              I believe the WINE devs don't give two shits about it
                              Maybe they would give two shits about it if developer of this tracker would show something useful and reliable.

                              Comment

                              Working...
                              X