VOGONS


First post, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

http://aybabtu.com/rmh/wined3d/
http://www.virtualbox.org/ticket/2940#comment:1
http://www.phoronix.com/scan.php?page=news_item&px=NzAyNA
http://wiki.winehq.org/WineD3DOnWindows
http://forums.virtualbox.org/viewtopic.php?f=2&t=15436

WineD3D is the component of Wine that implements a replacement for Microsoft Direct3D. WineD3D works as a wrapper for Direct3D c […]
Show full quote

WineD3D is the component of Wine that implements a replacement for Microsoft Direct3D. WineD3D works as a wrapper for Direct3D calls, and relies on OpenGL for the actual rendering job.

Although primarily designed for use in Wine, WineD3D can also be used on native Windows. This has a number of advantages over using Microsoft Direct3D:

* You're free to use it for any purpose, study what it does, modify it to suit your needs, or share it with your friends.
* It can implement versions of Direct3D for Windows versions that Microsoft doesn't want to support (e.g. d3d10 on XP).
* Since it relies on OpenGL, it can provide Direct3D without need for specific D3D drivers (notably, on VMs like VirtualBox or QEMU).

- Ensure OpenGL support is available and working in your Windows guest - Download, onto your Windows guest, the latest version o […]
Show full quote

- Ensure OpenGL support is available and working in your Windows guest
- Download, onto your Windows guest, the latest version of WineD3D from: http://aybabtu.com/rmh/wined3d/
- Reboot in safe mode and run the installer (this is important, otherwise WineD3D may fail to install)
- Reboot back into regular mode

Heard about this today. Haven't tried it out yet.

Looks like since it wraps to OGL if you plan on using it in a VM then you'll need hardware OGL support in the VM (which VirtualBox supplies).

I'm wondering how well it works on the host as well.

Last edited by DosFreak on 2009-05-12, 01:27. Edited 3 times in total.

How To Ask Questions The Smart Way
Make your games work offline

Reply 5 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

Yeah, it's really frustrating having VM products that support acceleration.....but no 9x support or this open source wrapper....that has no 9x support.

heh. At least Swiftshader supports 9x....(but it's only for DX8/9)

Last edited by DosFreak on 2009-03-19, 19:07. Edited 1 time in total.

How To Ask Questions The Smart Way
Make your games work offline

Reply 6 of 12, by temptingthelure

User metadata
Rank Member
Rank
Member

So, in simple words, what does this do? Does it allow windows guest systems in a virtual environment to have Direct3D natively? Does it need a windows host system to work? That would sort of defeat the purpose, wouldnt it? Im waiting for a solution that bring opengl native support for LINUX guests with a Windows host. That would really be something. Why is that so difficult to get working?

Rise of the Triad modding site!
http://rott.s4.bizhat.com

Reply 7 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

http://vbox.innotek.de/pipermail/vbox-announc … rch/000013.html

OpenGL 3d acceleration for Linux guests

How To Ask Questions The Smart Way
Make your games work offline

Reply 8 of 12, by ih8registrations

User metadata
Rank Oldbie
Rank
Oldbie

In simple words it gives partial directx to virtual machines. It's a wrapper translating directx calls to opengl calls. The host only needs opengl. As dosfreak has pointed out, there is opengl for linux guests.

Reply 9 of 12, by temptingthelure

User metadata
Rank Member
Rank
Member
ih8registrations wrote:

In simple words it gives partial directx to virtual machines. It's a wrapper translating directx calls to opengl calls. The host only needs opengl. As dosfreak has pointed out, there is opengl for linux guests.

Ah , k. But, is opengl support 100% working? I read around the web, that it's only partial, and 3d is very slow on linux guests. Can anyone confirm or deny this?

Reply 10 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

It likely is slow...depending on the hardware. Alot of times people test VM products on laptops, The overhead of running a VM, low amount of memory on host/guest, slow disk drive and a crappy video card don't help.

With a fast desktop computer, disk drive, memory, video card, and processor I'm sure OGL acceleration in Linux using VirtualBox would be 70-80% of the performance of the host.

Haven't bothered to do any tests with Virtualbox OGL acceleration but I have played around with software rendering and swiftshader in VM's and they were suprisingly faster than I thought they would be. Nowhere near playable for newer games though, whereas this VirtualBox OGL acceleration should be.

How To Ask Questions The Smart Way
Make your games work offline

Reply 12 of 12, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

WineD3D possibly to be included with VirtualBox:

http://www.virtualbox.org/ticket/3904

Our current plan is to include WineD3D in the additions ISO. However I do agree that it would be nice for people to be able to easily install a new build from the WineD3D site.

To achieve the latter is quite simple as we're only talking about a bunch of user dlls.

How To Ask Questions The Smart Way
Make your games work offline