<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Multiple monitors broken in desktops other than gnome3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78131#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Multiple monitors broken in desktops other than gnome3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=78131">bug 78131</a>
              from <span class="vcard"><a class="email" href="mailto:freedesktop-bugzilla@dm.cobite.com" title="David Mansfield <freedesktop-bugzilla@dm.cobite.com>"> <span class="fn">David Mansfield</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=99946" name="attach_99946" title="use surface_id 0 for primary surface on all monitors">attachment 99946</a> <a href="attachment.cgi?id=99946&action=edit" title="use surface_id 0 for primary surface on all monitors">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=78131&attachment=99946'>[review]</a>
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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>