Is it possible to render heavy graphic on remote machine with X server?

2

From X Server Definition, it says:

"The server application, which processes the data as requested and returns the results to the client, typically can run on either a remote machine or the local machine with no obvious difference to the user".

So is it possible to, for example, play graphic-heavy-games with a GPU installed to a remote PC with X server?

Nhu Thai Sanh Nguyen

Posted 2017-07-20T09:13:51.170

Reputation: 517

Xen Desktop proposes that is can do a version of this. But that is enterprise grade stuff. Not sure the cost on it. – Damon – 2017-07-24T09:49:28.933

Answers

1

The X core protocol is network transparent, and the "no obvious effect" is a bit of an exaggeration: You do notice network lag if you are not in a LAN (been there, done that). Also note that the X core protocol is several decades old, GPUs didn't exist at the time, rendering was done on the X server in software, and the graphics primitives (polygons, fill commands) etc. were sent over the wire.

GPU support (OpenGL etc.) came later, and usually renders locally.

So no, you can't use X to play heavy-graphics games remotely. But as the other answer already mentioned, there are other technologies that try to do that. For X and Linux, there's e.g. virtualgl, but I have a feeling you'd prefer Windows, anyway.

dirkt

Posted 2017-07-20T09:13:51.170

Reputation: 11 627

0

Don't know about X specifically but a french firm is currently developing exactly this kind of idea to play demanding games on low-end material: https://shadow.tech/

EDIT: Actually the term for this is cloud gaming, and this article about the state of it is pretty interesting.

Willy

Posted 2017-07-20T09:13:51.170

Reputation: 109

Lol that's exactly what I am trying to do, playing game on low end laptop – Nhu Thai Sanh Nguyen – 2017-08-12T07:34:17.210

This Shadow is still very new and buggy (and not widely out on the market yet), but I think the technologies themselves are nothing new so maybe you can tinker with it and see what you can do. Or you could wait a few months to have access to this, it'll be something like 30$/month. – Willy – 2017-08-12T07:39:44.917