Virtual Machine for programs and games?

Questions about virtualization software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
SyncroScales
Level 4
Level 4
Posts: 369
Joined: Thu Jul 20, 2017 4:30 am
Location: Canada

Virtual Machine for programs and games?

Post by SyncroScales »

Hi,

I was wondering if people have set up virtual machines to specifically have a gaming OS within their main OS? Probably for Windows or Linux. I am not sure about tablet/phone or Apple Mac programs.

And are there users who set up machines to use and or install .deb or .tar and other programs that are not in the Software Manager? Maybe for the newest releases instead of older versions in the Software Manager?

Would you separate them and have multiple OS's for each type of the programs or games (single or multi player)?

Does this help with networking, multi-player or stuff related to connecting to other servers?

I don't know if it is necessary for group chat (Skype, WhatsApp, VoIP, etc)? Or for school or work?

I am just curious.

Thanks.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop:ASUS M3N78-VM, AMD Phenom II 965 3.4GHz, 3.5GBRAM(4GB), XP SP3/Vista SP2/LinuxMintCinnamon64-bit, nVidia GeForce GT 430. Laptop:AMD Athlon 64 X2 DualCore 3800+ 2GHz(AMD QL-62), 3GB RAM, Vista SP2/LinuxMintCinnamon64-bit, ATI 3100.
gittiest personITW
Level 12
Level 12
Posts: 4285
Joined: Tue May 28, 2019 4:27 pm

Re: Virtual Machine for programs and games?

Post by gittiest personITW »

Depends on the game/the computer hardware/how much you are willing to sacrifice in terms of speed.
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Virtual Machine for programs and games?

Post by AndyMH »

General consensus is not for games or anything graphics intensive. Also note from your sig that you don't have much RAM in your PCs. I run my win VMs with half my RAM, my PCs either have 8 or 16GB RAM.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
SyncroScales
Level 4
Level 4
Posts: 369
Joined: Thu Jul 20, 2017 4:30 am
Location: Canada

Re: Virtual Machine for programs and games?

Post by SyncroScales »

Depends on the game/the computer hardware/how much you are willing to sacrifice in terms of speed.
How bad can this get? Say you want 1080p or 4k med - high settings.

About security: Do people on this forum who game use a different system from their main? For security? I don't understand about this part of how to keep your system more secure or locked down.

The live streaming, multiplayer, multiple web-sites and social media stuff. It's a bigger attack surface?

I don't know about Steam, gog.com, new titles, any AAA titles, etc. I just tested some stuff from the Package Manager to see how it runs on the hardware I am using. I am not a gamer, the music is good. The quality and FPS for the hardware being used was good. High, higher settings, I was getting 60-90+ FPS. But that is in game FPS and not how a screen capture might handle it, or multiple tasks from system and programs during gameplay.

The programing and games in the Software Manager themselves are done quite well. Even though they are not the newest. I think it could use some more styles of games for who would use that section.

Using screen capture and media programs to handle the files is useful, and more of what I am trying to understand.

AndyMH: I was trying to get Windows XP working to test it as a VM. I gave it half the RAM 2G and processor 2 cores, 1.7GHz, but have had to tweak it. I have not been able to get anything intensive to work with that project though. Yes the systems need some better hardware.
Desktop:ASUS M3N78-VM, AMD Phenom II 965 3.4GHz, 3.5GBRAM(4GB), XP SP3/Vista SP2/LinuxMintCinnamon64-bit, nVidia GeForce GT 430. Laptop:AMD Athlon 64 X2 DualCore 3800+ 2GHz(AMD QL-62), 3GB RAM, Vista SP2/LinuxMintCinnamon64-bit, ATI 3100.
greengnome
Level 2
Level 2
Posts: 74
Joined: Wed Oct 16, 2019 6:41 am

Re: Virtual Machine for programs and games?

Post by greengnome »

I keep a Debian VM with an old version of Nethack on it and a save game I one day want to finish. Not sure if that counts :)
Never tried Windows games through VM, but I run Visual Studio that way.
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Virtual Machine for programs and games?

