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 34

post #331 of 824
Vt-d is needed because it allows for VGA pass through, which is the whole point of setting up a xen system. (in this context)
Getting a k series will guarantee you wont be able to do this.
As far as why? That's an intel decision.
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
post #332 of 824
Quote:
Originally Posted by nyxcharon View Post

Vt-d is needed because it allows for VGA pass through, which is the whole point of setting up a xen system. (in this context)
Getting a k series will guarantee you wont be able to do this.
As far as why? That's an intel decision.

thanks, Looks like I will need to try another solution to do my gaming.
Lightroom monster
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k stock (sadly) aswrock extreme 6 HD 5770 4x4g 1600 samsung wonder ram 
Hard DriveHard DriveOSOS
agility 3 samsung s Windows 7  linux mint 14x64 
KeyboardCaseAudio
cm storm blue  CM elite 355 marantz receiver into castle monitors 
  hide details  
Reply
Lightroom monster
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k stock (sadly) aswrock extreme 6 HD 5770 4x4g 1600 samsung wonder ram 
Hard DriveHard DriveOSOS
agility 3 samsung s Windows 7  linux mint 14x64 
KeyboardCaseAudio
cm storm blue  CM elite 355 marantz receiver into castle monitors 
  hide details  
Reply
post #333 of 824
Do you plan on overclocking? If not, the 3570 nonk is a great choice for this kind of setup, it's what I use.
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
Mini Build
(9 items)
 
   
CPUMotherboardGraphicsRAM
intel i7 4790k Asrock z97-e  Sapphire R9 290X G Skills 
Hard DriveCoolingOSOS
Samsung EVO  EK Water Blocks Windows 7 Debian  
Case
Bitfenix Mini Colossus  
CPUMotherboardGraphicsRAM
Intel i5-480M OEM Acer Nvidia GeForce GT 540M 4 GB DDR3 
Hard DriveOptical DriveOS
500 GB HDD DVD Drive Crunchbang Linux, Windows 7, BlackBuntu (triple... 
  hide details  
Reply
post #334 of 824
Quote:
Originally Posted by nyxcharon View Post

Do you plan on overclocking? If not, the 3570 nonk is a great choice for this kind of setup, it's what I use.

Yeah I did plan on over clocking, I might use vmware workstation or just dual boot.
Lightroom monster
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k stock (sadly) aswrock extreme 6 HD 5770 4x4g 1600 samsung wonder ram 
Hard DriveHard DriveOSOS
agility 3 samsung s Windows 7  linux mint 14x64 
KeyboardCaseAudio
cm storm blue  CM elite 355 marantz receiver into castle monitors 
  hide details  
Reply
Lightroom monster
(16 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570k stock (sadly) aswrock extreme 6 HD 5770 4x4g 1600 samsung wonder ram 
Hard DriveHard DriveOSOS
agility 3 samsung s Windows 7  linux mint 14x64 
KeyboardCaseAudio
cm storm blue  CM elite 355 marantz receiver into castle monitors 
  hide details  
Reply
post #335 of 824
Quote:
Originally Posted by Eggs and bacon View Post

Yeah I did plan on over clocking, I might use vmware workstation or just dual boot.

I'm not familiar with VMware workstation, but does it compare with Xen? I mean, does it even offer VGA passthrough?

As to the Intel CPUs with VT-d support, here is a list: http://ark.intel.com/search/advanced?VTD=true

But, strangely my 3930K is missing in this list, and it DOES have VT-d (the C2 stepping version).

I would go with one of the VT-d CPUs, even if you don't plan to use it now. You never know. I can't explain how happy I am that I don't have to dual-boot anymore.

Good luck!
post #336 of 824
Quote:
Originally Posted by evermooingcow View Post

Synergy (client) should work in UAC prompts, login screens, etc. Try opening the config as administrator and registering the client to start as a service if you have not tried that. Newer versions may handle it differently. installing as a service enables some extended functions.

Thanks! I need to look into it. Haven't had the time now.
post #337 of 824
Quote:
Originally Posted by nyxcharon View Post

So, back with my experiences after using this for a month or so.
1.Got my audio sorted. I originally got this pci card:
http://www.newegg.com/Product/Product.aspx?Item=N82E16829180004
It didn't work on linux or windows, so I gave up on that. Then settled for this:
http://www.newegg.com/Product/Product.aspx?Item=N82E16829128004
which works great. I then have a Y splitter running both my motherboard audio on linux and the usb adapter from windows into my speakers, so I have audio on both at the same time.
Seems to work out really well so far, though my overall audio output level has gotten cut because of it (somehow).
2.I have noticed the longer my windows VM runs, the worse my mouse input gets. I normally leave it on since it has it's own monitor with my setup, and about at the 10-12 hour mark it stops inputting correctly and becomes unusable. I just ended up passing through my USB ports on the front of my case and have my wireless mouse plugged into it. Works nicely.
3.Still have some issues with storage. I created a second disk for storage for my VM using virt-manager. Windows sees it and it shows up in device manager, but not in explorer. Not sure why that is. Haven't had time to work out a solution for it yet.
Overall, this is a great solution for me, and I'm pretty happy with it so far. Performance is amazing, and other then the occasionally odd bug(like the mouse) I haven't had any issues. I've been getting used to fedora over debian(after 6 years of debian) and it's been alright tongue.gif
Thanks for the guide, and all the help I got.! thumb.gif
At some point, I'd like to configure a second network adapter for both linux and windows with a static ip, and then run a samba server on linux and connect to it with the windows VM. It's really nice for transferring files, i used to do it in virtualbox with good results.

1. Glad you sorted out audio. I used the same method, though a different USB adapter.

2. I'm using a KVM and a dedicated passed through USB host for the Windows domU. So I switch between a non-passed through USB host for Linux and the other for Windows. It works great, but adds to the cable clutter.
I started to experiment with Synergy and this could be the ultimate solution, if only there weren't these issues with Youtube video and UAC admin screen in Windows. Once I find a little time I hope to make it work.

3. I've never used virt-manager to create a new storage device. I use LVM, create a PV, assign it to a VG and create a LV, but don't format it. Then just edit my win7.cfg file and add the new volume as:
Code:
disk = [ 'phy:/dev/mapper/lm13-win7,hda,w' , 'phy:/dev/mapper/photos-photo1_stripe,hdb,w' , 'phy:/dev/mapper/photos-photos_raw,hdc,w' ]
As you can see, I have 3 disks: lm13-win7 (the Windows system drive on a SSD); photos-photo1_stripe which is a striped LV using 2 physical disks (for RAID-like performance); and photos-photos_raw, a regular LV used for backup copies of my RAW photos. It works great.

I also have a Samba server under Linux and created a link under Windows to a shared directory. It also works nice, though I think the transfer speed could be better.
post #338 of 824
Quote:
Originally Posted by powerhouse View Post

I'm not familiar with VMware workstation, but does it compare with Xen? I mean, does it even offer VGA passthrough?
As to the Intel CPUs with VT-d support, here is a list: http://ark.intel.com/search/advanced?VTD=true
But, strangely my 3930K is missing in this list, and it DOES have VT-d (the C2 stepping version).
I would go with one of the VT-d CPUs, even if you don't plan to use it now. You never know. I can't explain how happy I am that I don't have to dual-boot anymore.
Good luck!

VMWare Workstation doesn't support VT-d, but you could have a Windows 7 host (on which you install your graphics-intensive applications/games) and boot your other Linux/Windows guests in Workstation. This is how my machine is currently configured. I have a Windows 7 Ultimate x64 host with 32GB of memory, and I always boot a Linux Mint 13 x64 guest when I start the machine up. The Mint guest runs MythTV for me (thank the electronic gods for the HDHomeRun tuners!) among other fun linuxy applications. I also have a Win 7 Home Premium VM and a few Linux VMs of various distributions that I spin up for short periods of time depending on what I need to do.

I would prefer to have a Windows 7 Ultimate x64 and Mint Linux 14 x64 VM running on Xen than having to depend on the stability of Windows and VMWare Workstation to get my TV shows recorded by MythTV on my Mint VM. Until I get the chance to shuffle around several terabytes worth of data, that's just the way things are going to have to stay.
post #339 of 824
Quote:
Originally Posted by nyxcharon View Post

3.Still have some issues with storage. I created a second disk for storage for my VM using virt-manager. Windows sees it and it shows up in device manager, but not in explorer. Not sure why that is. Haven't had time to work out a solution for it yet.

The reason your new disk doesn't show up in Explorer is because it hasn't yet been partitioned and formatted. What you need to do is go to the Control Panel, open Computer Management, and then select the Disk Management option in the panel on the left. This will bring up a graphical representation of all the disks you have attached to your Windows machine. You can select the new disk, partition it, format it to NTFS, and optionally set a drive letter and volume name of your choosing for it. Once it is formatted, it will show up in Explorer.
post #340 of 824
Thread Starter 
Quote:
Originally Posted by N0BOX View Post

The reason your new disk doesn't show up in Explorer is because it hasn't yet been partitioned and formatted. What you need to do is go to the Control Panel, open Computer Management, and then select the Disk Management option in the panel on the left. This will bring up a graphical representation of all the disks you have attached to your Windows machine. You can select the new disk, partition it, format it to NTFS, and optionally set a drive letter and volume name of your choosing for it. Once it is formatted, it will show up in Explorer.

I am still looking into getting disks ported to windows, but it is a long term goal. The way Qemu handles the disks is different than the way windows natively handles it, so it is a little daunting. I assume the best way to port over storage disks is to set up a samba share from the dom0. That way you don't have to reformat and lose data. Unfortunately I don't think this will work for system disks. There is supposedly a way to get system disks to work by installing the pv-ops drivers before trying to port it to a virtual machine then changing some boot sectors.
Test Chamber ITX
(14 items)
 
Dream Rig (AMD)
(11 items)
 
Dream Rig (Intel)
(11 items)
 
CPUMotherboardGraphicsRAM
i7-2600 Gigabyte H77N-wifi Radeon HD 7750 16GB Corsair DDR3 1600 CL 10 (@1333 CL 8) 
Hard DriveHard DriveOSPower
Corsair Force 3 180gb Seagate Barracuda STBD2000101 2x in RAID1 Lubuntu / Win 8.1 / CentOS 6.4 -- Xen 4.3 FSP 80+ Micro-ATX 450w 
Case
Fractal Node 304 
CPUMotherboardGraphicsGraphics
AMD FX-8350 ASRock Fatal1ty 990FX Professional Sapphire Radeon HD 7970 GHz Edition 3GB AMD FirePro W5000 
RAMHard DriveHard DriveCooling
G.Skill Trident X Series 32GB (4 x 8GB) DDR3-1866 Seagate Barracuda 1TB 3.5" 7200RPM x2 RAID 1 Corsair Force Series GT 120GB x2 RAID 0 NZXT Kraken X60 
PowerCaseOther
SeaSonic Platinum 860W 80 PLUS Platinum Lian-Li PC-100 (Black) ATX Mid Tower Case RaspberryPi 
CPUMotherboardGraphicsGraphics
i7-3930k ASrock X79 EXTREME4-M SAPPHIRE Radeon HD 7870 GHz Edition 2GB  AMD FirePro W5000 
RAMHard DriveHard DriveCooling
G.Skill Ripjaws Z Series 32GB (4 x 8GB) DDR3-1866 2x Corsair Force Series 3 180GB RAID 0 2x Western Digital Red 2TB RAID 1 Noctua NH-D14 SE2011 
PowerCaseOther
SeaSonic 660W 80 PLUS Platinum Silverstone TJ08B-E Integrated RaspberryPi 
  hide details  
Reply
Test Chamber ITX
(14 items)
 
Dream Rig (AMD)
(11 items)
 
Dream Rig (Intel)
(11 items)
 
CPUMotherboardGraphicsRAM
i7-2600 Gigabyte H77N-wifi Radeon HD 7750 16GB Corsair DDR3 1600 CL 10 (@1333 CL 8) 
Hard DriveHard DriveOSPower
Corsair Force 3 180gb Seagate Barracuda STBD2000101 2x in RAID1 Lubuntu / Win 8.1 / CentOS 6.4 -- Xen 4.3 FSP 80+ Micro-ATX 450w 
Case
Fractal Node 304 
CPUMotherboardGraphicsGraphics
AMD FX-8350 ASRock Fatal1ty 990FX Professional Sapphire Radeon HD 7970 GHz Edition 3GB AMD FirePro W5000 
RAMHard DriveHard DriveCooling
G.Skill Trident X Series 32GB (4 x 8GB) DDR3-1866 Seagate Barracuda 1TB 3.5" 7200RPM x2 RAID 1 Corsair Force Series GT 120GB x2 RAID 0 NZXT Kraken X60 
PowerCaseOther
SeaSonic Platinum 860W 80 PLUS Platinum Lian-Li PC-100 (Black) ATX Mid Tower Case RaspberryPi 
CPUMotherboardGraphicsGraphics
i7-3930k ASrock X79 EXTREME4-M SAPPHIRE Radeon HD 7870 GHz Edition 2GB  AMD FirePro W5000 
RAMHard DriveHard DriveCooling
G.Skill Ripjaws Z Series 32GB (4 x 8GB) DDR3-1866 2x Corsair Force Series 3 180GB RAID 0 2x Western Digital Red 2TB RAID 1 Noctua NH-D14 SE2011 
PowerCaseOther
SeaSonic 660W 80 PLUS Platinum Silverstone TJ08B-E Integrated RaspberryPi 
  hide details  
Reply
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