<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mouse cursor drawn at wrong position while running Unity engine games"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91230">91230</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Mouse cursor drawn at wrong position while running Unity engine games
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/Radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>daniel@constexpr.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=116942" name="attach_116942" title="Xorg.0.log">attachment 116942</a> <a href="attachment.cgi?id=116942&action=edit" title="Xorg.0.log">[details]</a></span>
Xorg.0.log

While running various Unity engine games (tested with  the cursor is drawn
slightly offset to the bottom-right of the real position observed by
applications. It does not matter whether the cursor is over the game's window
or if it has focus or is fullscreen / windowed / iconified.

I have bisected this to the following change in xf86-video-ati:
commit ddaba449e8d6fe9fc0d97085e4045843fd8d7af9
Author: Piotr Redlewski <<a href="mailto:predlewski@gmail.com">predlewski@gmail.com</a>>
Date:   Wed Jun 24 18:44:39 2015 +0200

    Disable CRTCs when disabling the outputs

    When turning the outputs off (DPMSModeOff), CRTCs stayed enabled. This led
    to higher gpu temperatures than with fglrx driver.

    v2: when entering DPMS also disable active CRTCs
    v3: use drmmode_set_mode_major() for enabling CRTCs when leaving DPMS

    Signed-off-by: Piotr Redlewski <<a href="mailto:predlewski@gmail.com">predlewski@gmail.com</a>>
    Reviewed-by: Michel Dänzer <<a href="mailto:michel.daenzer@amd.com">michel.daenzer@amd.com</a>>

:040000 040000 4cee4e2cdce31663527116812bb616dc0f2d42c6
a4510278e95f9c0006ae2b5d9f2d6caaf589961d M      src


The cursor is drawn at the correct position while not running a Unity engine
game.

GPU: Radeon HD 7950 (TAHITI)
Mesa: git-ff0a41b
LLVM: r241381
glamor: git-347ef4f
libdrm: git-676c806
xorg-server: 1.17.1</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>