LWN.net Logo

SPICE

SPICE

Posted Nov 25, 2011 17:50 UTC (Fri) by Cyberax (✭ supporter ✭, #52523)
In reply to: SPICE by drag
Parent article: The first GNOME Boxes release

SPICE can certainly work (in theory) without QEMU and other stuff. It should be fairly easy to start Wayland on an offscreen video buffer and use it for SPICE remoting.

That way you'll even get hardware graphics acceleration on your host. The only thing you'll need is a working EGL library.

What's more, you can in theory later just attach Wayland surface to a real device using the hotplug mechanism. Just imagine - you work remotely on your computer using a tablet while your wife is watching YouTube on it. Then you come to your computer and with a flick of hand transfer your workspace from offscreen buffer to the real console.

All of the infrastructure for this is ready.


(Log in to post comments)

SPICE

Posted Nov 26, 2011 23:45 UTC (Sat) by drag (subscriber, #31333) [Link]

That's very cool.

One of the things people don't notice about Windows is that (I don't understand the exact circumstances) applications can disconnect from a running GUI session and then reconnect without needed to be restarted.

The biggest example that I can think of this happening is one of the reasons how Microsoft was to enable much greater (perceived) stability for graphics drivers for Vista and Windows 7. Many Windows users can testify that occasionally when launching a 3D game or some app or something the entire screen will go black and then restart up again. What has happened (from what it seems like anyways) is that the kernel caught a exception or some other problem with the graphics drivers and had reset everything. The GUI is rebuilt and then all the applications still running are loaded back up and reconnected to the GUI session like nothing happened.

With Wayland, and it's compositing-based windowing system, seems like this sort of thing should be possible.

SPICE

Posted Nov 27, 2011 4:58 UTC (Sun) by raven667 (subscriber, #5198) [Link]

What has happened (from what it seems like anyways) is that the kernel caught a exception or some other problem with the graphics drivers and had reset everything. The GUI is rebuilt and then all the applications still running are loaded back up and reconnected to the GUI session like nothing happened.

With Wayland, and it's compositing-based windowing system, seems like this sort of thing should be possible.

that sounds way cool. I hope wayland ends up working that way because that sounds like it will be way more reliable in practice

SPICE

Posted Nov 29, 2011 22:19 UTC (Tue) by elanthis (guest, #6227) [Link]

It also means you can upgrade your graphics driver (which is usually the only time I see that happen) without so much as a restart. Unlike Linux, which requires installing an entire new kernel to get a simple DRM driver update (and this is unlikely to ever change).

SPICE

Posted Dec 1, 2011 23:10 UTC (Thu) by intgr (subscriber, #39733) [Link]

> when launching a 3D game or some app or something the entire screen will
> go black and then restart up again. What has happened (from what it seems
> like anyways) is that the kernel caught a exception or some other problem
> with the graphics drivers and had reset everything

I'm pretty sure these glitches you're describing are actually GPU hangs/crashes, which are handled by resetting the card: http://msdn.microsoft.com/en-us/windows/hardware/gg487336
A real driver crash still causes a blue screen.

Linux can recover from these, too (at least the Intel driver does).

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