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 25

post #241 of 824
Well, just got a Intel i5 3570. Have a asrock Z77 pro3 mobo on the way. Should be working on this again soon, I'll post my results when I get it up and running. (or if I run into a bunch of issues tongue.gif)
thumb.gif
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 #242 of 824
I guess while we're on this, has ANYONE got audio working with Xen, without having to passthrough and entire APU? ie: Anyone got Xen qemu-dm working with Alsa/Pulse?
Any other brilliant workarounds in the mean time? I was thinking PA client on the guest, but that of course is no longer an option as the last update for the windows PA client was in the early 80's or something afaik.
post #243 of 824
Quote:
Originally Posted by blistovmhz View Post

I haven't (embarrassingly) been able to figure out how to determine which PCI slot is associated with which USB bus. But when I do....!

In Linux Mint open Administration --> System Information. Then open Devices and click "Input Devices". Select your mouse or keyboard and you get the PCI device it's connected to.

Don't know how to do that under Fedora.
post #244 of 824
Quote:
Originally Posted by blistovmhz View Post

It's a pain in the ass the virt-manager doesn't yet support adding usb to Xen guests. If you're only running one keyboard/mouse, you're pretty much screwed.

My suggestion: Get a KVM switch (keyboard-video-mouse switch) with USB ports. You need two USB input ports for mouse and keyboard, and two USB cables to connect to two different USB ports on the PC. I don't use the video port on the switch (got no use for VGA D-sub connectors).

The tricky part is that you need to identify your USB ports on the PC. To do so I used a USB pendrive.

In my case I had to install a 2-port USB panel into one free PC slot and connect its cables to the appropriate USB header on the motherboard. Be aware that USB3 ports are no good for mouse/keyboard.

The result is I can switch between Linux and Windows at the press of a button.
post #245 of 824
Quote:
Originally Posted by fergalom View Post

...Next: Sort out the data transfer as per posts previously.

With regard to the "low" disk index, try the GPLPV drivers under Windows. Here is the link to the "signed" drivers:
http://wiki.univention.de/index.php?title=Installing-signed-GPLPV-drivers
post #246 of 824
Quote:
Originally Posted by blistovmhz View Post

I guess while we're on this, has ANYONE got audio working with Xen, without having to passthrough and entire APU? ie: Anyone got Xen qemu-dm working with Alsa/Pulse?
Any other brilliant workarounds in the mean time? I was thinking PA client on the guest, but that of course is no longer an option as the last update for the windows PA client was in the early 80's or something afaik.

Audio is working with my win7 domU. I used the config you specified earlier for me and passing through a Radeon HD6850

Also I have found if I click the mouse inside the domU graphical console/viewer on dom0, it will pass through the mouse to the win7 domU without any need to passthrough any USB controllers in the cfg file.
(Hope this makes sense)


@Powerhouse - I've tried the GPLGV drivers but they have no effect in my system, haven't had a chance to have a closer look / un-install / re-install.

F
post #247 of 824
Quote:
Originally Posted by powerhouse View Post

My suggestion: Get a KVM switch (keyboard-video-mouse switch) with USB ports. You need two USB input ports for mouse and keyboard, and two USB cables to connect to two different USB ports on the PC. I don't use the video port on the switch (got no use for VGA D-sub connectors).
The tricky part is that you need to identify your USB ports on the PC. To do so I used a USB pendrive.
In my case I had to install a 2-port USB panel into one free PC slot and connect its cables to the appropriate USB header on the motherboard. Be aware that USB3 ports are no good for mouse/keyboard.
The result is I can switch between Linux and Windows at the press of a button.

Tried this with my Starview 2 port dual DVI USB KVM switch. No dice unfortunately and I couldn't for the life of me figure out why. When I attach the KVM to DomU, DomU will occasionally see the device after 3-4 minutes smile.gif Suspect buggy KVM as I've had other unrelated issues with this box in the past. For now I'm doing two things:
  1. Using Synergy to share my keyboard/mouse/clipboard. For those of you not gaming (why are you using passthrough if you're not gaming?) Synergy is ****in' stellar. Essentially just move your mouse to the edge of Dom0 and it'll show up in DomU. Synergy however, does not play well with DirectX/DirectInput. frown.gif
  2. Writing a script to trap SOME EVENT in DomU which will indicate that I want to re-attach my USB devices back to my Dom0 (like a soft KVM).


Quote:
Originally Posted by fergalom View Post

Audio is working with my win7 domU. I used the config you specified earlier for me and passing through a Radeon HD6850
Also I have found if I click the mouse inside the domU graphical console/viewer on dom0, it will pass through the mouse to the win7 domU without any need to passthrough any USB controllers in the cfg file.
(Hope this makes sense)

Makes sense. You're passing through the audio from your Radeon HD card though aren't you? In which case you're only getting an HDMI output? Same here. Works fine except that my speakers are already attached to my Dom0. I plugged my DomU monitor's analog output into my Dom0's line in which worked just fine and will probably go back to this, but this is a hack that doesn't work for everyone (ie: anyone without HDMI). I want a boxed solution we can share with non-haxor types.
Also, as for using the VNC input. Works .... okay for doin' taxes and junk but the latency is far too high for FPS.
post #248 of 824
Quote:
Originally Posted by blistovmhz View Post

Tried this with my Starview 2 port dual DVI USB KVM switch. No dice unfortunately and I couldn't for the life of me figure out why. When I attach the KVM to DomU, DomU will occasionally see the device after 3-4 minutes smile.gif Suspect buggy KVM as I've had other unrelated issues with this box in the past. For now I'm doing two things:
  1. Using Synergy to share my keyboard/mouse/clipboard. For those of you not gaming (why are you using passthrough if you're not gaming?) Synergy is ****in' stellar. Essentially just move your mouse to the edge of Dom0 and it'll show up in DomU. Synergy however, does not play well with DirectX/DirectInput. frown.gif
  2. Writing a script to trap SOME EVENT in DomU which will indicate that I want to re-attach my USB devices back to my Dom0 (like a soft KVM).
Makes sense. You're passing through the audio from your Radeon HD card though aren't you? In which case you're only getting an HDMI output? Same here. Works fine except that my speakers are already attached to my Dom0. I plugged my DomU monitor's analog output into my Dom0's line in which worked just fine and will probably go back to this, but this is a hack that doesn't work for everyone (ie: anyone without HDMI). I want a boxed solution we can share with non-haxor types.
Also, as for using the VNC input. Works .... okay for doin' taxes and junk but the latency is far too high for FPS.

With regard to your KVM box: Are you sure you connected the USB cables of the KVM box to 2 different USB host adapters? One host adapter must be used by the dom0, the other one must be passed through to Windows. Another thing to watch out for is that you use USB 2 hosts for your keyboard/mouse. Don't try USB 3 host adapters - they may cause troubles in both Linux and Windows for mouse/keyboard. I had to install a 2 port USB panel and connect the cables to an appropriate USB header on my mother board. Why? Because the USB connectors on my motherboard (back and front panels) were all either USB 2 connected to one host, or USB 3 connected to another host. To get a second USB 2 host I had to add an USB panel on the back and connect it to an USB header on the motherboard (not any header, but the first one in my case). Check with an USB pendrive. You absolutely must have different host adapters for both dom0 and domU.

"For those of you not gaming (why are you using passthrough if you're not gaming?) Synergy is ****in' stellar."

1. I need to check out synergy.
2. Gaming is peanuts compared to photo editing. OK, I grant that gaming may be more demanding on the graphics card. BUT, if you want to edit photos and are serious about it, you need to calibrate your screen and - again, you are serious - your screen supports internal LUTs. In simple terms, you need to have Windows upload your screen calibration to the screen via DVI. That is the first requirement. The next one is to have Adobe Lightroom and Adobe Photoshop use the graphics card to speed up graphics processing. Believe me, RAW photo processing is VERY CPU and graphics card intensive. So, I'm not a gamer but I really need full access to the graphics card from within Windows (as well as access to the USB port to connect my colorimeter). Xen VGA passthrough works perfect for this, if you get it working.
post #249 of 824
Quote:
Originally Posted by fergalom View Post

Audio is working with my win7 domU. I used the config you specified earlier for me and passing through a Radeon HD6850
Also I have found if I click the mouse inside the domU graphical console/viewer on dom0, it will pass through the mouse to the win7 domU without any need to passthrough any USB controllers in the cfg file.
(Hope this makes sense)
@Powerhouse - I've tried the GPLGV drivers but they have no effect in my system, haven't had a chance to have a closer look / un-install / re-install.
F

Hm, strange. In my case they made a HUGE difference. I get a Windows index of 7.8 (up from 5.8) when installing the GPL drivers. You are talking about the GPLPV drivers, aren't you? Check my link if uncertain.
post #250 of 824
Quote:
Originally Posted by powerhouse View Post

Hm, strange. In my case they made a HUGE difference. I get a Windows index of 7.8 (up from 5.8) when installing the GPL drivers. You are talking about the GPLPV drivers, aren't you? Check my link if uncertain.

Aren't those only for PV guests?
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