[Bug 78131] Multiple monitors broken in desktops other than gnome3

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 27 07:14:13 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78131

--- Comment #1 from David Mansfield <freedesktop-bugzilla at dm.cobite.com> ---
Created attachment 99946
  --> https://bugs.freedesktop.org/attachment.cgi?id=99946&action=edit
use surface_id 0 for primary surface on all monitors

spice-server and downstream code expect that the primary surface will always
have surface_id = 0.  In a dual head environment, all monitors render portions
of the primary surface.

However, when the monitor config events are generated and sent, the primary
surface (which has an actual id which is NEVER 0 once it is allocated), is only
mapped to the correct identifier (0) for the primary head (where crtc index is
0).

The fix is to look at the "primary" flag in the bo and always use id 0,
irrespective of which head is being configured.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20140527/92221e88/attachment.html>


More information about the spice-bugs mailing list