Sign in with
Sign up | Sign in

Direct3D 10/11 Natively Implemented on Linux

By - Source: Tom's Hardware US | B 66 comments

Direct3D touted as better than OpenGL on Linux.

Gamers on Linux are used to there being a limited choice of 3D APIs. OpenGL is an excellent cross-platform solution, but a lot of development these days are on Direct3D – which is from Microsoft and obviously not on Mac OS X or Linux. Well, not on Linux until this week.

Luca Barbieri made a commit with news of native Direct3D 10/11 support into Gallium, with an eventual goal of running Windows games in Wine.

"The primary goal is to realize Gallium's promise of multiple API support, and provide an API that can be easily implemented with just a very thin wrapper over Gallium, instead of the enormous amount of complex code needed for OpenGL," wrote Barbieri. "The secondary goal is to run Windows Direct3D 10/11 games on Linux using Wine."

He added, "Thanks to a very clean and well-though design done from scratch, the Direct3D 10/11 APIs are vastly better than OpenGL and can be supported with orders of magnitude less code and development time, as you can see by comparing the lines of code of this commit and those in the existing Mesa OpenGL implementation."

For those worried that Direct3D 10/11 won't have the same kind of performance as OpenGL, Barbieri said, "Finally, a mature Direct3D 10/11 implementation is intrinsically going to be faster and more reliable than an OpenGL implementation, thanks to the dramatically smaller API and the segregation of all nontrivial work to object creation that the application must perform ahead of time."

Read more at Phoronix.

Discuss
Ask a Category Expert

Create a new thread in the News comments forum about this subject

Example: Notebook, Android, SSD hard drive

This thread is closed for comments
Top Comments
  • 27 Hide
    Hard Line , September 26, 2010 8:16 PM
    Finally we are about there to lose windows for good! games are the only reason I keep windows around
  • 24 Hide
    thepinkpanther , September 26, 2010 8:24 PM
    hey Steam i hear linux is more lucrative than ever...if u cant get a hint MAKE STEAM FOR LINUX
  • 20 Hide
    mlopinto2k1 , September 26, 2010 8:22 PM
    Hard LineFinally we are about there to lose windows for good! games are the only reason I keep windows around
    Hmm.. lose Windows in favor of DirectX 10 and 11 on linux? IT'S MICROSOFT'S API! Microsoft isn't going to just make an API so people can reap it's benefits in Linux. There will always be Windows and there will always be Linux, for now. I am currently using Linux and hearing this definitely adds hope for the Linux community.
