Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was wondering which is the best method to go about if I want to play win based games.

I do not want to go with the dual boot method as this will cost me time to restart, login and run a os to do my work or pass the time, and some of my apps rely on win and my graphics to run. for example Daz3d, Photoshop, Flash etc.

Now I read about HVM(hardware virtual machines) and then I know about the 3D virtualisation of VMware and VirtualBox. How ever the 2 later virtualise the 3D not using the full power of the GPU. So this option wont perform perfect for latest games like D3.

I was wondering if anyone have experience in HVM(like xen if i am not mistaken) and tried something similar to access the full power of the GPU and successfully run newer games and other products relying on the GPU?

Will be the first time setting up a HVM, no experience in this so don't know what to expect.

This will help a lot as I do not want to revert back to win or as mentioned do dual boot.

share|improve this question

3 Answers

up vote 3 down vote accepted
  • Xen HVM is...exactly the same virtualization as VMware and Virtualbox; there's no difference. It's only called that because there's another kind called Xen PVM (para-virtualized), which can only run Linux VMs and is more efficient in some cases.

  • To be honest, while both VMWare and Vbox have rudimentary 3D support (Xen HVM has none -- it's mostly meant for servers), it will 99.9% be insufficient to run modern 3D games, no matter how powerful your CPU or GPU. You will have to dual-boot, unless your favorite games are Wolfenstein, Doom and Quake 1 :p

share|improve this answer
Thats kinda a -1 for linux on my side then, apart from the games i have the 3D applications in which I invested a fair amount of money. And they only support win and mac. And switching back to win is my very last option. Id rather have it as a vm than on my HD – Marchosius Jul 30 '12 at 12:41
FWIW, I use Photoshop and Flash (playing, not authoring) in a Win 7 VM on Ubuntu regularly and have no problems -- Photoshop does find the OpenGL support it needs. – izx Jul 30 '12 at 12:44
This i Know yes but it does not utilise the full power of the graphics card, which I need. Is there no way to be able to run two operating systems at the same time and be able to use the actual hardware of the box at the same time? Like a Cylon version of VMware lol – Marchosius Jul 30 '12 at 12:52
1  
I don't think this answer is correct nor up-to-date. AFAIK VMWare and probably Vbox too have more than just rudimentary support, but I'm not sure. And what it comes to XEN I believe your statement is 100% false: wiki.xen.org/wiki/Xen_VGA_Passthrough youtube.com/watch?v=L_g7ZBMWoLk&feature=related – Timo Lehto Oct 23 '12 at 7:16

With PCI/VGA Passthrough on Xen (and afaik kvm, too), people is playing on vm with direct hardware access passed to vm. With little to none decrese in performance. Vmware and Virtualbox are tools to toy.

share|improve this answer
beware: you'd gain these advantages by carefully choosing hardware iommu/vt-d capable.. – Arakno Nov 27 '12 at 19:28

Xen hypervisor allows you to run a Windows VM with direct access to your graphics card (hardware). This is called VGA passthrough. You can also directly access other PC hardware using PCI passthrough, for example USB host controllers, SATA controllers, etc., all of which will then be available under Windows, with Windows-native drivers.

BUT, as mentioned before, you need to carefully select your hardware. Here some basic guidelines to check if your hardware is compatible:

  1. Your CPU must support VT-d (Intel) or AMD-Vi / IOMMU (AMD) !!! Don't confuse it with VT-x - these are two different things. For Intel, see ark.intel.com. Note: The 3930K with C2 stepping also supports VT-d, but it's not listed when using the VT-d filter.

  2. Your motherboard (and motherboard BIOS) must have an option to enable VT-d (sometimes called IOMMU). Some BIOS implementations have been reported buggy, though. Still, if the option shows up, chances are good.

  3. A VGA-passthrough compatible graphics adapter. Many (most?) AMD graphics cards are supported, and some Nvidia cards, namely the professional "multi-OS" Quadro series (starting from the Quadro 2000 upwards). The Intel onboard graphics is supposedly also compatible. Search for "Xen VGA passthrough tested adapters". Note: It's best to have a another GPU (Intel onboard or separate graphics card) for your Linux, and pass-through the secondary GPU (the one NOT used by Linux).

If you got compatible hardware, it's definitely worth the effort. Search for "VGA passthrough" or "virtual gaming" to find tutorials, or try this here HOW-TO make dual-boot obsolete which is based on Linux Mint 13 (should be similar for Ubuntu).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.