For Those Interested In Direct3D Over Gallium3D

Posted by Michael Larabel on September 25, 2010

There still is great interest and discussion among many users interested in Direct3D 10 and 11 being natively implemented on Linux using a new state tracker that was published this week for the Gallium3D driver architecture. It seems some Wine developers are still in opposition to this effort even though their Direct3D 10 implementation within Wine is still very limited in terms of translating the calls to OpenGL and their Direct3D 11 support really hasn't taken off.

Besides our links to the original Git commits and mailing list posts, for those wishing to follow the development of this "D3D1X" state tracker and Wine, there's a few more links to pass along.

There is this mailing list post over on the Wine mailing list (the talks seemed to have stalled on the Mesa mailing list side), where Luca Barbieri who authored this Direct3D 10/11 state tracker and has even begun on some initial Wine DLLs provided more clarifications on his work.

Luca reiterates the plan is to implement all of the Direct3D core interfaces and to ship those within Mesa/Gallium3D as to allow any native Linux applications to use them. There's also the Wine DLLs that he started coding so that Wine can tap into Gallium3D for this native support. Though in some areas Wine may still need to provide some translation support such as for older Direct3D versions and effects. He went on to further clarify Microsoft's documentation efforts around Direct3D and other words to help clear the concerns about this state tracker's legal status.

There's also another post concerning the multi-OS support for this state tracker. While Mesa/Gallium3D is largely focused on providing Linux graphics support, Mesa and most of the drivers can be built and used under the *BSDs, Solaris, and even Mac OS X. Granted, not all of the hardware drivers will work on all platforms without the DRM/kernel-side code being ported, but in those cases you could really use LLVMpipe to run the commands using the Low-Level Virtual Machine off the GPU.

Luca's also talked about writing a Gallium3D driver that simply would convert things to OpenGL so that it could be used by another driver underneath. At the very least, exposing the D3D1X state tracker within Wine could be done as an optional feature.

Since the last time writing about this topic, Luca has pushed a few more Direct3D state tracker improvements into Mesa master too. There's (untested) support for geometry shader translation, shader dumping, and a few fixes.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. D Language Still Showing Promise, Advancements
  2. Planetary Annihilation Released For Linux Gamers
  3. Gentoo Starts Work On KDE-Wayland Support
  4. NVIDIA To License Its Kepler GPU Technology
  5. KDE's KWin Made Lots Of Progress In 4.11
  6. Ubuntu Announces Carrier Advisory Group
  7. Qt 5.1 Release Candidate 1 Has Arrived
  8. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  9. Subversion 1.8 Presents New Features
  10. LLVM 3.3 Officially Released
  11. LLVM/Clang Now Uses Loop Vectorizer At New Levels
Latest Forum Talk
  1. D Language Still Showing Promise, Advancements
  2. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  3. Planetary Annihilation Plans To Come To Linux
  4. The Wayland Situation: Facts About X vs. Wayland
  5. Intel GPU Driver Tries To Rip Out FBDEV Support
  6. Mir Still Causing Concerns By Ubuntu Derivatives
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite