News for hackers. Stuff that matters.
Re:Video Gaming Will Take Over by Hamuko on Tuesday January 14, 2020 @03:37PM (#22049004)
>Those are technical problems that will get solved.

How do you fix the distance between me and Google?

Re:Video Gaming Will Take Over by wayoutthere on Tuesday January 14, 2020 @06:33PM (#22050332)
By dropping the render farms at the other end of your broadband connection. It worked, it just wasn't economically feasible then. :)
Re:Video Gaming Will Take Over by dudus on Tuesday January 14, 2020 @03:45PM (#22049066)
More PoPs and fiber. Both which are already much more ubiquitous than a few years ago and fast expanding. Plus you don't need to reach everyone for a successful product. Just a critical mass
Re:Video Gaming Will Take Over by apazzolini on Tuesday January 14, 2020 @06:12PM (#22050202)
I (and many, many others) notice lag in games with v-sync turned on vs off, and we're talking about single digit milliseconds there.

It's possible that Stadia might be "good enough" for casual gaming (and granted, that's a very large market segment), but I don't think it will ever be good enough for anyone who is sensitive to latency.

Re:Video Gaming Will Take Over by belltaco on Tuesday January 14, 2020 @09:09PM (#22051179)
>I (and many, many others) notice lag in games with v-sync turned on vs off, and we're talking about single digit milliseconds there.

Indeed, I found this recently out in a double-blind kind of way, when running at 165hz. I had to take out my GPU to fix the fan, so I wanted to try playing some demanding games on my integrated Intel GPU. I switched settings to the lowest (along with the game itself auto downgrading settings). After I put my GPU back, I put all the settings back, or so I thought. I was feeling some input lag and the mouse a little "floaty" but thought I just imagining it for a day or two. Afterwards I checked settings and lo behold, VSync was on.

I was surprised that I could tell the difference when running at 165hz and 165 fps.

Re:Video Gaming Will Take Over by clarry on Wednesday January 15, 2020 @05:49AM (#22053204)
I feel like there must be something way wrong with the way vsync is implemented in most games. It often feels like it adds massive latency (like an entire extra buffered frame, like bad implementations of triple buffering), but if my FPS is close to what it would be with vsync, then I don't see why it should add much latency.

That is to say, on my 60Hz monitor, I don't feel much difference between 60 FPS and anything above with vsync off. But if I go from from 70FPS (vsync off) to 60 FPS (vsync on), it's yarrgh unplayable, as far as first person shooters go.

Re:Video Gaming Will Take Over by def_true_false on Wednesday January 15, 2020 @07:28AM (#22053612)
With vsync, a late frame delays input by a whole refresh cycle. When your hardware is only capable of average frame rate similar to your refresh rate, there will be plenty of those.

Variable refresh rate is one way to fix this.

Re:Video Gaming Will Take Over by clarry on Wednesday January 15, 2020 @07:41AM (#22053694)
I mean frame rate similar to but strictly above refresh rate, with no late frames. There's still very obvious nasty latency.
Re:Video Gaming Will Take Over by skocznymroczny on Wednesday January 15, 2020 @04:37AM (#22052907)
What is your screen refresh rate? With Vsync on, you are capped to the screen refresh values. If you have a 144Hz screen and you're running 165FPS with VSync off, you will run 144FPS with VSync on. But if your GPU struggles to hit 144FPS, with Vsync on it will drop instantly to 72 FPS, then to 36 FPS (assuming no GSync/FreeSync).
Re:Video Gaming Will Take Over by zubspace on Wednesday January 15, 2020 @05:49AM (#22053207)
This is something which irks me.

All major engines (Unity, Unreal and even Godot) provide 2 different mechanisms for callbacks in your scripts: A callback before each rendered frame and a callback before each physic step (Update() and FixedUpdate() in Unity).

Now, physics always run in a fixed time step. Usually 60 times per second. If you move your player, the game will always need to wait for the next physic callback to move the entity around. Same for spawning projectiles and or checking hitscan weapons with raycasts. You always need to wait.

In this case, when V-Sync is on an your screen updates at 60Hz per second everything is fine. But on a screen with 144Hz, there is inevitable input lag.

Can someone tell me, how on earth can this be improved by disabling V-Sync? It's basically not possible to reduce input lag in this scenario.

I know there are ways to hide the lag through Input Prediction and Entity Interpolation, but those are necessary band-aids for multiplayer games, where you accept lag which is already an order of a magnitude larger than local input lag. And for single-player games? If you introduce physics your oh-so-nice 1000 Frames per Seconds are basically useless. But please tell me, if I missed something.

Re:Video Gaming Will Take Over by friendlybus on Wednesday January 15, 2020 @06:18AM (#22053312)
The controller function in unreal is separate to the physics engine. Raycasts and spawning do not need to wait for a new physics tick to do their thing.

Interp and extrapolation do not delay your input. Interp fills in lag time with predicted movement for other player characters to hide 50ms+ of lag from the player. Your client side input still exists and is updated client side in realtime. It may get corrected by lag after the fact. Your input is not delayed to match their lag.

Re:Video Gaming Will Take Over by def_true_false on Wednesday January 15, 2020 @07:00AM (#22053500)
Network lag is not an order of magnitude larger than local input lag.

E.g. Dota 2 and CSGO servers in Europe have <40ms ping for most people. Local lag should be up to some 16ms from a 60Hz display plus 1ms from a 1000Hz mouse/keyboard, half of that on average. If the hardware is bad, it could easily be some extra 30ms from the display and maybe 16ms from the mouse/keyboard -- think 125Hz poll rate and bad debounce implementation.

Re:Video Gaming Will Take Over by SmirkingRevenge on Wednesday January 15, 2020 @12:28AM (#22051953)
> I (and many, many others) notice lag in games with v-sync turned on vs off, and we're talking about single digit milliseconds there.

Many gamers think they can feel differences in such small ranges of milliseconds... and maybe some can. I bet its not very many though.

I would love to see results of a blind test.

Re:Video Gaming Will Take Over by archagon on Wednesday January 15, 2020 @05:22AM (#22053109)
At least at 60fps in a first-person shooter, it’s honestly immediately obvious.
Re:Video Gaming Will Take Over by mhh__ on Tuesday January 14, 2020 @10:13PM (#22051479)
I remember Arma 3 (A pretty serious MilSim game) having 100ms+ input lag at one point so there is definitely room to play with but I don't think it's ever going to be good enough for stereotype PC games - equally, I don't think they're the target market.
Re:Video Gaming Will Take Over by MattRix on Tuesday January 14, 2020 @10:24PM (#22051515)
Input lag is annoying for sure, but it's the sort of thing where as long as it's consistent and not sporadic, you would mostly adapt to it... Especially assuming you're not playing some kind of competitive real-time game (which most of these games aren't).
Re:Video Gaming Will Take Over by crummy on Tuesday January 14, 2020 @08:25PM (#22050955)
Vsync off gives tearing, right? Maybe you're noticing that and not the latency.
Re:Video Gaming Will Take Over by apazzolini on Tuesday January 14, 2020 @08:36PM (#22051014)
Vsync off can sometimes produce tearing, but I find this preferable to vsync on, which eliminates tearing but introduces latency.

Edit: Freesync/G-sync is an attempt to eliminate tearing AND latency. Unfortunately, this often requires a higher response time on many monitors. For example, on my simracing setup with a Samsung CHG90[1], you can't both enable freesync and the fastest response time on the monitor. I opt for the faster response time as it just feels faster and most of the time I don't notice the tearing.

[1] https://www.samsung.com/us/computing/monitors/gaming/49--chg...

Re:Video Gaming Will Take Over by ihuman on Tuesday January 14, 2020 @05:21PM (#22049837)
Wouldn't that also solve the 20-minute update problem?
Re:Video Gaming Will Take Over by setr on Tuesday January 14, 2020 @03:42PM (#22049041)
More datacenters
Re:Video Gaming Will Take Over by falcolas on Tuesday January 14, 2020 @04:04PM (#22049237)
That's not a technical solution, that's a "throw money at the problem" solution which is not financially viable for a good portion of the world.
Re:Video Gaming Will Take Over by UncleMeat on Tuesday January 14, 2020 @06:13PM (#22050210)
But it is exactly how CDNs and very large web applications have been doing things for ages.
Re:Video Gaming Will Take Over by buttersbrian on Tuesday January 14, 2020 @08:36PM (#22051012)
Exactly this. Nearly anything on the internet that is concerned with speed does this in some fashion.
Re:Video Gaming Will Take Over by Mirioron on Wednesday January 15, 2020 @01:42AM (#22052183)
The problem is that the bandwidth costs become too high. Internet streamed video can be encoded with get efficient algorithms, it can be cached at your ISP, and it doesn't care much about latency. None of these are true for game streaming. People will want a higher quality image with low latency and it's not something that can ever be cached.
Re:Video Gaming Will Take Over by wayoutthere on Wednesday January 15, 2020 @12:24PM (#22056129)
Two words: edge compute. The major ISPs are in the process of rolling this out in trials, with nationwide rollouts likely to start in 2021. The general idea is that you build some amount of CPU / GPU capacity in the boxes on the poles outside your house. Initial versions likely won't be able to support the full Stadia 4k experience, but it'll be enough to play games like Fortnite or Minecraft.

Considering those last-mile edge devices often cost in the tens of thousands of dollars and use a lot of power, including a few hundred ARM cores isn't a huge cost increase for the benefit it provides.

Re:Video Gaming Will Take Over by falcolas on Wednesday January 15, 2020 @03:48PM (#22058349)
> including a few hundred ARM cores

You're not going to get a lot of gaming done on ARM cores, when the games Stadia is trying to sell are built for x86 and x64.

Games that run on ARM devices (Fortnight, Minecraft) can already run on Stadia's end user hardware (phones, low-end computers, even many android-based smart TVs), and don't require streaming infrastructure.

Re:Video Gaming Will Take Over by wayoutthere on Thursday January 16, 2020 @07:30AM (#22063871)
Why not? Think Nintendo Switch (which uses an ARM-based Tegra X1), not PS5. And give the hardware 3-5 years; it will be able to do 4k. It'll be just another port.
Re:Video Gaming Will Take Over by gambiting on Wednesday January 15, 2020 @04:01AM (#22052731)
Also a single Netflix blade can support caching for hundreds of users. Stadia blades support only one user per blade, and it's not like the hardware is cheap or the space in cabines unlimited.