News for hackers. Stuff that matters.
Re:Google unveils Stadia cloud gaming service by derefr on Tuesday March 19, 2019 @04:30PM (#19435467)
How do you picture your hypothetical vision of things working on the server side? Naively using buffering would make the input stream desync from the output stream. "Input prediction" works well enough when a game supports it, but lag would reappear for titles where the game doesn't. A general solution (for games with no input prediction) would require you to run the game in an x86 emulator with save-state + rewind support, such that network stutter could be translated to micro-rewinds of the game's VM; and even that wouldn't work if the game was multiplayer.

I could see games being able to signal "there is no input during this cutscene, so it can be buffered at the client." But for everything besides cutscenes, game streaming essentially has to work like a VoIP call (hard-realtime), doesn't it?

Re:Google unveils Stadia cloud gaming service by r00fus on Tuesday March 19, 2019 @06:23PM (#19436675)
For a tangential example, Zoom conferencing increases the replay rate after a cutout. I can tell that someone goes to say, 1.25x and they still sound ok, but you usually don't lose much this way.

It happens occasionally when I drive (bad LTE zones). On bad days (ie, if I'm tethering at hotel to join a conf or using airport wifi), I sometimes hear "robot voice" as the tool attempts to deal with signal attenuation.

This may not work as well in video games, but I would like the option.

Re:Google unveils Stadia cloud gaming service by Wowfunhappy on Tuesday March 19, 2019 @07:46PM (#19437396)
But for everything besides cutscenes, game streaming essentially has to work like a VoIP call (hard-realtime), doesn't it?

I imagine most music, and some during-gameplay dialogue, could be buffered at the client. I'd expect sound effects to be the only audio that needs to be super low latency. Maybe certain dialogue too, if the speaker is visible on screen.

This alone might alleviate a lot of the GP's problems, since most audio wouldn't cut out. That can make a huge perceptual difference.

Re:Google unveils Stadia cloud gaming service by Wowfunhappy on Tuesday March 19, 2019 @10:20PM (#19438305)
Ugh, I'm past the edit window and forgot to put a '>' before that first sentence. I was quoting, not plagiarizing, promise!
Re:Google unveils Stadia cloud gaming service by justfor1comment on Tuesday March 19, 2019 @07:50PM (#19437423)
I think you pretty much explained the solution. You need buffering plus real time VM suspend+resume. I was thinking the client could keep sending last shown frame data back to the server and if a hiccup is detected the server stops the clock cycles on the VM and resumes the clock as soon as the buffer is empty. This may lead the user to see a loader for a short time.
Re:Google unveils Stadia cloud gaming service by iandanforth on Tuesday March 19, 2019 @05:06PM (#19435881)
When you're talking to someone on Skype and you notice the other person has stopped moving, you stop talking.

They may already be doing something similar (halt rendering on congestion) but when this kind of lag happened to me it felt like the rendering had continued without pause on their end.

Re:Google unveils Stadia cloud gaming service by tbodt on Wednesday March 20, 2019 @02:53AM (#19439656)
I would imagine it being implemented with SIGSTOP/SIGCONT