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 29

post #281 of 824
Thread Starter 
Quote:
Originally Posted by nyxcharon View Post

@Dizzy
Is there any reson to use fedora 16 over 17 for this? I figured I should use the newest version, but if there are problems with it Xen wise I'll use 16 like in the guide. Thanks thumb.gif

There is no reason you couldn't use fedora 17. The xen package is also 4.1.3 now, but both are compatible with this guide. I am working on getting a live-usb image going that will have everything you need already packaged (including xen 4.2).
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 #282 of 824
Quote:
Originally Posted by nyxcharon View Post

Your guide is actually the one i've been using. I've messed with everything so much at this point that I plan on doing a fresh install of mint tomorrow. I might have missed something through all of this, so i feel a fresh install is the way to go. I'm sure i'll be back soon to report my problems. tongue.gif
I'll be using two graphics cards as well, a nvidia 8800 on linux and a amd 7850 for windows. Anything I should be aware of, or might have missed before I redo all of this?

Somehow I get the feeling you got either a graphics card issue, or one of the steps during the Windows installation are causing the problems. Here my suggestions:

1. Choose the Linux distribution you feel comfortable with. If you're used to Fedora, go the Fedora way. If you are partial to Linux Mint (like I am - sorry dizzy4), there will be a way to get it working! Let's put it this way: even I managed to get it working on Linux Mint, though I haven't found any tutorial etc. specific to LM13 Maya.
2. I don't know which success stories you found with Nvidia 8800, but check them under a magnifying glas. Most (all?) of the Nvidia VGA passthrough stories I read require a patched Xen hypervisor and extracting the BIOS from the graphics card. This means compiling Xen and most likely also the kernel (to get pciback compiled into the kernel). In other words, you will have anything but a standard Linux distribution.
EXCEPTION: if you have a "Multi-OS" Nvidia graphics adapter, you should be good to go! The cheapest one I know of is the Quadro 2000.
In short: use AMD (ATI) if you can, unless you have reports that confirm that the Nvidia 8800 you have works out-of-the-box. I'm sorry but I'm not an ATI expert, and for my needs Nvidia is better.
3. I will make an effort to make another Windows 7 installation by Friday to check and confirm the Windows installation steps. I'll post the details here.
Edited by powerhouse - 11/7/12 at 12:14pm
post #283 of 824
Quote:
Originally Posted by nyxcharon View Post

Your guide is actually the one i've been using. I've messed with everything so much at this point that I plan on doing a fresh install of mint tomorrow. I might have missed something through all of this, so i feel a fresh install is the way to go. I'm sure i'll be back soon to report my problems. tongue.gif
I'll be using two graphics cards as well, a nvidia 8800 on linux and a amd 7850 for windows. Anything I should be aware of, or might have missed before I redo all of this?

I checked the instructions again. Unfortunately my Internet is down for awhile now (writing from the iPhone), else I would be more detailed.

I created another LV for a second Windows 7 installation. Using virt-manager as VNC console, installed Windows, 1. reboot, some more stuff, 2. reboot. Now via Device Manager installed the Nvidia driver (in your case the AMD driver). Had to copy my driver disk to the PC since I had. O Internet.

After driver installation, another reboot, this time into the full screen using the new driver.

My screen switches automatically to the port with the new signal.

One more thing, if/when using two GPU cards, make sure both are properly connected to the screen. I also had a black screen recently - it turned out the DVI cable was a little loose. I almost got a heart attack when I saw the black screen and it did take me some minutes to figure it out.

Hope you find the problem and solve it.
post #284 of 824
@nyxcharon: Internet is finally back.

As I wrote above, the Windows installation was rather unexciting. I used virt-manager for the initial steps of installation as it provides a built-in VNC viewer.

When using virt-manager, make sure to adjust the /etc/xen/xend-config.sxp file to include "(xend-unix-server yes)".

Perhaps it will be easier with virt-manager to get it installed?
post #285 of 824
Quote:
Originally Posted by powerhouse View Post

@nyxcharon: Internet is finally back.
As I wrote above, the Windows installation was rather unexciting. I used virt-manager for the initial steps of installation as it provides a built-in VNC viewer.
When using virt-manager, make sure to adjust the /etc/xen/xend-config.sxp file to include "(xend-unix-server yes)".
Perhaps it will be easier with virt-manager to get it installed?

I actually used virt-manager when I made it the first time.
So everything is clear, this is the hardware I'm using that's relevant
Intel i5 3570
Asus 7850 2gb
Asrock z77 pro3 mobo
2 monitors
I only tried the nvidia card because some people found success with rather old drivers.

The problem I'm having is as follows:
I have one monitor plugged into my onboard graphics, and another plugged into the AMD card.
Now, when I have the AMD card set as the primary graphics card, I dettach it and the screen goes black.
It does not automatically switch over to the other graphics (integrated). Sometimes I'll get what looks like Zen console output.
As such, I've been booting my computer with my onboard as the main, and working it that way, but as stated the drivers are giving me blue screens.
Not sure if this information is relevant or not. If i'm reading the guide correctly, it should switch over to onboard right?

I just made 2 new USB's with Fedora and Linux Mint.
Going to try fedora first. If I get immediate success, i'll just use that. Otherwise I'll install mint and use that until I can find the problem (Since i prefer mint).
I'll be posting in this thread later tonight with my initial success/failures for fedora. Thanks for the help so far guys.
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 #286 of 824
Quote:
Originally Posted by nyxcharon View Post

I actually used virt-manager when I made it the first time.
So everything is clear, this is the hardware I'm using that's relevant
Intel i5 3570
Asus 7850 2gb
Asrock z77 pro3 mobo
2 monitors
I only tried the nvidia card because some people found success with rather old drivers.
The problem I'm having is as follows:
I have one monitor plugged into my onboard graphics, and another plugged into the AMD card.
Now, when I have the AMD card set as the primary graphics card, I dettach it and the screen goes black.
It does not automatically switch over to the other graphics (integrated). Sometimes I'll get what looks like Zen console output.
As such, I've been booting my computer with my onboard as the main, and working it that way, but as stated the drivers are giving me blue screens.
Not sure if this information is relevant or not. If i'm reading the guide correctly, it should switch over to onboard right?
I just made 2 new USB's with Fedora and Linux Mint.
Going to try fedora first. If I get immediate success, i'll just use that. Otherwise I'll install mint and use that until I can find the problem (Since i prefer mint).
I'll be posting in this thread later tonight with my initial success/failures for fedora. Thanks for the help so far guys.

OK, my setup is slightly different, using only one screen. However, what you describe seems perfectly normal, i.e. your screen going blank when you detach it.

I am not aware of any mechanism that can make Linux switch to another GPU after you detach it from the initial graphics adapter.

You already pointed to the right direction:

1. Use your integrated GPU (in the 3570) as your primary graphics adapter for Xen / Linux.
2. Blacklist the driver for the secondary graphics adapter - the one you are going to use for Windows. This may not be necessary, but in my case the driver got in the way with detaching / assigning it to the Windows domU.
3. Try the AMD card first, as you got more chances for success.
4. Install Windows domU
5. After 2 Windows domU reboots, your Windows installation should be ready to install the graphics driver for your AMD graphics adapter. At this point you are still working with virt-manager and a VNC screen.
5a. Open Device manager and go to the graphics adapter section. You should have two cards listed, one with a yellow triangle. Right-click the one with the triangle and install the driver.
When doing my installation with the Nvidia card, I went to the nvidia website and let it discover my card and download the correct driver. Perhaps ATI has a similar feature on their website. Try the latest ATI driver for Windows 7 (or whatever Windows you install). Windows will probably need another reboot.
5b. After the reboot you should be seeing the initial boot sequence in the virt-manager VNC screen, until the driver loads and switches to the actual graphics card (your ATI or Nvidia card). Make sure your second screen is connected and working. The Windows login screen should appear on your second (physical) screen.
5c. In case Windows BSODs here, there is a driver issue or an issue with the graphics card - it may not support VGA passthrough. One last thing to check: Make sure VT-d is enabled (in your BIOS) and working.
Please post the output of
Code:
xm dmesg
post #287 of 824
SUCCESSSSSSSSSSS thumb.gif

Things with fedora went much more smoothly then the last time I tried. I already had internet post-install (normally had to make a bridge in mint).
Card passed through fine, and installed drivers as per Dizzy's instructions. Only thing that isn't working is audio, but I can work that out later.

7.6/7.9 cpu and 7.9/7.9 graphics scores in windows.
Thanks so much for all your help guys! biggrin.gif


..Time to format that old windows drive I have thumb.gif