Post by AndyMH »

SyncroScales wrote: Fri Oct 29, 2021 11:26 pm About security: Do people on this forum who game use a different system from their main? For security? I don't understand about this part of how to keep your system more secure or locked down.
Comes up with monotonous regularity. I do nothing special, I've already taken the most important step - I use linux. WRT win VMs - I do not access the internet from them. Bad practice - I share the whole of home with my VMs, bad idea, restrict shares in your VM to single folders. Do not install wine - gives the system an ability to run .exe (it will still ask before doing), broken that one as well, I use crossover (the commercial version of wine). Dual boot - win cannot read linux filesystems, you can install utilities in win to do this, my view - bad idea. In the end it comes down to how paranoid do you want to be. I don't game.
The programing and games in the Software Manager themselves are done quite well. Even though they are not the newest. I think it could use some more styles of games for who would use that section.
The principal goal of mint is stability and reliability. That is why you don't get the 'latest and greatest'. If you want that you need to use a 'rolling release', e.g. Arch linux (with all the attendant problems that come with them, like breaking your system). Generally if you use a rolling release you need a lot more linux-fu, I want an easy life, mint 'just works'.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
User avatar
absque fenestris
Level 12
Level 12
Posts: 4110
Joined: Sat Nov 12, 2016 8:42 pm
Location: Confoederatio Helvetica

Re: Virtual Machine for programs and games?

Post by absque fenestris »

SyncroScales wrote: Sat Oct 23, 2021 5:46 am ...
And are there users who set up machines to use and or install .deb or .tar and other programs that are not in the Software Manager? Maybe for the newest releases instead of older versions in the Software Manager?
...
Hi SyncroScales
I have loaded all current Mint variants and Debian KDE in VirtualBox for this very purpose. 4 GB RAM and 4 cores are provided per virtual OS.
The results are mixed - for example Firefox runs well, Vivaldi is sluggish - GIMP runs surprisingly well, Krita on the other hand is unusable. Other programs somewhere in between... this on my laptop, on other hardware it might look completely different.
VirtualBox is certainly suitable for trying out a program and taking a closer look at it. If something goes wrong, such a virtual operation system is quickly deleted (...and VirtualBox snapshots are quickly loaded again).
As you can see, a general statement can hardly be made, because programs behave too differently and unpredictably, but VirtualBox is definitely worth a try (and is also fun, if you like to play around with systems and programs).
User avatar
SyncroScales
Level 4
Level 4
Posts: 369
Joined: Thu Jul 20, 2017 4:30 am
Location: Canada

Re: Virtual Machine for programs and games?

Post by SyncroScales »

Thanks for the infromation.

What I am not fully understanding is the snap shot, save the machine state, send shut-down signal, power down.

So the Snap shot will not let time pass in the VM? Does the actual date change this? E.G.: Trying to get an old copy of Windows activated after 30 days have passed because of closing the virtual machine, the 30 days passing has been noted in the OS. A snap shot will not do that?

How do you get drivers, programs, etc to install into a Windows VM? I made another .vdi partition/file onto a second drive. But I cannot drag and drop things into it.
Desktop:ASUS M3N78-VM, AMD Phenom II 965 3.4GHz, 3.5GBRAM(4GB), XP SP3/Vista SP2/LinuxMintCinnamon64-bit, nVidia GeForce GT 430. Laptop:AMD Athlon 64 X2 DualCore 3800+ 2GHz(AMD QL-62), 3GB RAM, Vista SP2/LinuxMintCinnamon64-bit, ATI 3100.
iliketrains
Level 4
Level 4
Posts: 241
Joined: Wed Aug 26, 2020 6:32 pm

Re: Virtual Machine for programs and games?

Post by iliketrains »

Assuming this conversation is about virtualbox..........
If the plan is running a Windows guest on Linux host for gaming there's a potential problem.
Depending on the version of Windows and the version of virtualbox there may be no 3D acceleration.
Check the virtualbox manuals and forum to read about those limitations.

At one time Microsoft made available a free image for developers that needed to be "re-armed" periodically. I ran Windows 7 in virtualbox that way for a while. That may still be a possibility or maybe not. These days when I need Windows it's as a dual boot.
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Virtual Machine for programs and games?

Post by AndyMH »

iliketrains wrote: Mon Dec 06, 2021 1:37 pm Depending on the version of Windows and the version of virtualbox there may be no 3D acceleration.
Win7, 3D acceleration is fine, win10 not, from memory the win menu wasn't displaying correctly. Win7 is fine in seamless mode, win10 not, I still have the windows desktop.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Petermint
Level 9
Level 9
Posts: 2979
Joined: Tue Feb 16, 2016 3:12 am

Re: Virtual Machine for programs and games?

Post by Petermint »

I found VM too much of an overhead when I had only 4 GB and used dual boot instead. You could dual or triple boot LM for a separation of different projects.

Games on Linux Mint improve faster than you can type out a list of what works or does not. Your favourite game might now run without anything special.

As mentioned by other people, the VM overhead for graphics can be very bad. A VM also creates extra work to mount a USB stick and perform other simple operations. I would first look at Firejail and equivalent for running Internet connected programs without the overhead of a VM. VM would be down my options list somewhere after tossing my computer in the bin and taking up swimming instead.
Suwakoto
Level 2
Level 2
Posts: 55
Joined: Wed Jun 09, 2021 2:07 pm

Re: Virtual Machine for programs and games?

Post by Suwakoto »

Creating a virtual machine that you can play games on is absolutely doable, I have one right now. It may not give me native performance but it's close enough to the point where I don't really care. But do keep in mind that you need a fair bit of hardware oomph, something like 2 cores and 4GB of RAM won't cut it. I'd say the minimum requirements are 4 cores and 8GB of RAM, if you have something below that (or some very resource-intensive games) then dual boot will be the better option. Furthermore, to get a virtual machine capable of graphics-intensive games, you need PCI Passthrough, which can be a bit of a pain to set up, plus it requires that you learn to use KVM instead of the more popular choices of VirtualBox or VMWare.
legacypowers
Level 4
Level 4
Posts: 270
Joined: Sat Dec 19, 2020 8:53 am

Re: Virtual Machine for programs and games?

Post by legacypowers »

Modern gaming on VM's for me have two pre-requisites
1 - Extra GPU for GPU passthrough
2 - Extra RAM for the VM(like having 12GB and reserving 8GB for the VM, also making sure that the VM memory is not swappable)

For programs, VM's are great for me, i totally use Windows VM them for some stuff, for example my work vm run windows, have teamviewer installed, and other proprietary tools.
Terminal - zsh wrote: ╭─legacy@forums.linuxmint.com
╰─➜ _
User avatar
SyncroScales
Level 4
Level 4
Posts: 369
Joined: Thu Jul 20, 2017 4:30 am
Location: Canada

Re: Virtual Machine for programs and games?

Post by SyncroScales »

I am here to learn.

The main goal is that if and when the hardware dies, I might not be able to install Windows XP or Vista for some old programs. I do have a separate HDD with Windows on it. I can boot into that right now. It's not a problem.

I still use an old version of Corel Paint Shop Photo Pro. Just basic stuff when needed. But it will take time to get use to and use GIMP. I have old file converters incase I have trouble with video on Linux. I can't get rid of Windows yet.

3 HDD's died and 2 were new. I have to be prepared. The problem has been registering Windows XP and getting the internet working. I have to re-install it again in the VM and if I cannot update the drivers, or install all the programs and get them into the VM it is a problem.

If this ends up working, buying some extra RAM, an SSD or something else is justifiable.
Desktop:ASUS M3N78-VM, AMD Phenom II 965 3.4GHz, 3.5GBRAM(4GB), XP SP3/Vista SP2/LinuxMintCinnamon64-bit, nVidia GeForce GT 430. Laptop:AMD Athlon 64 X2 DualCore 3800+ 2GHz(AMD QL-62), 3GB RAM, Vista SP2/LinuxMintCinnamon64-bit, ATI 3100.
legacypowers
Level 4
Level 4
Posts: 270
Joined: Sat Dec 19, 2020 8:53 am

