Page 1 of 5 123 ... LastLast
Results 1 to 10 of 72

Thread: There's A Direct3D 9.0 Gallium3D State Tracker

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Posts
    15,130

    Default 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. #2
    Join Date
    Apr 2009
    Posts
    20

    Default

    Pretty good news indeed

  3. #3
    Join Date
    Aug 2009
    Location
    Russe, Bulgaria
    Posts
    527

    Default

    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.

  4. #4
    Join Date
    May 2008
    Posts
    598

    Default

    Does it allow writing DX9 applications on Linux?

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

    ?

  5. #5
    Join Date
    Sep 2008
    Posts
    332

    Default

    Quote 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

  6. #6

    Default

    Quote 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?

  7. #7
    Join Date
    Jul 2008
    Posts
    869

    Default

    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?

  8. #8
    Join Date
    Oct 2007
    Location
    Under the bridge
    Posts
    2,146

    Default

    Quote Originally Posted by thefirstm View Post
    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?
    DirectX is not comparable to OpenGL. You meant Direct3D and there are several good reasons why D3D would be nice to have in a cross-platform fashion (not going to happen, so just saying). In short, D3D has evolved faster and now provides a superior API to OpenGL.

    @mdias: my feelings exactly.

  9. #9
    Join Date
    May 2008
    Posts
    598

    Default

    Quote Originally Posted by thefirstm View Post
    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?
    For two reasons

    * All good demos (scene.org) are made for DX, and some even release the source code, so porting those to Linux would be much easier, if the DX would just could be untouched.

    * If someone want to learn DX, but don't want to use Windows =)

  10. #10

    Default

    Quote 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •