nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Directx 10/11 support on Linux (http://www.nvnews.net/vbulletin/showthread.php?t=155512)

gradinaruvasile 09-26-10 06:45 AM

Directx 10/11 support on Linux
 
Here:

http://www.phoronix.com/scan.php?pag...3d_d3d11&num=1

It is said that directx is about to be implemented on Linux:

Quote:

Luca Barbieri made a rather significant commit today that adds a state tracker dubbed "d3d1x", which implements the Direct3D 10/11 COM API in Gallium3D. Luca says this is just the initial version, but it's already working and can run a few DirectX 10/11 texturing demos on Linux at the moment. This is not a matter of simply translating the Direct3D calls and converting them to OpenGL like how Wine currently handles it, but is natively implemented within Gallium3D and TGSI to speak directly to the underlying graphics driver and hardware. Thanks to Gallium3D's architecture, this Direct3D support essentially becomes "free" to all Linux drivers with little to no work required.
Will the nvidia driver support it?

Licaon 09-26-10 07:49 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by gradinaruvasile (Post 2323949)
Will the nvidia driver support it?

Since that uses the underlaying OpenGL ( either MESA or proprietary ) i don't think that nVidia/AMD have to do anything to make it work.

wantilles 09-26-10 09:12 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by gradinaruvasile (Post 2323949)
It is said that directx is about to be implemented on Linux.

Pardon me for asking, but why exactly do we need it?

Sean_W 09-26-10 09:16 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by wantilles (Post 2323963)
Pardon me for asking, but why exactly do we need it?

Wine doesn't currently support DX10/11 and even DX9 games are a hit and miss a fair. This will be faster than Wine too.

gradinaruvasile 09-26-10 09:48 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by Sean_W (Post 2323964)
Wine doesn't currently support DX10/11 and even DX9 games are a hit and miss a fair. This is will faster than Wine too.

This.

hl_ 09-26-10 01:11 PM

Re: Directx 10/11 support on Linux
 
This would be faster if the open source drivers actually had decent overall 3D performance. Which they don't have. Regarding compatibility, let's see... I'm sceptical.

Also, this is only going to work with Gallium3D based drivers.

Licaon 09-26-10 03:13 PM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by hl_ (Post 2324011)
Also, this is only going to work with Gallium3D based drivers.

Yes, but 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.

And Fglrx and nvidia drivers can also be supported by writing a Gallium driver that talks to them using OpenGL, which is a relatively easy task. Thanks to the great design of Direct3D 10/11 and closeness to Gallium, this approach should not result in detectable overhead, and is the most maintainable way to do it, providing a path to switch to the open Gallium drivers once they are on par with the proprietary ones.

wantilles 09-27-10 07:57 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by Sean_W (Post 2323964)
Wine doesn't currently support DX10/11 and even DX9 games are a hit and miss a fair. This will be faster than Wine too.

You cannot play any commercial Windows games on Wine, because they are full of DRM (*).

They only way for DRM (*) to work, is in a fully virtualized environment/VM ie VMWare or VirtualBox.



(*) Digital Restrictions Management

Lost Dog 09-27-10 09:00 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by wantilles (Post 2324402)
You cannot play any commercial Windows games on Wine, because they are full of DRM (*).

They only way for DRM (*) to work, is in a fully virtualized environment/VM ie VMWare or VirtualBox.



(*) Digital Restrictions Management

Huh? That's an outright incorrect statement. *Some* are filled with DRM but even those with some method of DRM work great.

waperboy 09-27-10 09:09 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by wantilles (Post 2324402)
You cannot play any commercial Windows games on Wine, because they are full of DRM (*).

They only way for DRM (*) to work, is in a fully virtualized environment/VM ie VMWare or VirtualBox.

(*) Digital Restrictions Management

I just installed StarCraft 2 with Wine, and it runs smoothly :)

Sean_W 09-27-10 10:25 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by wantilles (Post 2324402)
You cannot play any commercial Windows games on Wine, because they are full of DRM (*).

They only way for DRM (*) to work, is in a fully virtualized environment/VM ie VMWare or VirtualBox.



(*) Digital Restrictions Management

Steam uses DRM by the way and many games work.

jeisom 09-27-10 10:44 AM

Re: Directx 10/11 support on Linux
 
Quote:

Originally Posted by wantilles (Post 2324402)
You cannot play any commercial Windows games on Wine, because they are full of DRM (*).

They only way for DRM (*) to work, is in a fully virtualized environment/VM ie VMWare or VirtualBox.



(*) Digital Restrictions Management


I run Bioshock in wine and it uses SecureROM. I think it is the most common drm in use right now.


All times are GMT -5. The time now is 04:30 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.