LWN.net Logo

LCA: The X-men speak

LCA: The X-men speak

Posted Feb 12, 2013 16:20 UTC (Tue) by drag (subscriber, #31333)
In reply to: LCA: The X-men speak by marduk
Parent article: LCA: The X-men speak

The ultimate solution would be to not have the server do any of the rendering at all.

Instead of the server doing the rendering all the rendering is handled by the clients. The clients themselves talk to the GPU via whatever API they feel like using and then render their output to a off screen buffer.

Then all the 'display server' has to do at this point, besides handle the grunt work of doing things like handling inputs and modesetting, is flip the client buffer and composite the display.

With a little bit effort then it should be possible to kill the 'display server' and then have another 'display server' be able to grab the client application's output buffer.

Taking that and extending the idea further it should then be possible for you to take the client application's buffer it's rendering to, perform some sort of efficient streaming image compression, and then send that output over the network.

It may need slightly more bandwidth then traditional X, but it would still benefit from accelerated rendering (especially if your image compression can be accelerated) and would be virtually unaffected by latency... which is with X is it's Achilles's heal.

You could then have a single application on your desktop and then seamlessly transfer it to your phone or anything else running on any network. No special effort needed on the side of the application developer and you still get acceleration and all that happy stuff.

All theoretical at this point, of course.

/end wayland troll


(Log in to post comments)

LCA: The X-men speak

Posted Feb 12, 2013 18:58 UTC (Tue) by dlang (✭ supporter ✭, #313) [Link]

given that the clients run on the central box and the server is in front of the user, moving work from the server to the client concentrates the load, which is not a good thing (assuming that remote ability is maintained)

LCA: The X-men speak

Posted Feb 12, 2013 20:42 UTC (Tue) by drag (subscriber, #31333) [Link]

yet oddly it's not much different then what X windows does when people try to use it to run 'thin clients'. The bulk of the application logic, memory usage, cpu usage, and the like always is going to be on the side of were the application is.

Is it going to be a big win for you to distribute the rendering of the applications?

It seems to me that the sort of applications were the bulk of the resources is put into the final rendering (video games, video playback, and the like) are exactly the sort of things that X11 is terrible at and is all done by direct rendering when possible.

LCA: The X-men speak

Posted Feb 21, 2013 11:34 UTC (Thu) by mmarq (guest, #2332) [Link]

Sounds to me you have been reading about NX "drag"... (some ingenious stuff could apply not only remotely but also locally )

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds