Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on Wayland
https://bugs.freedesktop.org/show_bug.cgi?id=110984
Bug ID: 110984
Summary: Vulkan shows stuttering issues on Vega 10 w/
gnome-shell on Wayland
Product: DRI
Version: DRI git
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]
When testing the latest kernel from drm-tip (as of writing, this is 294d5056c1f3 ("drm-tip: 2019y-06m-24d-17h-20m-57s UTC integration manifest") ), running vulkan-cube on a gnome-shell wayland session (so, since vulkan-cube doesn't support native wayland this means it's running through Xwayland) shows pretty significant stuttering issues. See the video here for what it looks like:
https://people.freedesktop.org/~lyudess/archive/06-24-2019/VID_20190624_140614.mp4
This was reproduced with a Vega 10 Pro SSG:
26:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon PRO SSG] [1002:6862]
Mesa version: 19.0.6-1.fc30
gnome-shell version: 3.32.2-2.fc30
Xwayland version: 1.20.4-3.fc30
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=110984
Michel Dänzer <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTOURBUG
Status|NEW |RESOLVED--- Comment #1 from Michel Dänzer <[email protected]> ---
This is an Xwayland issue, due to it only using a single buffer for sending contents to the Wayland server.
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=110984
--- Comment #2 from Olivier Fourdan <[email protected]> --- (In reply to Michel Dänzer from comment #1)
Quoted 2 lines
This is an Xwayland issue, due to it only using a single buffer for sending contents to the Wayland server.
Xwayland being hardware agnostic, if Xwayland was the problem, I'd expect the issue to occur with any hardware., and yet I don't see this on intel for example.
Lyude, you mention this is with drm-tip, can you confirm if this started with the DRM update or does it occur with the current stable code as well?
Last thing, with single buffer, I would expect tearing more than stuttering, from the screencast, it looks like it's flipping to a back buffer which wasn't updated in time.
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=110984
--- Comment #3 from Olivier Fourdan <[email protected]> ---
, I can reproduce on intel(In reply to Olivier Fourdan from comment #2)
Quoted 3 lines
Xwayland being hardware agnostic, if Xwayland was the problem, I'd expect the issue to occur with any hardware., and yet I don't see this on intel for example.
I take that back, I reproduced on intel as well.
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=110984
--- Comment #4 from Michel Dänzer <[email protected]> --- (In reply to Olivier Fourdan from comment #2)
Quoted 1 line
Last thing, with single buffer, I would expect tearing more than stuttering,
It's a race between the Wayland server reading from the buffer and Xwayland drawing to it. This can result in tearing if those two operations can actually run concurrently, which is the case with amdgpu, but not yet with most other drivers AFAIK.
Either way, it can result in the Wayland server already displaying a client frame too early sometimes, hence the stuttering.
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=110984
--- Comment #5 from Olivier Fourdan <[email protected]> --- Moved to https://gitlab.freedesktop.org/xorg/xserver/issues/835
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