Page 1 of 1

Virtual Machines and Graphics Cards

Posted: 2007-12-31 02:52am
by Hawkwings
Are there any virtual machine programs out there that will recognize and use the physical machine's graphics card for graphics work?

Context: I'm trying to run a virtual copy of XP so I can play Freelancer online, without all the Vista problems.

Posted: 2007-12-31 02:56am
by phongn
I think VMWare supports DX7 graphics, but that's about it.

Posted: 2007-12-31 03:06am
by Hawkwings
Yeah, but does it emulate a graphics adapter or use the physical one?

Posted: 2007-12-31 05:52am
by Netko
Emulates it (or rather, works as a wrapper). The only VM technology that did direct access to graphics hardware was a special version of VirtualPC for PPC Macs that interfaced directly with the old 3dfx add-in boards.

These days both VMWare and Parallels are working on DirectX functionality in their VMs (mostly on their Mac products) - right now they claim DX9 but without shaders - effectively, as phongn notes, DX7.

Posted: 2007-12-31 09:40am
by Braedley
I can't even get an avi file to play back properly using VirtualBox. I have no hopes of using my VM for games.

Posted: 2007-12-31 07:52pm
by Netko
You have to be careful what output method you choose. Overlay does not work from within a VM so if that is your output method it will fall back to software overlay which is sloooow. DX7-based output should work on those new versions that support it, however I don't have any idea how fast it is.

Still, its a bit strange you can't get good playback even with the software output - I can manage non-action .avi's over RDP (which has similar limitations WRT display technology and an additional one of bandwidth).

Posted: 2008-01-01 03:10pm
by Pu-239
Braedley wrote:I can't even get an avi file to play back properly using VirtualBox. I have no hopes of using my VM for games.
Well, Virtualbox doesn't have the feature of VMWare Workstation for wrapping the graphics APIs. And workstation costs money.

Posted: 2008-01-01 10:37pm
by Hawkwings
So, with VMWare Workstation and this "wrapping" of the graphics API... would it allow use of all the features of the card, albeit at a slight hit to performance? In particular, Direct3d?

Posted: 2008-01-01 10:52pm
by phongn
Hawkwings wrote:So, with VMWare Workstation and this "wrapping" of the graphics API... would it allow use of all the features of the card, albeit at a slight hit to performance? In particular, Direct3d?
More than a slight hit, but yes, DX7 is supported.

Posted: 2008-01-02 01:48am
by Hawkwings
Failure. "Freelancer did not detect a 3D capable video card in your system."

Checking the documentation now for anything I missed. Any suggestions?

Also... Good god! VMWare Workstation uses so much more system resources than the other VM tools I've used.

Posted: 2008-01-02 11:23am
by Netko
Why aren't you playing Freelancer in Vista - it works fine, I played it earlier this (or rather, at this point, last) year. Possibly you need to set a few of the compatibility options (Win XP, admin mode) - I don't recall any more, but it worked on Vista perfectly - I played through the main campaign.

Posted: 2008-01-02 11:30am
by phongn
Hawkwings wrote:Failure. "Freelancer did not detect a 3D capable video card in your system."

Checking the documentation now for anything I missed. Any suggestions?
Freelancer is a DX8 game, isn't it?
Also... Good god! VMWare Workstation uses so much more system resources than the other VM tools I've used.
That's because VMWare Workstation provides a lot more features.

Posted: 2008-01-02 12:06pm
by Resinence
Hawkwings wrote:Failure. "Freelancer did not detect a 3D capable video card in your system."

Checking the documentation now for anything I missed. Any suggestions?

Also... Good god! VMWare Workstation uses so much more system resources than the other VM tools I've used.
It has to be enabled manually in the config file, iirc. Add mks.enable3d = TRUE to your virtual machines config (.vmx, open with wordpad). It probably still won't work, or will work very slow. Also you must have the vmware utilities installed in the guest OS.

Better off running it natively, since your on windows anyway. I played it on vista and it works fine (turn off aero, admin mode, XP SP2 compatibility).