Overclock.net › Forums › Software, Programming and Coding › Operating Systems › {Guide} Create a Gaming Virtual Machine
New Posts  All Forums:Forum Nav:

{Guide} Create a Gaming Virtual Machine - Page 79

post #781 of 825
Hello!
I have a question regarding the multi OS support.

What do I would like to do?

I would like to have dual OS of Win 8 (both machine and virtual), while on real machine I'll be playing (or the other way around) and I'll run a another game in virtual machine using Steam (or any other) to stream into another PC. OR I could connect another set of mouse + keyboard to control the virtual OS with another monitor connected too.
Is this even possible?

What would it take to make it happen?
Having 2 discrete GPU's and strong 8-core CPU?

I was thinking of having a GTX 960 or some price AMD equivalent and 8-core AMD CPU like 8350 (since I already have AM3+ motherboard) + 6850 HD GPU I have right now.
I do also have 2 (or even 3) monitors available, so having multiple video output is no problem. I also count in investing in more RAM, 16 GB atleast I suppose.

If it would be possible to run 2 VMs on a Linux, it wouldn't still be such a problem. (If the fx-8350 could handle it).

Any advice would be very helpful!
post #782 of 825
Quote:
Originally Posted by Donach View Post

Hello!
I have a question regarding the multi OS support.

What do I would like to do?

I would like to have dual OS of Win 8 (both machine and virtual), while on real machine I'll be playing (or the other way around) and I'll run a another game in virtual machine using Steam (or any other) to stream into another PC. OR I could connect another set of mouse + keyboard to control the virtual OS with another monitor connected too.
Is this even possible?

What would it take to make it happen?
Having 2 discrete GPU's and strong 8-core CPU?

I was thinking of having a GTX 960 or some price AMD equivalent and 8-core AMD CPU like 8350 (since I already have AM3+ motherboard) + 6850 HD GPU I have right now.
I do also have 2 (or even 3) monitors available, so having multiple video output is no problem. I also count in investing in more RAM, 16 GB atleast I suppose.

If it would be possible to run 2 VMs on a Linux, it wouldn't still be such a problem. (If the fx-8350 could handle it).

Any advice would be very helpful!

sounds like you would want to set up the multiple VMs then have a dummy computer or 2 to remote to the VMs and play off of the VMs via a remote application.. windows rdp or equivalent etc etc... the issue that you would be doing is running into the actual input methods overriding the others.

most of this is just for a low level virtual environment that does not have a high overhead. in addition to that.. it is to allow passthrough commands to access the hardware directly. for example: if you just use virtual pc and try to run a dx11 game, it will not work due to it reading the generic graphics drivers of the virtual machine.

now with the hardware pass through it would allow the virtual machines to use the actual graphics cards as intended so on and so forth,

AS far as I can recall.. now unless I have missed something.. I am not sure that you can actually set the ports to connect to a particular VM.. that would be the only way.. mainly the issue is that you need direct access to the input media without the other virtual machines detecting it.
Wet Billy
(15 items)
 
