Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-28 Thread Alon Levy
On Fri, May 25, 2012 at 09:23:13AM +0200, Alexander Larsson wrote: > On Mon, 2012-05-07 at 09:28 +0300, Alon Levy wrote: > > Hi, > > > > Currently we support multiple monitors by having: > > single pci = single display channel = single client window > > > > The RANDR architecture doesn't len

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-25 Thread Alexander Larsson
On Mon, 2012-05-07 at 09:28 +0300, Alon Levy wrote: > Hi, > > Currently we support multiple monitors by having: > single pci = single display channel = single client window > > The RANDR architecture doesn't lend itself to this, but on the other hand it > makes it very easy to have an alter

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-08 Thread Alon Levy
On Mon, May 07, 2012 at 03:31:23PM -0600, Noel Van Hook wrote: > How far away is a multi-head solution, do you think? > It sounds like most of the work is in the client and the X driver? > Noel > I guess a month of real life I hope. > On Mon, May 7, 2012 at 12:28 AM, Alon Levy wrote: > > Hi, >

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-08 Thread Alon Levy
On Tue, May 08, 2012 at 10:30:17AM +0300, Yonit Halperin wrote: > On 05/07/2012 09:28 AM, Alon Levy wrote: > >Hi, > > > > Currently we support multiple monitors by having: > > single pci = single display channel = single client window > > > > The RANDR architecture doesn't lend itself to this,

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-08 Thread Yonit Halperin
On 05/07/2012 09:28 AM, Alon Levy wrote: Hi, Currently we support multiple monitors by having: single pci = single display channel = single client window The RANDR architecture doesn't lend itself to this, but on the other hand it makes it very easy to have an alternative scheme: si

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Noel Van Hook
How far away is a multi-head solution, do you think? It sounds like most of the work is in the client and the X driver? Noel On Mon, May 7, 2012 at 12:28 AM, Alon Levy wrote: > Hi, > >  Currently we support multiple monitors by having: >  single pci = single display channel = single client window

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Gerd Hoffmann
Hi, >> Are we going to have one more input/cursor channel per head? Probably >> not, but it would be nice to specify. I guess the coordinate will need >> to be adjusted to the respective heads. (ie some messages will be >> relative to heads, other to primary surface: INPUTS_MOUSE_POSITION vs >>

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Alon Levy
On Mon, May 07, 2012 at 02:16:09PM +0200, Marc-André Lureau wrote: > On Mon, May 7, 2012 at 8:28 AM, Alon Levy wrote: > >  RANDR introduces a concept of a CRTC and an OUTPUT. The CRTC scansout a > >  portion of the framebuffer onto one or more OUTPUTs. I propose having a > > 1:1 CRTC:OUTPUT corre

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Marc-André Lureau
On Mon, May 7, 2012 at 8:28 AM, Alon Levy wrote: >  RANDR introduces a concept of a CRTC and an OUTPUT. The CRTC scansout a >  portion of the framebuffer onto one or more OUTPUTs. I propose having a 1:1 > CRTC:OUTPUT correspondence and introducing two new commands, one on PCI and > one for the p

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Alon Levy
On Mon, May 07, 2012 at 01:57:37PM +0200, Gerd Hoffmann wrote: > On 05/07/12 12:28, Alon Levy wrote: > > On Mon, May 07, 2012 at 12:01:42PM +0200, Gerd Hoffmann wrote: > >> Hi, > >> > >>> But there is no concept of an additional surface in the guest driver. > >>> RANDR 1.2 (and I think the same f

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Gerd Hoffmann
On 05/07/12 12:28, Alon Levy wrote: > On Mon, May 07, 2012 at 12:01:42PM +0200, Gerd Hoffmann wrote: >> Hi, >> >>> But there is no concept of an additional surface in the guest driver. >>> RANDR 1.2 (and I think the same for 1.3, 1.4, since we don't have per >>> CRTC pixmaps) has a single screen

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Alon Levy
On Mon, May 07, 2012 at 01:36:03PM +0300, Alon Levy wrote: > On Mon, May 07, 2012 at 01:28:58PM +0300, Alon Levy wrote: > > On Mon, May 07, 2012 at 12:01:42PM +0200, Gerd Hoffmann wrote: > > > Hi, > > > > > > > But there is no concept of an additional surface in the guest driver. > > > > RANDR 1

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Alon Levy
On Mon, May 07, 2012 at 01:28:58PM +0300, Alon Levy wrote: > On Mon, May 07, 2012 at 12:01:42PM +0200, Gerd Hoffmann wrote: > > Hi, > > > > > But there is no concept of an additional surface in the guest driver. > > > RANDR 1.2 (and I think the same for 1.3, 1.4, since we don't have per > > > CR

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Alon Levy
On Mon, May 07, 2012 at 12:01:42PM +0200, Gerd Hoffmann wrote: > Hi, > > > But there is no concept of an additional surface in the guest driver. > > RANDR 1.2 (and I think the same for 1.3, 1.4, since we don't have per > > CRTC pixmaps) has a single screen wide pixmap. A screen is one per X > >

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Gerd Hoffmann
Hi, > But there is no concept of an additional surface in the guest driver. > RANDR 1.2 (and I think the same for 1.3, 1.4, since we don't have per > CRTC pixmaps) has a single screen wide pixmap. A screen is one per X > server, so there is just one even if you have multiple heads. And the > CRT

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Alon Levy
On Mon, May 07, 2012 at 09:03:02AM +0200, Gerd Hoffmann wrote: > Hi, > > > 1. Guest enables a new monitor: > > 2. Guest pushes QXLHead command to command ring > > 3. Server sends SpiceHead message on the ring's display channel. > > 4. Client creates a window out of [x, y, width, height] scan

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Hans de Goede
Hi, On 05/07/2012 09:03 AM, Gerd Hoffmann wrote: Hi, 1. Guest enables a new monitor: 2. Guest pushes QXLHead command to command ring 3. Server sends SpiceHead message on the ring's display channel. 4. Client creates a window out of [x, y, width, height] scanning out of the primary

Re: [Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-07 Thread Gerd Hoffmann
Hi, > 1. Guest enables a new monitor: > 2. Guest pushes QXLHead command to command ring > 3. Server sends SpiceHead message on the ring's display channel. > 4. Client creates a window out of [x, y, width, height] scanning out of the > primary surface (there is one associated primary with th

[Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-06 Thread Alon Levy
Hi, Currently we support multiple monitors by having: single pci = single display channel = single client window The RANDR architecture doesn't lend itself to this, but on the other hand it makes it very easy to have an alternative scheme: single pci = single display channel = multiple cl

[Spice-devel] [protocol RFC 0/2] RANDR support via QXLHead + SpiceHead

2012-05-06 Thread Alon Levy
Hi, Currently we support multiple monitors by having: single pci = single display channel = single client window The RANDR architecture doesn't lend itself to this, but on the other hand it makes it very easy to have an alternative scheme: single pci = single display channel = multiple cl