Virtual Machines and Graphics Cards

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Hawkwings
Sith Devotee
Posts: 3372
Joined: 2005-01-28 09:30pm
Location: USC, LA, CA

Virtual Machines and Graphics Cards

Post 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.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

I think VMWare supports DX7 graphics, but that's about it.
User avatar
Hawkwings
Sith Devotee
Posts: 3372
Joined: 2005-01-28 09:30pm
Location: USC, LA, CA

Post by Hawkwings »

Yeah, but does it emulate a graphics adapter or use the physical one?
User avatar
Netko
Jedi Council Member
Posts: 1925
Joined: 2005-03-30 06:14am

Post 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.
User avatar
Braedley
Jedi Council Member
Posts: 1716
Joined: 2005-03-22 03:28pm
Location: Ida Galaxy
Contact:

Post 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.
Image
My brother and sister-in-law: "Do you know where milk comes from?"
My niece: "Yeah, from the fridge!"
User avatar
Netko
Jedi Council Member
Posts: 1925
Joined: 2005-03-30 06:14am

Post 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).
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post 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.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Hawkwings
Sith Devotee
Posts: 3372
Joined: 2005-01-28 09:30pm
Location: USC, LA, CA

Post 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?
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post 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.
User avatar
Hawkwings
Sith Devotee
Posts: 3372
Joined: 2005-01-28 09:30pm
Location: USC, LA, CA

Post 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.
User avatar
Netko
Jedi Council Member
Posts: 1925
Joined: 2005-03-30 06:14am

Post 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.
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post 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.
User avatar
Resinence
Jedi Knight
Posts: 847
Joined: 2006-05-06 08:00am
Location: Australia

Post 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).
“Most people are other people. Their thoughts are someone else's opinions, their lives a mimicry, their passions a quotation.” - Oscar Wilde.
Post Reply