PHENOM Phoenix
(13 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX 8350 @ 5.06GHz AsUS Sabertooth R2.0 xfx 280x DD Crucial Ballistex Tactical Tracer 1866Mhz 
Hard DriveOptical DriveCoolingCooling
Samsung 830 SSD 128GB LG BD-ROM/DVD Rewriter XSPC Raystorm RS240 kit A LOT OF FANS 
OSMonitorKeyboardPower
WIN 7 ultamate AOC 23" LED LCD Microsoft wireless laser 6000 Rosewill Capstone 750w 
CaseMouseMouse Pad
Coolermaster HAF 912 Microsoft wireless laser 6000 none 
CPUMotherboardGraphicsGraphics
phenom II x6 1100T MSI 990FXA-GD65 GTX 460 GTX 460 
RAMHard DriveOptical DriveCooling
Crucial Ballistix Tactical Tracer 8GB (2 x 4GB)... Samsung SSD 830  LG Blueray Coolermaster N520 
OSMonitorKeyboardPower
Win 7 Ultimate x64 AOC 1080p LED Microsoft OCZ 850w 
Case
Coolermaster HAF 912 
  hide details  
Reply
Wet Billy
(15 items)
 
PHENOM Phoenix
(13 items)
 
 
CPUMotherboardGraphicsRAM
AMD FX 8350 @ 5.06GHz AsUS Sabertooth R2.0 xfx 280x DD Crucial Ballistex Tactical Tracer 1866Mhz 
Hard DriveOptical DriveCoolingCooling
Samsung 830 SSD 128GB LG BD-ROM/DVD Rewriter XSPC Raystorm RS240 kit A LOT OF FANS 
OSMonitorKeyboardPower
WIN 7 ultamate AOC 23" LED LCD Microsoft wireless laser 6000 Rosewill Capstone 750w 
CaseMouseMouse Pad
Coolermaster HAF 912 Microsoft wireless laser 6000 none 
CPUMotherboardGraphicsGraphics
phenom II x6 1100T MSI 990FXA-GD65 GTX 460 GTX 460 
RAMHard DriveOptical DriveCooling
Crucial Ballistix Tactical Tracer 8GB (2 x 4GB)... Samsung SSD 830  LG Blueray Coolermaster N520 
OSMonitorKeyboardPower
Win 7 Ultimate x64 AOC 1080p LED Microsoft OCZ 850w 
Case
Coolermaster HAF 912 
  hide details  
Reply
post #783 of 825
I've got a couple questions regarding esxi virtualisation.
I'd like to run vmware esxi on my main rig and run a 'desktop' linux and a 'gaming' win 7 vm on it similar to this http://www.pugetsystems.com/labs/articles/Multi-headed-VMWare-Gaming-Setup-564/

is it possible to access the vsphere web client from inside the linux vm to start the win 7vm?
if i power down the rig do i need a laptop to turn on the 'desktop' vm remotely or is it possible to tell esxi to boot into a vm on powerup?
do i need 2 pairs of mice/keyboards?
post #784 of 825
Quote:
Originally Posted by burning chrome View Post

I've got a couple questions regarding esxi virtualisation.
I'd like to run vmware esxi on my main rig and run a 'desktop' linux and a 'gaming' win 7 vm on it similar to this http://www.pugetsystems.com/labs/articles/Multi-headed-VMWare-Gaming-Setup-564/

is it possible to access the vsphere web client from inside the linux vm to start the win 7vm?
if i power down the rig do i need a laptop to turn on the 'desktop' vm remotely or is it possible to tell esxi to boot into a vm on powerup?
do i need 2 pairs of mice/keyboards?

You can run a linux + kvm desktop on bare metal, and create a windows VM with a dedicated GPU, instead of having an hypervisor consuming resources under a virtualized desktop: take a look: https://bbs.archlinux.org/viewtopic.php?id=162768
Edited by nbhusain - 3/25/15 at 7:22pm
post #785 of 825
Hey guys reading the first post about the benefits:

Uninterrupted sessions of other VMs
Ability to run the latest games on a VM
Being able to use all that extra Memory and those Cores

Could anyone elaborate more about this? I'm new and would like to understand what are the real benefits to having a Gaming VM.

Thanks!
post #786 of 825
Quote:
Originally Posted by nbhusain View Post

You can run a linux + kvm desktop on bare metal, and create a windows VM with a dedicated GPU, instead of having an hypervisor consuming resources under a virtualized desktop: take a look: https://bbs.archlinux.org/viewtopic.php?id=162768

i'll check it out but i have zero experience with arch. i have however looked a bit into using xen on mint. vmware esxi with pcie passthrough just seems a lot easier to set up, at least in theory.

i have also thought about the keyboard/mouse problem and figured it should be possible to passthrough a usb port to each vm and connect a usb hub to each one.
Edited by burning chrome - 3/26/15 at 4:53am
post #787 of 825
Quote:
Originally Posted by burning chrome View Post

i'll check it out but i have zero experience with arch. i have however looked a bit into using xen on mint. vmware esxi with pcie passthrough just seems a lot easier to set up, at least in theory.

i have also thought about the keyboard/mouse problem and figured it should be possible to passthrough a usb port to each vm and connect a usb hub to each one.

You can do this with any distro, my guide is pretty much generic, there are some guide for ubuntu too: http://ubuntuforums.org/showthread.php?t=2266916 http://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/
post #788 of 825
Okay trying to do this KVM pass through on my system and running into some of the dumbest noob issues, I just can't seem to even get the OS installed! Talk about feeling neutered! I normally can figure out pretty much everything but can't seem to get two cdroms loaded with CMDline "Qemu" I need two ISO's so I can install drivers that are not in windows!


qemu-system-x86_64 -enable-kvm -m 4096 -cdrom win7_64.iso -boot d win7.qcow2

That is the loading line I was going to use but also tried to add another cdrom, anyone know the right way to word it, I have tried everything but the one that works I guess lol. Please help

I have Arch with BlackArch and ArchAssault repos, AUR as well, loaded pretty much everything hardware wise, I have VT-d and x set and loaded on boot, I have Virtio loaded on boot! I have a few GUI frontends but CMDline just works faster for me. Everything is updated daily BTW so running newest kernel
post #789 of 825


Well I got everything to work, I had a corrupt windows install disk/usb lol it seems. I am now down to getting the KVM Passthrough on the GPU working, any help would always be welcomed! I started this with no understanding on having to have two GPU's but not to fret I have another CPU to put into this system so I will be doing that after I get done compiling the kernel 3.19.3.3. I am updated to 4.01 kernel but rolling back to 3.19.3.3 is no big deal for me, worked great anyway! Again any help from anyone is welcome
post #790 of 825
Perhaps someone can help.

F20 Dom0 with kernel per Dizzys guide

Trying to launch a F18 DomU with a Nvidia Quadro card passed through but it won't pass it through and getting the following message which passes through only part of the card (i.e. 00:03:0.1 but not 00:03:0.0) - any ideas what the issue is?
Code:
[xenhost@dom0 ~]$ sudo xl pci-assignable-add 0000:03:00.0
[sudo] password for xenhost: 
libxl: warning: libxl_pci.c:654:libxl__device_pci_assignable_add: 0000:03:00.0 not bound to a driver, will not be rebound.
libxl: error: libxl_pci.c:350:sysfs_write_bdf: write to /sys/bus/pci/drivers/pciback/bind returned -1: No such device
libxl: error: libxl_pci.c:535:pciback_dev_assign: Couldn't bind device to pciback!: No such device
libxl: error: libxl_pci.c:659:libxl__device_pci_assignable_add: Couldn't bind device to pciback!
[xenhost@dom0 ~]$ sudo xl pci-assignable-add 0000:03:00.1
libxl: warning: libxl_pci.c:635:libxl__device_pci_assignable_add: 0000:03:00.1 already assigned to pciback

[xenhost@dom0 ~]$ sudo ./F18-RASP.sh
./F18-RASP.sh: line 6:  2323 Killed                  xl pci-assignable-add 00:03:0.0
Parsing config from /etc/xen/F18-RASP.sxp
xc: info: VIRTUAL MEMORY ARRANGEMENT:
  Loader:        0000000000100000->00000000001a2304
  Modules:       0000000000000000->0000000000000000
  TOTAL:         0000000000000000->0000000111800000
  ENTRY ADDRESS: 0000000000100000
xc: info: PHYSICAL MEMORY ALLOCATION:
  4KB PAGES: 0x0000000000000200
  2MB PAGES: 0x000000000000048b
  1GB PAGES: 0x0000000000000002
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:00:14.0
libxl: error: libxl_pci.c:1055:libxl__device_pci_add: PCI device 0:3:0.0 is not assignable
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:03:00.1
Daemon running with PID 2441
[xenhost@dom0 ~]$ sudo xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  1022     8     r-----      67.0
F18-RASP                                     3  4379     4     r-----      17.9
[xenhost@dom0 ~]$ sudo xl destroy 3
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:00:14.0
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:03:00.0
libxl: error: libxl_pci.c:1265:do_pci_remove: xc_deassign_device failed
libxl: error: libxl_pci.c:990:libxl__device_pci_reset: The kernel doesn't support reset from sysfs for PCI device 0000:03:00.1
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Operating Systems
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › {Guide} Create a Gaming Virtual Machine