<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xorg-server 1.18.2: missing mouse pointer when coming back from screen lock"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94677#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - xorg-server 1.18.2: missing mouse pointer when coming back from screen lock"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94677">bug 94677</a>
              from <span class="vcard"><a class="email" href="mailto:tstarling@wikimedia.org" title="Tim Starling <tstarling@wikimedia.org>"> <span class="fn">Tim Starling</span></a>
</span></b>
        <pre>I looked into this with gdb, with the stock packages from Ubuntu 16.04 since I
have a reliable reproduction with that version. Specifically, xserver-xorg-core
 2:1.18.3-1ubuntu2.3 and xserver-xorg-video-intel
2:2.99.917+git20160325-1ubuntu1.

The cursor is actually restored successfully after unlock, but then it
disappears again when sna_mode_disable_secondary_planes() is called,
specifically during the LOCAL_IOCTL_MODE_SETPLANE ioctl. 

After this, there is no chance of the cursor being restored, since
sna_crtc->cursor remains non-null, so further attempts to restore it hit the
"skipping cursor already show on CRTC" case.

So, there's a good chance this bug was fixed by
f1c757e4518f6835bbff6c940269a5c6be75f202, since the commit message claims to
modify sna_mode_disable_secondary_planes() to "ignore the secondary cursor
planes".</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>