Re: Virtual Machine for programs and games?

Post by legacypowers »

SyncroScales wrote: Sat Dec 11, 2021 1:42 pm 3 HDD's died and 2 were new. I have to be prepared. The problem has been registering Windows XP and getting the internet working. I have to re-install it again in the VM and if I cannot update the drivers, or install all the programs and get them into the VM it is a problem.
registering XP and getting internet working in the virtual machine?
Terminal - zsh wrote: ╭─legacy@forums.linuxmint.com
╰─➜ _
shoaibiqbal123
Level 1
Level 1
Posts: 18
Joined: Thu Nov 25, 2021 5:32 am

Re: Virtual Machine for programs and games?

Post by shoaibiqbal123 »

I thinks improved VRAM can help above 12gb
User avatar
AndyMH
Level 21
Level 21
Posts: 13716
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: Virtual Machine for programs and games?

Post by AndyMH »

It's a long time since I did it, but don't recall having to register XP when I installed it in a VM. Can't remember where I downloaded it from either! I only have XP for a Saab maintenance manual which will only run under XP (not win7). If an old version of paint shop pro, it might run under wine or crossover (the commercial version of wine, you can try it for free). Does it run under win7?

Depending on how much of a 'power' user of paintshop you are it may be worth looking at pinta and krita as alternatives to gimp. They are simpler.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
HaveaMint
Level 6
Level 6
Posts: 1085
Joined: Fri Feb 02, 2018 9:56 pm

Re: Virtual Machine for programs and games?

Post by HaveaMint »

I have had decent luck using a windows installation on a different drive to install some games and then going back to mint and run the game with proton through steam. Some work and some don't. I would guess that other software may have the same luck but it is a trial and error.
"Tune for maximum Smoke and then read the Instructions".
Nikolai5
Level 4
Level 4
Posts: 309
Joined: Thu Dec 23, 2021 5:25 pm
Location: Northern England

Re: Virtual Machine for programs and games?

Post by Nikolai5 »

I do everything locally with one exception and that is I have a windows 10 virtual machine as I also work from home where I run a restrictive VPN to a customer's system, which would otherwise screw my networking up.

Otherwise I use Proton Steam and then WINE to play classic games. I know this is technically a security issue as it means I've basically made my computer more compatible with windows exploits and added more "holes", but I value simplicity.

I've found WINE runs old games (Windows 2000 era) better than Windows does, so it may be the same for non-gaming related applications as well.
User avatar
SyncroScales
Level 4
Level 4
Posts: 369
Joined: Thu Jul 20, 2017 4:30 am
Location: Canada

Re: Virtual Machine for programs and games?

Post by SyncroScales »

legacypowers - Activate it over the internet or call Microsoft. I am mistaking the term. 30 days passed and I only had a black screen. A message kept telling me to call Microsoft.

Some other programs want activation or registration too. I don't know how to get around it. When activating the programs or games, etc it won't lock you out of the programs, or it enables more features.

I have looked at Krita, but am not using it. I am trying to avoid Wine and all of that. I do want to learn about the VM's.

I'll try a USB stick and see what I can do.

To make this simple, if I read all of the manuals and documentations of Virtual Box, VMWare and KVM will I be able to setup Windows XP and then start installing updates for it?, assuming Windows Update works. Then install software I want to and be able to take the patches and updates I have, to be able to put them into the VM and apply them. All of it will run as if I installed Windows XP and the software onto a Windows XP compatible computer?
Desktop:ASUS M3N78-VM, AMD Phenom II 965 3.4GHz, 3.5GBRAM(4GB), XP SP3/Vista SP2/LinuxMintCinnamon64-bit, nVidia GeForce GT 430. Laptop:AMD Athlon 64 X2 DualCore 3800+ 2GHz(AMD QL-62), 3GB RAM, Vista SP2/LinuxMintCinnamon64-bit, ATI 3100.
Locked

Return to “Virtual Machines”