LWN.net Logo

NX for Wayland?

NX for Wayland?

Posted Apr 9, 2012 16:10 UTC (Mon) by drag (subscriber, #31333)
In reply to: NX for Wayland? by littlesandra88
Parent article: The state of Wayland

> Can something like NX/FreeNX/NeatX be done with Wayland?

What I would like to see is a virtual video driver for the Linux kernel in order to implement SPICE support on real hardware. (SPICE depends on virtualized hardware to provide it's connects)

Then I would also like to see a WAN profile for SPICE. Currently it seems to only be really good for LAN connections.

That way instead of just having your GUI work over the network you have _everything_ work over the network. Virtual consoles, framebuffers, and anything else. Any sort of video output post-initrd would be able to be sent over the network.


(Log in to post comments)

NX for Wayland?

Posted Apr 9, 2012 16:23 UTC (Mon) by njs (guest, #40338) [Link]

But making this usable for unprivileged users would be... tricky.

NX for Wayland?

Posted Apr 9, 2012 16:24 UTC (Mon) by drag (subscriber, #31333) [Link]

Yes. You would have to treat it like a multihead workstation were you have a video card dedicated for each user.

NX for Wayland?

Posted Apr 9, 2012 17:48 UTC (Mon) by slashdot (guest, #22014) [Link]

Surely userspace can just send the command buffers over the network rather than to the DRM driver?

Don't see much point in using a kernel driver.

NX for Wayland?

Posted Apr 9, 2012 17:51 UTC (Mon) by Cyberax (✭ supporter ✭, #52523) [Link]

Nope. Command buffers are too huge for that.

NX for Wayland?

Posted Apr 9, 2012 20:46 UTC (Mon) by littlesandra88 (guest, #64017) [Link]

Why is Spice hard to implement in Wayland? Isn't it just a protocol?

Or is Wayland the problem rather than Spice?

NX for Wayland?

Posted Apr 9, 2012 21:06 UTC (Mon) by Cyberax (✭ supporter ✭, #52523) [Link]

Spice is not particularly hard to implement for Wayland. But nobody got around to doing this.

NX for Wayland?

Posted Apr 10, 2012 7:26 UTC (Tue) by pbonzini (subscriber, #60935) [Link]

> What I would like to see is a virtual video driver for the Linux kernel in order to implement SPICE support on real hardware.

You mean like XSpice?

NX for Wayland?

Posted Apr 10, 2012 9:29 UTC (Tue) by nix (subscriber, #2304) [Link]

Oh, is that what XSpice does? It's hard to tell: the page you link to never actually says what it is. Actually I'm still not sure. Is it an X video driver that sends the image over a spice connection to a remote client? (If so, that's not going to work for anything but X.)

NX for Wayland?

Posted Apr 11, 2012 18:35 UTC (Wed) by Lennie (subscriber, #49641) [Link]

Basically it seems to be a 'virtual GPU' (driver) for X.org:

http://lists.freedesktop.org/archives/xorg-announce/2010-...

But the same principle obviously can be applied to Wayland...?

NX for Wayland?

Posted Apr 13, 2012 13:50 UTC (Fri) by nix (subscriber, #2304) [Link]

Oh, hang on, it's just another name for x86-video-qxl. Of course. *slaps self*

NX for Wayland?

Posted Apr 13, 2012 14:08 UTC (Fri) by nix (subscriber, #2304) [Link]

That would be xf86-video-qxl and my fingers are dropping keys and LWN needs an edit option and a pony.

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