id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	guest	host
2940	VirtualBox should support Direct3D through WineD3D	JeremyVisser		Currently, Wine makes Direct3D apps work on Linux by wrapping the Direct3D in OpenGL. This code can be reused in !VirtualBox to add Direct3D support to the already working OpenGL acceleration system.\r\n\r\nThe following DLLs from Wine need to be compiled and added to the guest OS:\r\n\r\n * {{{libwine.dll}}}\r\n * {{{wined3d.dll}}}\r\n * {{{d3d8.dll}}}\r\n * {{{d3d9.dll}}}\r\n\r\nThese DLLs would be shipped and installed with the guest additions.\r\n\r\nCurrently, these DLLs can be produced manually by following [http://wiki.winehq.org/WineD3DOnWindows directions posted on the Wine wiki].\r\n\r\nBy installing these DLLs on a native (host) Windows system, one can successfully use Direct3D applications that are wrapped in OpenGL. [http://wiki.winehq.org/Direct3D_Debugging (Reference)]\r\n\r\nThere is still some work to be done. In my testing, Direct3D applications still do not run correctly when these DLLs are added to the guest system. However, they do report that Direct3D is supported (without these DLLs present, they claim that Direct3D acceleration is unavailable), but fail upon initialisation.\r\n\r\nMost of the heavy work is done -- the Wine project has been wrapping Direct3D games for years, and !VirtualBox has some awesome OpenGL support. All that is needed now is to make WineD3D play nice with !VirtualBox, and we will have Direct3D support on Windows guests.\r\n\r\nBinaries built straight from the Wine 1.1.10 source are available for [http://static.sunriseroad.net/jeremy/releases/wined3d-win32.zip download]. If anybody has success with these DLLs, please speak up!\r\n\r\n=== See also ===\r\n\r\n * #475	enhancement	closed	major	3D support	VirtualBox 2.1.0	fixed	direct3d		Windows	other
