279 points · by tosh · 6y ago · 194 comments
Doing this on-premise is also pretty tantalizing - I watched a video recently of Linus Tech Tips where he built a 64 core Threadripper and used virtual machines to replace four physical computers in his home including two players simultaneously gaming.
so basically a mainframe? I can't imagine it's economically viable though. a 64 core threadripper costs more than eight ryzen 3700x and clocks lower.
I personal think it's a super awesome setup, but it's _definitely not_ for the faint of heart. You have to _really enjoy_ debugging crazy shit for it to be worth it.
But even at my "budget" $2400 range, a $20/month for 4 users of some game streaming service, would buy me about _ten years_ for that price.
The economics of a streaming service are really quite killer.
//Edit: Using a Ryzen 5 2600 and a Gigabyte X470 Auros Ultra Gaming
You can pick up a used i5-3xxx or 4xxx system with 8GB of RAM real cheap. If you get one that has at least a 300W power supply, you can then put in a GTX 1660 or similar and do quite well with most games. Max settings @ 1080p for some older games, and still decently playable at decent quality for the newer ones. And all for $300 USD or less.
I just put an RX 580 with 8GB of video RAM into my old i5-3570S system. The card was just $135 at Microcenter, because it was open-box.
Even then you'll need 27 months (2 years and 3 months) before being more cost effective than Geforce Now. That's considering that you are on a desktop though with a CPU powerful enough.
Personally I started doing cloud gaming mostly because I was on a netbook at school (I liked the form factor and the battery life was quite nice versus most laptop). At first on OnLive, then on LiquidSky, and since a year ago, on Geforce Now.
I don't believe the service will stay at 5$/month though, both service I used shutdown because they weren't viable and they were in the 10$ range. LiquidSky was supposed to come back, but they missed multiple release date now and with the release of GeForce Now, I have no hope. Shadow seems more viable at 25$/month, which makes your solution much more cost effective.
Well he also built a 6 PC watercooling loop, so yeah not all of it is particularly applicable to the average viewer
I don't think the core speed would matter much - Steam reports 37% of gamers are using 3ghz-and-below processors so they may be mediocre but still competent:
I think personally I'd opt for building four or five separate machines and managing them as a cluster though.
In some sort of software engineering commune?
Half of the SWEs I work with don’t game.
And that's the core problem, isn't it? Aren't games notorious for being mostly sequential workloads?
I see what you did there.
If you go for a 12 or 16 core Threadripper like the 2920X or 2950X you're only looking at $425/$690, which is $106/$173 per "PC".
Combine that with the savings you get from not having to buy 4 cases, PSUs and motherboards and I think a multi-head threadripper setup will end up significantly cheaper than buying 4 machines.
I tried a round of FPS with it. It wasn't that bad, honestly. My ping to the GeForce server was about 12ms, and the ping from GeForce to the game server was < 2ms. That's actually lower latency than I'm used to with an Xbox.
It did feel a bit laggy, though, despite the low latency. But I'd try it again. For me the benefit is in resource-intensive single player games.
Either way, for $5 a month, it's a great deal!
I then bought a dummy HDMI plug, and installed some open source software called Moonlight on my Mac and Linux systems.
I can stream my games locally no problem from my VM. Eventually I want to get wireguard set up, and test performance over VPN, but I really haven’t had a reason to try it just yet.
If I can figure that out, may be in love.
The direction we're going in is massive parallel computing, not massive chips. Threadripper represent the pinnacle of individual chips but I'd imagine having 4 boxes that are each 3800X + 1GPU + 128 GB ram would be cheaper and easier to maintain both hardware and software wise? Except it wouldn't sound as fun.
I wonder if using Wireguard could improve the performance of a custom solution.
I dunno if they'd eat that cost again, and I wouldn't try it on purpose.
But keep in mind that they have an incentive to do this: it's the cost of acquiring users without scaring them about a possibly humongous bill.
I now have better billing alarms set.
Under section 4, anyone can set up an aws cost budget
That hasn't been my experience with AWS but then again it has been years since I allowed such a thing to happen.
I know this is for private use but the only point of game streaming is so that companies can put ads in stream.
Setup details: I use Paperspace since it has an image with everything already configured (doing this is surprisingly tricky, I was never able to get GPU drivers installed and configured myself after hours of trying and also trying various AMIs). It has auto-shutdown after an hour of inactivity. I use VirtualHere to forward a joystick to the host, and Parsec for streaming. It works great, and I pay $.50/hr plus $5/mo for storage. Over WiFi with the cheapest Comcast plan, the latency is about 30 ms, which is fine for those games.
IIRC I tried the Parsec AMI but it was difficult to use and required a lot of fiddling. I can’t remember the details unfortunately, but I would have preferred to just use that instead of Paperspace (this might be a niche use case since I’m an engineer). If I could have figured that out, I would have written a CLI around it and open sourced it for others to use.
Also because I’m an engineer, I really wanted to read the source code to see how it worked. But I get that it’s your magic sauce :).
Thanks for the awesome tech!
Concretely, update the “solutions for cloud rented pc’s” section at this link: https://support.parsecgaming.com/hc/en-us/articles/115002601...
(Which the client points at)
On paperspace, you need to set up a paid public IP, or deal with higher latency. Now I know what ZeroTier is, but my network latency was 100ms under load vs 30 with the public IP...
It took me four hours to debug this. Also, why does the server send every other UDP packet to a mysterious port on startup? (According to tcpdump on my router)
Also, in the question about broken mouse cursors, the correct answer is to close the paperspace web tab displaying the desktop of the instance.
Cheers!
https://blog.paperspace.com/setting-up-your-cloud-gaming-rig...
My son's young enough that he still goes through phases. That and he leaves every summer to go to his grandparents'. Sticking with cloud gaming gives me the freedom to just throw everything away or stop using it for long periods of time without guilt.
Also, it honestly makes me feel better to know that I didn't buy a bunch of fancy hardware to to use 3.6% of the time. AWS rents the hardware out to somebody else when I'm not using it, and is strongly incentivized to get its utilization as close to 100% as possible.
And Stadia doesn't have either game.
If you run your own host, you can play whatever game you want, and mod it however you feel like. Otherwise, you're stuck with whatever curated stuff the platform provides.
Ah, I see we're alike.
I'm glad I went ahead and got a gaming rig from best buy for $900. Because after playing legacy games at extremely high frame rate for about 2 weeks, I proceed to spend all my spare time on a random javascript game.
At this rate I'll get to my ML workstation and train my own GAN at 2035.
Everybody's needs are different -- there's no reason to dismiss this.
But my experience with cloud gaming on EC2 has been pretty great too, as I’m getting older I feel less and less inclined to shell out for a new video card every two years.
Last time I tried GeForce Now in beta, there was a very perceptible delay in input. Not sure if that’s still the case now.
I don't want to own gaming hardware - I don't want the space taken up, the hassle of the upgrades, and I'm a super-super-casual gamer so I don't want to invest in anything. It sounds perfect for me and I can't wait for it to be working well!
In case of AWS/cloud it's not just gaming but also always thinking about aws/technical stuff..
If you can afford to buy all games on steam and have 1gig internet - go ahead and use a cloudgaming service. But you'll see the video compression and you won't be able to play the great game you once bought at humblebundle.
There are a FEW legitimate reasons to go this route, but not many good ones, but I have to commend this article for true hacker spirit. It's lovely!
Which ones are you referring to?
Hotel internet seems to be about 10 years behind the current technology at all times.
You can build some fairly impressive SFF PCs, but even an InWin Chopin breaks that volume budget if I've done the math right, and it's not a cheap hobby. They to me feel like a class above this.
https://taoofmac.com/space/blog/2018/09/30/1600
The setup I used is here:
https://github.com/ecalder6/azure-gaming
...and has been kept up to date (it was annotated last month, and the config is stable).
The Azure solution sounds much more expensive than the prices quoted in the article
It‘s based on a Gigabyte x470 and a Ryzen 5 2600. The rig is watercooled (using ZMT tubing), which makes it super silent (and I don‘t need a heater in my office any longer. It‘s amazing how efficient watercooling is - yet, the heat still has to go somewhere).
The gpu is a Sapphire Pulse Vega 56. All in all, the complete rig consumes 80 watts in idle, and 130 watts when I‘m using the gaming vm for surfing. When gaming on it, consumption can go up to a reasonable 500ish watts.
I‘m also using a Thinkpad x230 as my „roadwarrior“.
While „the cloud“ might be cheaper, I love to have everything „at home“.
I suspect that a lot of the people saying that sort of thing is impossible just haven't tried it. Most of my friend group uses Shadow for everything nowadays, and I can't see myself switching back to maintaining my own hardware.
FPS games like Skyrim work great, even latency-sensitive games which require quick reactions like Thumper do pretty well. I get lower latency / better image quality using Quest+VD than I do a standard 1080p stream on my Steam Link.....
I think that the VR video stream is already a 180 degree stereoscopic format helps with the latency; you're only ever looking at a subset of the stream so when you move your head around it's the same latency as local VR.
Only noticeable thing is if you move your head really quickly to over your shoulders it can take a few milliseconds for the footage to appear.
Also the open UDP and TCP to 0.0.0.0/0 in the security group made me cringe. At least set it to your current IP /32 and perhaps set a script that watches your public IP and updates the SG automatically when it changes.
AWS inbound traffic is free but persistent storage is not so I downloaded the entire game whenever I spun up the AWS instance, which probably happened 10+ times. I still wonder how much that cost Steam in terms out outbound traffic....
Tried it for gaming and it was a great experience. Gaming only works if you are near their data centers though - afaik US and NL; got a high latency in Germany, but that's not the their fault. You'll find 10$ referral codes online to try it for free.
Reasonable prices and works very smooth.
I don't think that's gonna be much fun. Especially not if you're used to playing on a powerful local machine
It depends on the setup but encoding and decoding combined can be done in less than 7 ms (1 frame at 144 fps) on good hardware:
https://blog.parsecgaming.com/testing-game-streaming-input-l...
Last year on more modest hardware I would regularly see around 12 ms (1 frame at 83 fps).
Is basically the same implementation, I must say that keep the instance open const me a bunch of money in the end.
When not consuming media content this approach is better because the fine details look more crisp. In video the finer details are limited by a bitrate & key frame frequency.
Overall, i love the idea, but it was a huge pain and not worth my time.
I'm not an AWS user, but don't spot instances risk being shut down/paused/etc at any moment? It seems like a bad solution for remote gaming.
Based on that it's done before and didn't get that far ( Gaikai and OnLive ), but nobody seems to remember that.
OnLive was released when most internet connections were still crummy, and before HD capable computers were embedded in TVs, smartphones and tablets. Despite all of that it still worked pretty well, but at that time I thought if I can run the game on my desktop why bother? Nowadays I don't have a gaming desktop capable of the newest games, so I think about it differently.
There is also a lot of gouvernement subsidies die electric cars and the range was not good.
There internet in those days was as good as it is now in Western countries.
We'll c, but I'll be happy to place an online money bet.
Reminder: IT is responsible for nearly 4% of CO2 emissions worldwide [1]. Video streaming represents 60% of that [2].
In a nutshell, cloud gaming is like switching on an oven at full power with the door open. If a majority of people use that kind of solution, the catastrophic effects of global warming will be even worse.
The true problem is that we're not paying the real price of AWS and other cloud services. We're expecting our children to pay for the ecological impact.
[1]: https://theshiftproject.org/wp-content/uploads/2019/03/Execu... [2]: https://www.dw.com/en/is-netflix-bad-for-the-environment-how...
All device electricity usage is another 20% (there’s no breakdown there, but most of the streaming device electricity goes to the screen, which you’d pay for with broadcast or dvd playback).
Video streaming servers should be relatively low energy vs. the other servers running in the data center.