27

Currently I am using Windows 8. I have a virtual box with Ubuntu set up for development. Aside from that I sometimes just want to relax and enjoy a game (Battlefield 3, Skyrim, Saints Row: The Third, etc) after hours of research and development.

I want to have my main machine with linux, and install windows on a virtual box.

What I want to know, from those who have tried or seen it:

  • How is the performance?
  • I've never been clear on this but, even if I install the correct drivers on the windows box, will it matter? At least on this part, I'm just curious how it offload. Which drivers will matter the most.
  • Mouse and Keyboard integration, I'll be honest, sometimes the mouse integration in Virtual Box is a bit frustrating, mouse cursor disappears, etc.

I'm not sure if this is the right place to ask. I'm merely trying to come back to linux, yet I'm a PC gamer so I can't throw away Steam. I'm aware of the linux client, but most of those games won't work.

If there's a right place to ask this whether StackExchange sites or any other site let me know.

Cheers and I hope those in the same position find a middle ground.

allenskd
  • 1,288

7 Answers7

19

Gaming in a Virtual box is a bad idea. You wont have the great 3D support that you desire and applications that require a lot of resources will lag. Some games will probably work, like minecraft and minesweeper. But running heavy programs like Battlefield, Skyrim and similar will not work.

The reason for this is that you are basically running two operating systems within each other and the one you will be emulating will be limited to a small portion of that computers resources.

A solution to this problem is dual boot. For example you have one partition with Linux (where you are all serious and stuff) and one partition with windows (for gaming). I had this setup on my laptop for several years it works great.

There are instructions in the Ubuntu installer for how you install with a dual boot setup. The easiest is to install Windows first and then install Ubuntu.

Good luck.

Alvar
  • 17,038
14

Personally, I have mixed results running games in Virtualbox. But I can play some of my favorites. There is a (really small) wikia site with some results about working and non-working games at http://virtualbox-gaming.wikia.com/ if you want to take a look or even post your own results.

somoso
  • 664
devnull
  • 141
9

You might want to look at something called Kainy. This is a remote desktop implementation that is specifically for gaming.

It sounds like having a Windows PC on your network to run the games might be OK, if you play the game from where you wanted. Kainy has a server for Windows, and clients for a number of OS, and game systems. They don't have a server for Linux, though.

As far as gaming on VirtualBox, I think it would be OK if VirtualBox had better graphics accelerator support. I think the emulation argument is a bit exaggerated. Windows is executing with the same processor it expects, no added expense there. VirtualBox mediates Windows hardware calls, and there may be some overhead.

The big problem is that VirtualBox is not built for gaming, supporting 3D graphics is not a priority. Nonetheless, if you have an older game that is not requiring graphics support beyond what VirtualBox has, I don't see why you wouldn't go ahead and run it there.

edwin
  • 3,829
2

The, "Windows only", Star Trek game, Elite Force II (Quake 3 based) is working (Full-screen, 1024x768, and fast), in my Virtual box (experimental graphic ON), on my painstakingly (XP's .net fix poo) installed, XP Pro (32bit updated) "virtual machine".

My VB is running on a stable base/foundation, host OS of Debian 7 (wheezy/stable 64bit). You can run Ubuntu....

BTW, my DM is Mate, as I have custom added the stable, Mate repos, and custom added Mate's parts (after painstakingly removing most of Gnome 3 = advanced work).

The Linux Mint installer (Ubuntu based, with Mate for your 32 bit, or 64bit system)... is the easy way. VB, and over Ubuntu complied packages, not Debian (pure) ones, should be about the same. Use Ubuntu if you already have it.

Spanky
  • 21
2

There's a bunch of answers here which tell you that running games over virtualised hardware is a bad idea, and won't get you good performance for gaming. So don't do that.

I'm not sure about virtualbox, but I've seen people talk about considerable success by having hardware dedicated to the virtual machine, albeit what I've seen mostly concerned using Xen or VMWare. Specifically, they use a separate graphics card and sound card, and a dedicated disk partition. The linux system likely won't even have drivers for the hardware that is used by your windows gaming VM, and certainly won't connect to them. Problems seem to be more with the sound than the graphics.

I haven't gone down this road myself, so I won't try to specifics of how you'd set this up. TBH, for the time it'd take to get this running well (unless I had a very specific recipe to follow), I think I'd rather put a separate machine under my desk and hook up my Keyboard, mouse and screen via a KVM switch.

mc0e
  • 368
1

For me, It have worked pretty well, decided to go for the advanced run. Wanted to try GPU-Passtrough (shortly, you make the VM has access to the GPU entirely) Needles to say, I could play games, at full graphics, and Virtual Reality. So yes It worked pretty well with GPU Passtrough, With only virtualbox, Yeah It was acceptably good to at least play, (maybe not on the highest graphics but..)

Jane
  • 1,085
1

This is an older question, but I'm adding a comment for others that are looking for help. A friend asked me for advice on this after reading this post.

Using the WINE facility works much better than VirtualBox, especially for older games written for WinXP and earlier. I'm a huge fan of the old Star Trek Armada II game, which runs great on Ubuntu using WINE. It actually runs much better using WINE under UBUNTU-MATE than it does on Windows 10 on the same machine.

The PlayOnLinux package for UBUNTU is a great help. For games that have problems with the WINE defaults, the PlayOnLinux helps with their configuration. If the game you want to install isn't listed, you use the link at the bottom to "install a non-listed program". Ones that run without any special configuration are often no on the list. The best thing is that it will let you have a separate virtual C: drive for each game you install. This is really helpful because older games sometimes used DLLs that could conflict with others and cause problems. By each game you install having its own virtual C: drive, they never conflict with one another.

Greg