Skip to contentSkip to conversation

Cursor flickering on switching between cursor types

Bug 108832 [email protected] 1 participant 3 messages Nov 22, 2018 – Nov 23, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108832

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: [email protected]
Reporter: [email protected]

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

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.

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

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=108832

--- Comment #1 from Dieter Nützel <[email protected]> --- Maybe duplicate of Bug #106175.

Can you please verify if patch from comment #55,
attachment 142558 solve it?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=108832

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

          Component|DRM/AMDgpu                  |Driver/AMDgpu
            Version|unspecified                 |git
            Product|DRI                         |xorg
           Assignee|[email protected] |[email protected]
                   |.org                        |
         QA Contact|                            |[email protected]

--- Comment #2 from Michel Dänzer <[email protected]> --- Does
https://gitlab.freedesktop.org/daenzer/xf86-video-amdgpu/commits/cursor-double-buffer
fix it?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel