LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 01-11-2015, 11:45 PM   #1
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Game in a VM?


Hi,

I'm planning to buy a laptop with no default Windows installed since I'll be installing CentOS on it. However, I'd like to play Dota 2, and I have no plan on using wine. Is anybody here playing Windows games in a VM, say VirtualBox? Is the performance acceptable? I'm kind of concerned about the graphics performance.

Cheers!
 
Old 01-12-2015, 02:26 AM   #2
cepheus11
Member
 
Registered: Nov 2010
Location: Germany
Distribution: Gentoo
Posts: 286

Rep: Reputation: 91
Dota 2 works native on linux, I tried it once a long time ago. This was under ubuntu, I don't know about CentOS.

Regarding your question: Graphics performance is only acceptable if one uses Virtualbox's "PCI passthrough" functionality, which can dedicate a whole graphics card to the guest windows' graphics driver. But you need a second graphics card for that, which rules out most notebooks.
 
Old 01-12-2015, 02:31 AM   #3
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
Virtual Box guest tools should be installed in Windows in VM. It will provide some acceleration. But I don't know whether Dota 2 would run or not.
 
Old 01-12-2015, 10:41 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
VirtualBox's OpenGL virtualization sucks. The reason is that a virtualized guest needs to use special VirtualBox graphics drivers.

Visual novels should play well, but not 3D intensive games like DOTA2.

Fortunately, DOTA2 (as mentioned) is Linux native.
 
Old 01-12-2015, 12:27 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
why Virtual Box ???

CentOS 7.0 has KVM built in to the OS
 
Old 01-12-2015, 02:11 PM   #6
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Manjaro, might try Slackware again
Posts: 1,851
Blog Entries: 14

Rep: Reputation: 284Reputation: 284Reputation: 284
Graphics performance is native speed under KVM with VGA passthrough, if your notebook has intel graphics and a AMD or Nvidia card, as some do, that'd be a solution... or you could dual boot.
 
Old 01-13-2015, 06:32 PM   #7
kuyalfinator
Member
 
Registered: Jul 2003
Location: Los Angeles
Distribution: RedHat8 2.4.18-14 RedHat9 2.4.20-8 FreeBSD 5.2.1 Ubuntu 10_4 Mandrake 2.4.21-0.13mdk
Posts: 118

Rep: Reputation: 16
When I played games in a virtual machine, I used http://www.vmware.com/products/workstation. One of the games I used was http://maplestory.nexon.net/landing/. At the time, my graphics card was NVidia GeForce 256 MB, but the graphic card has failed after 3 years of use. The virtual machine did depend on the host graphic driver.
 
Old 01-18-2015, 08:48 AM   #8
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Quote:
Originally Posted by mostlyharmless View Post
Graphics performance is native speed under KVM with VGA passthrough, if your notebook has intel graphics and a AMD or Nvidia card, as some do, that'd be a solution... or you could dual boot.
IIRC that needs hardware IOMMU support. Doubt notebooks have that. Besides, most such dual solutions cannot function as 2 separate cards AFAIK.

Last edited by gradinaruvasile; 01-18-2015 at 08:49 AM.
 
Old 01-18-2015, 08:21 PM   #9
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939Reputation: 3939
If the game's important to you, what if you flipped the scenario end-for-end?

Go ahead and install Windows on the box, as its native operating system.

(As a matter of course, I purchase fully-licensed retail versions of the Windows-OS that I need, "wipe the sucker clean," and install from that distribution media. Yes, "I give the devil his due," and never give "OEM versions" the time-o-day.)

Then, install Linux into a virtual machine, using VirtualBox or a commercial product such as VMWare, and let Windows be the host.

I suggest that you use an entirely separate disk drive ... whether internal, or FireWire-equivalent externally connected ... to host the Linux VM. In other words, don't monkey-around with partitioning or dual-booting or any of that. An entirely separate disk drive supporting the needs of a virtual Linux machine, on a Windows host that is known to be suitable (both in terms of hardware and software) for running that game.

If "the game" is the deal-maker ... if it is "The Killer App™" ... then: "so be it." Let it be the Killer App, and base your hardware decisions accordingly. You may be dumbfounded to discover that Microsot Windoze is actually a perfectly satisfactory host built by very competent software engineers.

Last edited by sundialsvcs; 01-18-2015 at 08:25 PM.
 
  


Reply

Tags
games, virtualbox



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Double Fine's New Game Hack 'N' Slash Has A Trailer, Game Out Next Month LXer Syndicated Linux News 0 04-29-2014 04:10 AM
LXer: Game Dev Tycoon - A business simulation game released for Linux LXer Syndicated Linux News 0 04-30-2013 02:42 AM
LXer: Indie Game M.O.R.E. - old school turn-based 4X space strategy game. LXer Syndicated Linux News 0 10-15-2012 05:10 AM
LXer: Linux Game Devs Upload Their Own Game on Pirate Bay, Strangely It Increases Sales LXer Syndicated Linux News 0 09-13-2011 08:21 PM
LXer: Popular Board Game Memoir '44 Comes to Linux as an Online Computer Game LXer Syndicated Linux News 0 07-13-2011 03:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration