STEAM CSOPORT
Steam Remote Play homestream
STEAM CSOPORT
Steam Remote Play homestream
4,832
JÁTÉKBAN
42,098
ONLINE
Alapítva:
2013. november 7.
Összes téma > General Discussion > Téma részletei
Steam streaming from a virtual machine?
Has anyone tried this setup yet?

I'm thinking of building a gaming Windows VM on a VMware ESX headless server and I'm hoping that I can use VT-d passthrough to assign a GPU to the VM and stream the output to a Mac.

The reason for this madness is that my ESX server is currently the most powerful machine in the house and I would like to be able to stream to my older 2009-2010ish Macbook Pro for gameplay.

That way I get the best of both worlds (for me). Windows games etc played on a Mac. This way I also get to avoid having to upgrade any more equipment for the near future.

Thanks.
< >
3145/50 megjegyzés mutatása
Thanks Eric,

This actually seems to work! I had to disable "AMD High Definition Audio Device" to get VMware's "High Definition Audio Device" to work.

I'm at work so I have not been able to test Steam but from the looks of it, it sure looks good. :)

You just saved me for wasting 100 bucks on an EDID device!
Mjørud eredeti hozzászólása:
If I disconnect the display from the passedthroughed GPU the Windows 8 VM automatically enables VMware SVGA 3D, and I can use the vSphere Console to get to the screen. By connecting the display it used the AMD drivers as default and I'm not able to see the display using the console. Only RDP.
I have seen others have the same problems with AMD GPUs unfortunately and this is remedied with a EDID unit.

That is correct. sVGA is bad for GPU passthrough, especially if you're trying to use dVGA with VMWare. I suppose you could use a DVI Detective device to force an EDID over DVI but IMO that's pretty overkill.

edit: nevermind, looks like you got it figured out without a hardware EDID device. Rock on!
Legutóbb szerkesztette: jasonmicron; 2014. máj. 15., 19:06
UnReal-4-Life eredeti hozzászólása:
I think it can be done from a Windows host I know when you use a Nvidia card some of the newer ones like the gtx 760 only select versions have direct compute. You can do it with Direct Direct play and Hyper-v from a (Windows 8.1 pro only 64bit) setup and server hosting from 8.1 pro is the only version of windows where you can use direct play. The haveing a 3570K dont matter mine has a k and supports vitual. I have to amit I have not full tested it but I have been reading up on it and plan to teast it and that it meets required

Full disclosure - I haven't done any virtualization with Hyper-V. My suspicion would be that as long as Hyper-V supports GPU passthrough (or even PCI passthrough in general) it should work. I don't know what "Direct Play" is in Hyper-V land, but if that's Microsoft's marketing term for GPU Passthrough then that should work.

I actually have 8.1 Pro on my gaming system and I had Hyper-V enabled until the latest Nvidia drivers broke systems with Hyper-V enabled. I was only just beginning to test Hyper-V but with the Nvidia issue present as of a few weeks ago with the 337.50 driver (see here: http://techreport.com/news/26333/nvidia-geforce-337-61-beta-hotfix-display-driver-released) I removed it for the sake of my StarCraft playability sanity. ;)

I'll have to play with it!

edit - just played with it. No options for even PCI passthrough. Maybe the full blown Hyper-V server supports it but I don't know. The version that is tied to Windows 8.1 sure doesn't support it. It doesn't even support VirtIO and performance is pretty poor compared to KVM as well with just about all other devices. No wonder Microsoft isn't considered a hypervisor powerhouse. Oh well. I would suggest XenServer, ESXi or KVM as hypervisors to test streaming of Steam games. Hyper-V is pretty abysmal.
Legutóbb szerkesztette: jasonmicron; 2014. máj. 15., 19:36
Streaming games from a Windows 8 VM works great now that I have disabled HDMI audio, enabled the virtual audio device and tricked the GPU with three resistors. :)

Now if only OpenELEC would easily support the Steam-client! :)
I have been working on virtualizing SteamOS & streaming since it came out, with the intention of eventually releasing my OWN version of a SteamBox. It will be built similar to the Xbox one, with a hypervisor and 2 OS's (SteamOS & Win7?).

http://www.bloomberg.com/news/2013-11-22/xbox-one-has-not-one-but-three-operating-systems.html

Actually, it will be able to run any 2 x86 compatible OS's. I am working on making it both end user friendly AND open, because you should be able to run whatever you like on your hardware. Android, Mac, whatever.

Anyway, my project is underway and posted on Hackaday.io here:

http://hackaday.io/project/1071-The-HYDRA-multiheaded-virtual-computer

Living room console gaming is only ONE of the many uses for this machine, but I think it's definitely a use worthy of focus.

I posted my method for headless streaming from a VM in the build log, check it out, post comments, maybe even give me a skull if you think my endeavors are worthwhile.

I will also be filling in ALL details on how YOU can construct one yourself. In the spirit of openness.
Yea what I don't understand about the XBONE is how Hyper-V is actually doing the passthrough. Unless Microsoft has it working but won't release the feature for enterprise level virtualization and keeps it on the console. Neat project!
this has been how my gaming system works for quite a while now..
i run a xeon 1230v3 with amd graphics, under KVM in archLinux, pass both the gfx and audio device to the guest, there are some kernel boot options i required to set for passing of PCIE to not screw with other devices, once i set this it works no problem,

one thing, if i dont shutdown the guest, but rather kill it. then i have trouble with the guest getting the display up again.
i have tested it with 2 VMs each with own gfx and USB controller, and worked well, however available cpu cores goes down, performance was 80-90% of native, even when running 2 at same time, since in-house streamming came out i havent tested 2 streaming VMs but i see no reason why it wouldnt work, other than bandwidth issues,

for more info on this type of VM setup with KVM and vfio-vga:
https://bbs.archlinux.org/viewtopic.php?id=162768

although i never got vfio-vga passthrough to work, it works fine for me with pci-assign
Interesting idea.
Let me know if this ever pans out, I've been trying to do a PCI passthrough for a while.
it works

the normal gaming comp has a Nivida 670 and the computer i was using has a APU
=onboard video card=

i had no issues

runs good
It would be nice to be able to reply to a particular post.

I can't imagine M$ is doing this any other way, it could be paravirtualized but it would have to be highly optimized for the GPU they are using and I don't think even then the performance would be good enough for the XBOX. VMware is also kind of funny about PCI passthrough, I am stuck at 5.0 with a patch that fixes VM autostart because later versions won't let you passthrough onboard devices.

Someone should write a hypervisor that is intended for this specific purpose. It will come eventually, and bare metal installs will go the way of the floppy, zip disks and all the other crap we don't use anymore. The ONLY pc in my house that isn't virtual is my laptop, and I haven't looked back.

If you kill your VM, it probably starts either in safe mode or startup repair, which both use the fallback graphics. In VMware this would be the VMware svga adapter that you can't remove or disable. You can enable VNC access to this with a .vmx setting, and you can see the MKS console that way.
add to .vmx:

RemoteDisplay.vnc.enabled = True
RemoteDisplay.vnc.port = 5901 (enumerate this per vm, and use hostIP:port to connect)

RemoteDisplay.vnc.password = password ( I think this can't be blank)

It will generate a RemoteDisplay.vnc.key line, so don't worry about this.


The primary reason I use VMware instead of other hypervisors is the small footprint, and I also now have my hypervisor completely headless. So ALL 6 video cards in this box can be given to VM's. M$ has got to be doing something similar. I actually "steal" the gpu from ESXi - it seems to boot ESXi, then the screen freezes (when passthrough is started presumably) the screen goes blank (when the VM starts) and then SteamOS is up.
(Valve required that SteamBoxes boot directly into SteamOS, so this is how I accomplished that)

No worries, I know you're replying to me.

I had a similar idea when KVM finally integrated virtIO and vfio into its stack. Opensource, available and it works pretty easily with very low overhead. No one has monetized it yet. My idea was to develop some kind of EMU box with different consoles available from a central menu and gamers could pick a system to play. GPU passthrough with one GPU for passthrough, and an Intel integrated graphics for the host console menu screens in 3D.

Of course, getting permission from Sega, Nintendo, Sony, Microsoft, Neo-Geo et. al. would have been impossible, but could you imagine? Sometimes I love capitalism, sometimes I hate it.

As to VMWare - they have finally seen the light and support dVGA with multi-user mode utilizing Nvidia's VGX layer. I believe it is being announced and released in the next few months, if not already. Citrix has of course already been using this technology. KVM can't since the GPL won't allow it unless Nvidia open-sources it's code - I think.

Any way, rock on!
I was thinking, for a truly headless streaming host solution it would be better if the host is NOT logged into Steam, and gets the credentials from the client. The host should advertise it's streaming capability ONLY, and then serve games when connected to by a client according to the credentials passed to it by the client.

Instead of how it is now, where you have to "prep" the host by logging in with the credentials you intend to use.

I know this should probably be a question to Valve in a new thread, but I wanted to bump this thread as well. Must be a new set of beta testers have driven this past page 9.

Does this sound like an improvement?
Hey all! Sorry for being so late about my sucess with steamOS on vmware. SteamOS works really well, fps is good but I haven't tried a game yet. so Ill have to download that soon.
Eric, where does it say that ESX versions newer than 5.0 wont allow you to passthrough onboard devices?

I'm still very much interested in seeing if I can vtd passthrough an iGPU to a VM to act as the streaming host.
< >
3145/50 megjegyzés mutatása
Laponként: 1530 50

Összes téma > General Discussion > Téma részletei
Közzétéve: 2014. jan. 26., 20:38
Hozzászólások: 50