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 4

post #31 of 824
I am going to buy a new pc and i really want to use a 2 or 3 fanless GPUs (in addition to integrated GPU for the host). i was wondering if you happen to know (or if you could test) an SLI or CrossFire configuration in Xen or KVM? It would really make a huge difference for me because otherwise i will need to buy one powerfull noisy GPU, and i'd rather not smile.gif Thanks.
post #32 of 824
Thread Starter 
http://www.youtube.com/watch?v=L_g7ZBMWoLk

Here is a video of 2 machines with 2 cards (I think) and it's working alright. Still no word on crossfire and I have no way to test it... ITX board over here redface.gif

But hey, it's great to see it working on an AMD platform!
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
post #33 of 824
Quote:
Originally Posted by dizzy4 View Post

I do not believe your motherboard supports VT-d, so you would need a different one before attempting this. If I had a larger system (not ITX) I would try it for myself. Currently I am not able to get my iGPU passed through to a guest, but it does work on the dom0 while the radeon powers one VM at a time.

I was actually testing this out on a 1055T+990FX-UD5 (same board as above video) which has IOMMU support. I could find very little information on Multi-GPU passthrough, and what info I did find didn't elaborate on how to do it.
The Box
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 D0 @ 3.8 GA-EX58-UD4P Radeon 4890 6G Patriot Viper + 12G Mushkin 
Hard DriveOSPower
Intel X-25E/Seagate 7200.11 1.5TB Windows 7 Corsair 650TX 
  hide details  
Reply
The Box
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 D0 @ 3.8 GA-EX58-UD4P Radeon 4890 6G Patriot Viper + 12G Mushkin 
Hard DriveOSPower
Intel X-25E/Seagate 7200.11 1.5TB Windows 7 Corsair 650TX 
  hide details  
Reply
post #34 of 824
Thread Starter 
Quote:
Originally Posted by sks72 View Post

I was actually testing this out on a 1055T+990FX-UD5 (same board as above video) which has IOMMU support. I could find very little information on Multi-GPU passthrough, and what info I did find didn't elaborate on how to do it.

The way the video is set up would seem pretty straight forward; one GPU per virtual machine. I assume that having two passed through to one machine in itself is not a problem and could be used separately with no issues. The problem could be when they are connected with a crossfire bridge. It might just work, but I know the hypervisor has to collect the interrupts and send them to the right VM. I don't think it would really be a problem, but we won't know until someone tries smile.gif
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
post #35 of 824
Sounds like a challenge. biggrin.gif

Apparently there are some patches required to make it work though:

http://old-list-archives.xen.org/archives/html/xen-devel/2010-05/msg00441.html

What version of Xen are you using? I was using 4.0.x, there may be some changes in newer version that make this easier.
Edited by sks72 - 4/9/12 at 12:25pm
The Box
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 D0 @ 3.8 GA-EX58-UD4P Radeon 4890 6G Patriot Viper + 12G Mushkin 
Hard DriveOSPower
Intel X-25E/Seagate 7200.11 1.5TB Windows 7 Corsair 650TX 
  hide details  
Reply
The Box
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 D0 @ 3.8 GA-EX58-UD4P Radeon 4890 6G Patriot Viper + 12G Mushkin 
Hard DriveOSPower
Intel X-25E/Seagate 7200.11 1.5TB Windows 7 Corsair 650TX 
  hide details  
Reply
post #36 of 824
Thread Starter 
Quote:
Originally Posted by sks72 View Post

Sounds like a challenge. biggrin.gif
Apparently there are some patches required to make it work though:
http://old-list-archives.xen.org/archives/html/xen-devel/2010-05/msg00441.html
What version of Xen are you using? I was using 4.0.x, there may be some changes in newer version that make this easier.

I am using Xen 4.1.2 which seems like a breeze compared to the patching I have seen in wikis. 4.1.2 has some of the better patches applied and really makes this a lot easier. It tends to just work for older Nvidia cards (pre GTx 200 series) and Radeon HD series cards.

Scripts are coming along too. I am about 75% done (i think).
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
post #37 of 824
About the UEFI, I don't know what I did differently but it just didn't work. Reinstalled in BIOS mode and it works fine now. I have the exact same motherboard and processor as you. I'm going to put this project on the back burner. I can't get my builtin audio card to work well passed through; it keeps buzzing on the outputs and dropping input. I can 100% confirm that my graphics card works fully passed through.

One other thing I discovered going through the audio passthrough is a limitation in Xen. Only so many devices can be passed through before it runs out of PCI reserved memory space. I had to disable the Xen video device in Device manager to allow enough space for the audio card and
graphics card. This is a problem in Xen's BIOS and is not very high on their list of things to fix.
Darkstar: Echoes
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2400 ASRock H67M-ITX/HT ASUS Radeon HD 6850 Corsair XMS3 2x4GB 
Hard DriveOptical DriveCoolingOS
Crucial m4 64GB + Samsung Spinpoint 500GB LG DVD-RW Cooler Master Hyper 212+ Windows 7 
MonitorPowerCase
Acer AL1917W OCZ ModXstream 700W NZXT Vulcan 
  hide details  
Reply
Darkstar: Echoes
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2400 ASRock H67M-ITX/HT ASUS Radeon HD 6850 Corsair XMS3 2x4GB 
Hard DriveOptical DriveCoolingOS
Crucial m4 64GB + Samsung Spinpoint 500GB LG DVD-RW Cooler Master Hyper 212+ Windows 7 
MonitorPowerCase
Acer AL1917W OCZ ModXstream 700W NZXT Vulcan 
  hide details  
Reply
post #38 of 824
Thread Starter 
Quote:
Originally Posted by nexos View Post

