From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 108832] Cursor flickering on switching between cursor types Date: Thu, 22 Nov 2018 14:03:47 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0318052094==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 22E146E3A3 for ; Thu, 22 Nov 2018 14:03:48 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0318052094== Content-Type: multipart/alternative; boundary="15428954280.7a2F3A5d6.23497" Content-Transfer-Encoding: 7bit --15428954280.7a2F3A5d6.23497 Date: Thu, 22 Nov 2018 14:03:48 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D108832 Bug ID: 108832 Summary: Cursor flickering on switching between cursor types Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: marlock9@gmail.com Copy of https://bugs.kde.org/show_bug.cgi?id=3D400097 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 te= xt selecting I clearly see the intermediate cursor texture (can't see what typ= e 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. https://drive.google.com/file/d/1bV7okri0I95tkCOqo-6Z-axnN3-BXk9U/view?usp= =3Dsharing 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 lo= cate 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 ri= ght after appears so much tearing (due to "KMS Pageflipping: disabled because of SWcursor" I suggest) so I needed to enable TearFree. --=20 You are receiving this mail because: You are the assignee for the bug.= --15428954280.7a2F3A5d6.23497 Date: Thu, 22 Nov 2018 14:03:48 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 108832
Summary Cursor flickering on switching between cursor types
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter marlock9@gmail.com

Copy of https://bugs.kde.org/show_bug.cgi?id=3D400097

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&qu=
ot; for text
selecting I clearly see the intermediate cursor texture (can't see what typ=
e 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.

https://drive.google.com/file/d/1bV7okri0I95tkCOqo-6Z=
-axnN3-BXk9U/view?usp=3Dsharing

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 lo=
cate
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 ri=
ght
after appears so much tearing (due to "KMS Pageflipping: disabled beca=
use of
SWcursor" I suggest) so I needed to enable TearFree.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15428954280.7a2F3A5d6.23497-- --===============0318052094== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0318052094==--