xf86-video-amdgpu - commit 0d60233d introduced stuttering with mouse cursor operations
https://bugs.freedesktop.org/show_bug.cgi?id=109332
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
QA Contact|[email protected] | Component|Driver/AMDgpu |DRM/AMDgpu Assignee|[email protected] |[email protected] | |.org Version|git |unspecified CC| |[email protected], | |[email protected] Product|xorg |DRI
--- Comment #1 from Michel Dänzer <[email protected]> ---
Still a DC issue. This is perfectly normal usage of the cursor UAPI, Wayland compositors such as gnome-shell use it similarly.
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
https://bugs.freedesktop.org/show_bug.cgi?id=109332
--- Comment #2 from Nicholas Kazlauskas <[email protected]> --- In this case it's not actually the mouse operations themselves causing the stuttering but the framebuffer change. This is a known limitation with the async plane updates API in DRM and not something we can really fix in DC until there's a better API for async updates.
The page-flip IOCTL advertises itself as non-blocking but in reality it's not - if there's any commit work touching the plane it's going to be blocked until that finishes and that'll be any non asynchronous cursor update, gamma update, property update, or anything else that occurs. This is what the stuttering comes from.
So while it's a valid use of the cursor UAPI to double buffer cursors it's not something I'd really recommend doing for an atomic driver with how DRM is currently setup. Maybe this can be a configurable option in the meantime? I'm not sure how much work that would be to add and maintain, though.
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
https://bugs.freedesktop.org/show_bug.cgi?id=109332
--- Comment #3 from Michel Dänzer <[email protected]> --- (In reply to Nicholas Kazlauskas from comment #2)
Quoted 2 lines
Maybe this can be a configurable option in the meantime? I'm not sure how much work that would be to add and maintain, though.
Yeah, I'm afraid I'm not really hot on adding an option for this. We can't ask Wayland compositors to work around this, either.
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
https://bugs.freedesktop.org/show_bug.cgi?id=109332
[email protected] changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #4 from [email protected] ---
This was fixed in kernel with "Allow cursor async updates for framebuffer swaps".
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