Oh, and when I boot the vm it goes straight to my second monitor. So now I have one monitor for linux and one for windows. Pretty cool.
Edited by nyxcharon - 11/11/12 at 9:46pm
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 #288 of 824
Thread Starter 
Quote:
Originally Posted by nyxcharon View Post

SUCCESSSSSSSSSSS thumb.gif
Things with fedora went much more smoothly then the last time I tried. I already had internet post-install (normally had to make a bridge in mint).
Card passed through fine, and installed drivers as per Dizzy's instructions. Only thing that isn't working is audio, but I can work that out later.
7.6/7.9 cpu and 7.9/7.9 graphics scores in windows.
Thanks so much for all your help guys! biggrin.gif
..Time to format that old windows drive I have thumb.gif
Oh, and when I boot the vm it goes straight to my second monitor. So now I have one monitor for linux and one for windows. Pretty cool.

Awesome! I am really glad you were able to get this working. As of now, the audio solution I am using is Radeon HDMI audio to my monitor which has a headphone jack that I can plug my speakers into. I think it's time to look up oss stuff and qemu sound emulation.
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 #289 of 824
Quote:
Originally Posted by nyxcharon View Post

SUCCESSSSSSSSSSS thumb.gif
Things with fedora went much more smoothly then the last time I tried. I already had internet post-install (normally had to make a bridge in mint).
Card passed through fine, and installed drivers as per Dizzy's instructions. Only thing that isn't working is audio, but I can work that out later.
7.6/7.9 cpu and 7.9/7.9 graphics scores in windows.
Thanks so much for all your help guys! biggrin.gif
..Time to format that old windows drive I have thumb.gif
Oh, and when I boot the vm it goes straight to my second monitor. So now I have one monitor for linux and one for windows. Pretty cool.

Congratulations and welcome to the club!

7.9 graphics is awesome.

By the way, if your disk performance index is in the 5.x-ish, try install the GPLPV drivers in Windows. It made a big difference in my case.

If you want a quick solution for sound, get a cheap (~$8) USB sound adapter and a mini-RCA cable and plug the USB adapter into one of the pass throughed USB ports. Connect the headphone output to the line-in port on your on-board sound card. It may not be the nicest solution, but it's painless and works.
post #290 of 824
Quote:
Originally Posted by nyxcharon View Post

^Thanks for that. Working on that now.
Also going to try a XP machine with the nvidia card, since people have success using it with the 275.6 drivers.
Hopefully between the two I can get something working soon. tongue.gif
As far as fedora, I had issues just setting up xen. Willing to give it another shot though, if I can't get this worked out soon. Any specific version I should use?
Edit: Still bluescreening on startup. mad.gif
Guess I'll give it one more try from a fresh install of windows.
Edit2:Fresh install of win7 -> blue screen still. Getting a atikmpag.sys error message.
Guess it's time to try a new OS for this... suggestions?
Thinking fedora. Should i use the newest release or the one in the guide?

1. With regard to your initial BSOD problem, I read a little about the atikmpag.sys error. It seams an ATI graphics driver related issue - see for example here: http://www.overclock.net/t/1237672/display-driver-stopped-responding-atikmpag-sys-0x00000116-bsod-new-his-7950.

I think blistovmhz in post 264 was onto something. The BSOD may have been caused by the CCC (Catalyst Control Center), or something went wrong during the ATI driver installation.

I understand you did follow dizzy4's instruction to install the graphics driver in Windows (post 273) and this failed even when you did a new Windows installation?

The thing is, I can't figure out why you were able to install Windows and the driver under Fedora, but not under LM13. In both LM13 and Fedora you got to the point where you detached the graphics adapter, installed Windows, and only when installing the ATI driver - Fedora worked, the other didn't. It also seems that Windows recognized the ATI 7850 graphics card and installed the driver? In other words - VGA passthrough was working in both cases.

Can you tell if you did anything different this time, I mean when installing Windows and the graphics driver?

2. I assume you use the ATI 7850 graphics adapter for Windows 7, and the Intel CPU internal GPU for Linux?

If yes, would you mind listing your ATI 7850 as VGA passthrough compatible card under the following thread: http://www.overclock.net/t/1307834/xen-vga-passthrough-compatible-graphics-adapters, with some details on your installation as shown in the first post (Xen hypervisor version, kernel version, setup, etc.)? It may help other folks.
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