Problem is it turns out the bottleneck in performance appears to be in the socket transfer, not the rendering back end. Taking it off the client workstation to put it on a more powerful rendering server would reduce performance, since the network layer would stressed to an even greater extent than with a local connection.
"Might be useful in the future" is a bad method of prioritization.
In any case it seems like if the networked version was actually a good idea in the long run, the people pushing for it should have been angry with the management that couldn't understand that, instead of the guy who took something that was actually bad and made it actually good.
However if that was the case it's a difference between okay and a lot better on an important dimension as opposed to bad/good.
Simply adding an alternate strategy and marking it the default would be better than flat out removing the networked strategy and plugging in your local one though.
Even today, streaming a game from my computer to my TV has high latency. It's barely playable. (This is at just 60FPS. Latency feels ~10ms additional input lag)
I don't think we're at the point or anywhere near the point where streaming graphics will be a sensible option. As our networking improves, so will our framerates and response times, and if you think people can't notice a 10MS difference, try using a pen-tablet and looking at how your cursor lags behind the pen. That's 16MS. In fact, it needs to be less than 1MS of latency for you not to notice at all.
I think you're comparing rocks and fruit honestly.
Input lag is a rather different thing than asking something to render and waiting for it to be done drawing it.
I also think there are some important factors there, like your PC doing a whole lot more than just running a game and other stuff happening on your network.
I take it you have a smart TV that maybe channels input back? Just hooking a TV up to your computer as a display isn't necessarily streaming.
The networking hardware today is really good, but there are always going to be fundamental issues that could exist due to the actual setupz
If you take a program that was designed from the ground up to take maximal advantage of a rendering pipeline contained in a single machine, and you try to implement a remote display by just piping it through an off-the-shelf network protocol to a dumb receiver, there's gonna be a lot of latency. The more you can customize the protocol and/or implement application-specific logic on the receiving end, the closer you can come to matching the performance of the purely local case.
Client-side JavaScript is a pretty good analogy. JS code is used to render a lot of UI updates on web pages that could, in principle, work just as well by requesting an updated page from the server, but in practice, doing it that way is intolerably slow. If you want to build a website that works well without client-side JS, you have to lower your expectations at the start and design your entire UI around the constraint that any update to the page content , no matter how small, is going to take at least a few hundred milliseconds.
10 milliseconds is 2/3 of a frame. That's simply not noticeable unless you're a pro fighting game/CS:GO player playing in a competitive way.
Games already have many frames of lag built-in. Doom 2016, for example, has about 87ms of input latency (when targeting 60fps). Many games take longer than that.
An extra 10ms would hardly make a game jump from normal to barely playable. 100ms would.
I have tried various versions of this, from Steam Link to Nvidia game stream (same base idea) and they work pretty damn well. I'm not gonna play Street fighter, but for most games it's better than playable.
If you're serious about 10ms being too much, I wonder how the 5-15ms lag from your laptop screen bothers you lol.
Also, this is unrelated to large scale rendering or whatever.. lag doesn't matter if you're doing a massive compute job.
My current monitor is 7MS input lag, and it's noticeable, but not the worst. My new one will be 4MS. 7MS is almost half a frame at 60hz, which you will definitely notice. You have to remember, I mean subconsciously notice and impacts the experience, not necessarily being able to say "woah there's a 7.1452MS latency on this!"
I've tried game stream. It's god-awful latency. That's going to depend massively on where you live, but for me it's a no go.
lag doesn't matter if you're doing a massive compute job.
Straw-man argument, that's not what I'm talking about.
I meant I've tried Nvidia's game stream, which depends on where you live because it is not LAN, but a server that you basically fancy remote desktop into to play.
Are you joking? Try playing with an additional 10ms latency. Not with a controller, although you still might notice, but with a mouse. It doesn't feel right.
I mean, maybe some people who have never played a game before wouldn't know, but it definitely registers at a subconscious level and they will prefer the lower-latency system, given an input lag difference of 10MS. 10MS is almost a whole frame at 60hz, and almost 2 at 144hz. Yeah, you'll definitely notice that and it will degrade the experience, even if not consciously.
To be clear: We're talking about adding 10ms on top of all the other latencies, which there are many.
well I typically play RTS games, and latencies in the tens of milliseconds are expected and don't feel strange at all. If you mean 10ms on top of other latencies then I understand that you might notice that difference, i thought you meant 10ms total
Getting the result line by line sounds like they are sending each draw instruction and waiting for the result one by one. It might already have helped a fair bit to send off the whole job in one go and receive the results when done (or in bigger blocks)
That way it should perfom better locally and be able to work in a thin client / powerful server setup.
local client/server would still not be as fast as a single local process tho.
127
u/auxiliary-character Dec 15 '18
Problem is it turns out the bottleneck in performance appears to be in the socket transfer, not the rendering back end. Taking it off the client workstation to put it on a more powerful rendering server would reduce performance, since the network layer would stressed to an even greater extent than with a local connection.