Other Comments
    Display all 66 comments.
  • 27 Hide
    Hard Line , September 26, 2010 8:16 PM
    Finally we are about there to lose windows for good! games are the only reason I keep windows around
  • 3 Hide
    swimomatic , September 26, 2010 8:18 PM
    Sweet! one step closer to uninstalling Windows 7 on my 1215n.
  • 20 Hide
    mlopinto2k1 , September 26, 2010 8:22 PM
    Hard LineFinally we are about there to lose windows for good! games are the only reason I keep windows around
    Hmm.. lose Windows in favor of DirectX 10 and 11 on linux? IT'S MICROSOFT'S API! Microsoft isn't going to just make an API so people can reap it's benefits in Linux. There will always be Windows and there will always be Linux, for now. I am currently using Linux and hearing this definitely adds hope for the Linux community.
  • 3 Hide
    ricardok , September 26, 2010 8:23 PM
    Hard LineFinally we are about there to lose windows for good! games are the only reason I keep windows around
    I second that!
  • 24 Hide
    thepinkpanther , September 26, 2010 8:24 PM
    hey Steam i hear linux is more lucrative than ever...if u cant get a hint MAKE STEAM FOR LINUX
  • 0 Hide
    ricardok , September 26, 2010 8:30 PM
    mlopinto2k1Microsoft isn't going to just make an API so people can reap it's benefits in Linux.
    Actually, it's not going to be made by Microsoft. Also, it will run through WINE!! So, no, it's not LINUX native.
  • -1 Hide
    neoverdugo , September 26, 2010 8:37 PM
    That's the news that i was waiting for!!!! The last step that i need to ditch "winblows" is a complete testing of ALL the games that have been published from the past 20 years or more before i start my complete OS migration.
  • -2 Hide
    tvel , September 26, 2010 8:45 PM
    was Gallium a Vmware thing?
  • 8 Hide
    mlopinto2k1 , September 26, 2010 8:47 PM
    RicardoKActually, it's not going to be made by Microsoft. Also, it will run through WINE!! So, no, it's not LINUX native.
    Seriously? I had no idea that this API for Linux wasn't gonna be made by Microsoft!! C'mon man, I am talking about Microsoft continuing development with DirectX. If EVERYONE is just gonna migrate to Linux, they will stop developing it. It'll never happen.
  • 0 Hide
    tpi2007 , September 26, 2010 8:53 PM
    neoverdugoThat's the news that i was waiting for!!!! The last step that i need to ditch "winblows" is a complete testing of ALL the games that have been published from the past 20 years or more before i start my complete OS migration.


    I see the irony you did there ;) 
  • 0 Hide
    Anonymous , September 26, 2010 8:58 PM
    It's the year of Linux

    oh wait....
  • 0 Hide
    ScoobyJooby-Jew , September 26, 2010 9:29 PM
    When linux supports my wireless adapter natively without additional downloading, I'll use it. I don't know script commands, and trying to install anything on linux without an active internet connection is just not going to happen
  • 3 Hide
    Yuka , September 26, 2010 9:40 PM
    ScoobyJooby-JewWhen linux supports my wireless adapter natively without additional downloading, I'll use it. I don't know script commands, and trying to install anything on linux without an active internet connection is just not going to happen


    They do "support it", it's the other way around actually. Manufacturers have to provide drivers for their HW to be "supported". And in Linux almost every piece of HW is supported thanks to the "community" behind different distros and/or groups.

    Anyway, it's not mature at all and we're still a few months away before we can see Wine trying it out in an alpha/beta state. They're still working on the driver side I think.

    Cheers!
  • 1 Hide
    freiheitner , September 26, 2010 10:11 PM
    "not on Linux until this week" -- except that it's still not released and WINE has been trying to run Windows apps on Linux for something like 12 years and, as far as I am aware, they still aren't 100% compatible apps written for the initial Windows 95 release much less DirectX 11.
  • 2 Hide
    scryer_360 , September 26, 2010 11:29 PM
    Ummmm, for all the OpenGL bashing, isn't OpenCL something of a golden cow right now?
  • -1 Hide
    the_krasno , September 26, 2010 11:29 PM
    Then we get Steam for Linux and I uninstall win7! :D 
  • 17 Hide
    ohim , September 26, 2010 11:38 PM
    Funny .. the windows guys accept the linux guys with ease and look at them with indifference .. but the linux looks so full of itself .. oh gosh how bad windows is, let`s kill the big bad wolf, they charge us money for the OS.. (well shoot the clerk that seels you bread at the local store for charing you money for it). Or look we are bright enough that we can install a program trough command line in linux ... seriously .. me personally i have no use at all of linux and will never be a part of my OS. The thing that Linux users never got to understand is that the market has room for bouth of them, and that there are loads of ppl like me that are very pleased with their windows and will never even look at a linux platform. And i find it extremely funny how linux tries to be a windows, i mean ok let`s dump the command line installers let`s do it more user friendly like windows has, let`s make the menus look more like windows for users to transition with ease, let`s install DX from windows in linux ... what will be next that they`ll take from windows ?
  • -4 Hide
    JOSHSKORN , September 26, 2010 11:46 PM
    I really hope they really let Linux in a bit more. It's really a great OS, and given the chance, I'm sure it'll run the same apps that Windows runs even better.
Display more comments