<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 - Cursor flickering on switching between cursor types"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=108832">108832</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Cursor flickering on switching between cursor types
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>marlock9@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Copy of <a href="https://bugs.kde.org/show_bug.cgi?id=400097">https://bugs.kde.org/show_bug.cgi?id=400097</a>

Creating bug here because with help of KDE developer I have investigated it is
amdgpu bug.

For example, I'm moving cursor arrow on text. Before it turns to "I" for text
selecting I clearly see the intermediate cursor texture (can't see what type is
it) located right or left from current cursor position. Same when I moving
cursor arrow to the border of screen to resize. It looks like glitch or
flickering.

It's lasting for about 2 years on different distributions.

<a href="https://drive.google.com/file/d/1bV7okri0I95tkCOqo-6Z-axnN3-BXk9U/view?usp=sharing">https://drive.google.com/file/d/1bV7okri0I95tkCOqo-6Z-axnN3-BXk9U/view?usp=sharing</a>

Above is link to a slo-mo video. You can clearly see what's happening when I'm
moving cursor straight down from text:
1. "I" cursor
2. Arrow cursor appears 5 px left from "I" cursor
3. Arrow cursor leaps to the 15 px right-down diagonal

On the monitor it looks like flickering jumping of cursor.

amdgpu 18.0.1
libdrm-amdgpu1 2.4.91
linux 4.19.0
Radeon RX 570.

So, kde developer said:

"The issue is very likely in the video drivers, possibly not correctly
syncronizing cursor position and cursor shape updates. I suggest to report it
to the developers of your video drivers (your distribution might help to locate
these)."

Finally, I have some experiments with video driver settings and I have no
issues with such options in 20-amdgpu.conf:

Option "SWcursor" "true"
Option "TearFree" "true"

Truly said, only enabling SWcursor is enough for get rid of this bug but right
after appears so much tearing (due to "KMS Pageflipping: disabled because of
SWcursor" I suggest) so I needed to enable TearFree.</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>