About the UEFI, I don't know what I did differently but it just didn't work. Reinstalled in BIOS mode and it works fine now. I have the exact same motherboard and processor as you. I'm going to put this project on the back burner. I can't get my builtin audio card to work well passed through; it keeps buzzing on the outputs and dropping input. I can 100% confirm that my graphics card works fully passed through.
That is interesting. is your firmware updated to 1.3? I think it made it a lot easier for me iirc. I will try passing through my audio and see what the deal is for me, but since I have this thing hooked up to a TV for gaming and HTPC stuff I just use HDMI. I passed through the radeon's sound and it works pretty well. Every once in a while it has issues. For instance, with flash player open too long and not outputting audio (hulu) the sound will freeze up and the flash plugin will crash. The good news is that simply ejecting the audio portion with the windows eject hardware icon works. After it ejects it will just reconnect because xen forces it to.
Quote:
Originally Posted by nexos View Post

One other thing I discovered going through the audio passthrough is a limitation in Xen. Only so many devices can be passed through before it runs out of PCI reserved memory space. I had to disable the Xen video device in Device manager to allow enough space for the audio card and
graphics card. This is a problem in Xen's BIOS and is not very high on their list of things to fix.
I will look into this too and see if there is a way I can patch it. Do you have shadow memory enabled to be auto configured or do you specify? Setting it to auto works for me, but forcing more might help some. Another thing to try is in your UEFI menu what do you have low MMIO align set to? I set mine to 1024M rather than 64M. It has something to do with IOMMU/VT-d so it might be worth looking into.
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
post #39 of 824
@dizzy4
Thank you very much for this neat, clean guide. Excellent concept, running Linux while sandboxing Windows in a mere VM for games. I'm looking to build a new PC to do exactly that now that I know it's possible.

I never liked the idea having a useless IGP in those otherwise fine Intel CPUs. Cannot stand cheapo awkward Virtu either. So much so that I was about to buy an old P67 + 2550K instead of a Z68 or H6x + 2500K. This Linux setup would make the IGP completely relevant again.

Ideally, I'm looking at the following configuration / usage pattern:
  • Monitor connected to the MB (HD3000).
  • Boot to Linux running the IGP. Meanwhile, the discrete GPU is off.
  • When I want to play a game, I start / resume a Windows VM, passing through the discrete GPU, waking it up for the duration of the VM.

Questions:
  1. Is all this possible?
  2. If so, do I get a window with the Windows VM displaying the video output computed by the discrete GPU? That would mean that the HD3000 is proxying the discrete GPU, correct?
  3. Do I need a Z68 or will a H61 do?

Thank you for any help!
    
CPUMotherboardGraphicsRAM
Intel Core i7-2600 Gigabyte GA-Z77MX-D3H Sapphire Radeon HD 7970 Corsair XMS3 (16 GB) 
Hard DriveCoolingOSMonitor
Intel 330 (180 GB) × 2 Thermalright HR-02 Windows 7 BenQ XL2420T 
KeyboardPowerCaseMouse
Xenta Super Compact Wireless UK Keyboard Seasonic X-560 Fractal Design Define Mini Roccat Pyra 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Intel Core i7-2600 Gigabyte GA-Z77MX-D3H Sapphire Radeon HD 7970 Corsair XMS3 (16 GB) 
Hard DriveCoolingOSMonitor
Intel 330 (180 GB) × 2 Thermalright HR-02 Windows 7 BenQ XL2420T 
KeyboardPowerCaseMouse
Xenta Super Compact Wireless UK Keyboard Seasonic X-560 Fractal Design Define Mini Roccat Pyra 
  hide details  
Reply
post #40 of 824
Thread Starter 
Quote:
Originally Posted by Roman2K View Post

@dizzy4
Thank you very much for this neat, clean guide. Excellent concept, running Linux while sandboxing Windows in a mere VM for games. I'm looking to build a new PC to do exactly that now that I know it's possible.
I never liked the idea having a useless IGP in those otherwise fine Intel CPUs. Cannot stand cheapo awkward Virtu either. So much so that I was about to buy an old P67 + 2550K instead of a Z68 or H6x + 2500K. This Linux setup would make the IGP completely relevant again.
Ideally, I'm looking at the following configuration / usage pattern:
  • Monitor connected to the MB (HD3000).
  • Boot to Linux running the IGP. Meanwhile, the discrete GPU is off.
  • When I want to play a game, I start / resume a Windows VM, passing through the discrete GPU, waking it up for the duration of the VM.
Questions:
  1. Is all this possible?
  2. If so, do I get a window with the Windows VM displaying the video output computed by the discrete GPU? That would mean that the HD3000 is proxying the discrete GPU, correct?
  3. Do I need a Z68 or will a H61 do?
Thank you for any help!

You are on the right track for sure. You are right that it can work, but unfortunately not with a LGA1155 'K' processor at this time. The problem is that intel has not included the proper instruction set (VT-d) in the 2600k and 2500k chips. The good news is that the 3930k and 3960x C2 revision chips have it enabled, but they don't have onboard GPUs. The most common option is a non-overclocking i5-2400, i5-2500 or i7-2600 chip. The next step is finding a motherboard with VT-d enabled in the BIOS. Your best bet for intel is ASrock. Most of their boards that can support VT-d have it in the bios. Another good chance would be Zotac. I am not sure about Z77 boards, but they are less likely to support it.

If you don't care about overclocking, an H67 would do just fine, but I have not seen an H61 with the feature enabled.

The HD2000 will not proxy anything and you will have to use the output from the physical card itself. The VM will not boot in a window, but rather have full hardware acceleration to it's own monitor (or another input on the one you are using).

Hope that helped. I really hope to see better support on enthusiast chips in the future.
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