Skip to contentSkip to conversation

New: [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

Bug 191291 [email protected] 1 participant 8 messages Dec 27, 2016 – Jun 21, 2017

lore
Share & tools
lore

[email protected]

author Reviewed-by Michel Dänzer Reviewed-by Alex Deucher
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=191291

            Bug ID: 191291
           Summary: [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)
           Product: Drivers
           Version: 2.5
    Kernel Version: 4.10-rc1
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

With kernel 4.10-rc1 the mouse cursor is disappearing under some circumstances. It can be triggered by logging out from KDE5 Plasma session back to sddm login manager. Other possibilities are waiting for DPM turning the screen of or switching to console and back to X.

I was just guessing, but reverting

commit a1f49cc179ce6b7b7758ae3ff5cdb138d0ee0f56

Author: Flora Cui <[email protected]>
Date:   Wed Dec 14 14:36:42 2016 +0800

drm/amdgpu: fix cursor setting of dce6/dce8

Fixes 7c83d7abc999 ("drm/amdgpu: Only update the CUR_SIZE register when

necessary")

and

commit 7c83d7abc9997cf1efac2c0ce384b5e8453ee870

Author: Michel Dänzer <[email protected]>
Date:   Thu Oct 27 17:44:07 2016 +0900

drm/amdgpu: Only update the CUR_SIZE register when necessary

Normally only necessary when the cursor size changes.

fixed the problem for me.

hardware is
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Carrizo (rev c5)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 191291] [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

https://bugzilla.kernel.org/show_bug.cgi?id=191291

Alex Deucher <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Alex Deucher <[email protected]> --- Already fixed:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a1f49cc179ce6b7b7758ae3ff5cdb138d0ee0f56

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 191291] [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=191291

--- Comment #2 from Johannes Hirte <[email protected]> --- (In reply to Alex Deucher from comment #1)

Quoted 3 lines

Already fixed:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/
?id=a1f49cc179ce6b7b7758ae3ff5cdb138d0ee0f56

No, as I wrote, this one was applied and I've reverted this too. Additionally I don't see how a1f49cc179ce6b7b7758ae3ff5cdb138d0ee0f56 could be relevant. Carrizo is DCE11 not 6 or 8.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 191291] [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=191291

--- Comment #3 from Michel Dänzer <[email protected]> ---
Please attach the dmesg output and Xorg log file corresponding to the problem.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 191291] [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=191291

--- Comment #4 from Johannes Hirte <[email protected]> --- Attaching dmesg and Xorg.log from kernel 4.10.0-rc3-00029-gbd5d7428f5e5

I've booted the sytem, logged into KDE Plasma session logged out and the cursor was gone under sddm. Logs were taken from console after logging out from plasma.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 191291] [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=191291

--- Comment #5 from Johannes Hirte <[email protected]> --- Created attachment 251141
--> https://bugzilla.kernel.org/attachment.cgi?id=251141&action=edit
dmesg-4.10.0-rc3-00029-gbd5d7428f5e5

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 191291] [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=191291

--- Comment #6 from Johannes Hirte <[email protected]> --- Created attachment 251151
--> https://bugzilla.kernel.org/attachment.cgi?id=251151&action=edit
Xorg.0.log-4.10.0-rc3-00029-gbd5d7428f5e5

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
author Acked-by Alex Deucher
#7 lore raw

[Bug 191291] [amdgpu] mouse cursor disappearing on X11 (KDE Plasma)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=191291

Johannes Hirte ([email protected]) changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |OBSOLETE

--- Comment #7 from Johannes Hirte ([email protected]) --- This was fixed with:

commit 69bcc0b7140c30de552aa3ef08322295862e8e2f

Author: Michel Dänzer <[email protected]>
Date:   Wed Jan 11 18:27:25 2017 +0900

Revert "drm/amdgpu: Only update the CUR_SIZE register when necessary"

This reverts commits 7c83d7abc9997cf1efac2c0ce384b5e8453ee870 and a1f49cc179ce6b7b7758ae3ff5cdb138d0ee0f56.

They caused the HW cursor to disappear under various circumstances in the wild. I wasn't able to reproduce any of them, and I'm not sure what's going on. But those changes aren't a big deal anyway, so let's just revert for now.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=191291
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99143

so closing this.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel