From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110984] Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on Wayland Date: Mon, 24 Jun 2019 18:48:07 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1268989426==" 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 E4E6089D99 for ; Mon, 24 Jun 2019 18:48:06 +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 --===============1268989426== Content-Type: multipart/alternative; boundary="15614020860.9e25b4E.24908" Content-Transfer-Encoding: 7bit --15614020860.9e25b4E.24908 Date: Mon, 24 Jun 2019 18:48:06 +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=3D110984 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: dri-devel@lists.freedesktop.org Reporter: lyude@redhat.com 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) sh= ows pretty significant stuttering issues. See the video here for what it looks like: https://people.freedesktop.org/~lyudess/archive/06-24-2019/VID_20190624_140= 614.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 --=20 You are receiving this mail because: You are the assignee for the bug.= --15614020860.9e25b4E.24908 Date: Mon, 24 Jun 2019 18:48:06 +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 110984
Summary Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on W= ayland
Product DRI
Version DRI git
Hardware Other
OS All
Status NEW
Severity major
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter lyude@redhat.com

When testing the latest kernel from drm-tip (as of writing, th=
is is
294d5056c1f3 ("drm-tip: 2019y-06m-24d-17h-20m-57s UTC integration mani=
fest") ),
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) sh=
ows
pretty significant stuttering issues. See the video here for what it looks
like:

https://people.freedesktop.org/~lyudess/archive/06-24-2=
019/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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15614020860.9e25b4E.24908-- --===============1268989426== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1268989426==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110984] Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on Wayland Date: Tue, 25 Jun 2019 08:49:41 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1009629990==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 532226E09F for ; Tue, 25 Jun 2019 08:49:41 +0000 (UTC) In-Reply-To: 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 --===============1009629990== Content-Type: multipart/alternative; boundary="15614525810.C1CAD7.1200" Content-Transfer-Encoding: 7bit --15614525810.C1CAD7.1200 Date: Tue, 25 Jun 2019 08:49:41 +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=3D110984 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTOURBUG Status|NEW |RESOLVED --- Comment #1 from Michel D=C3=A4nzer --- This is an Xwayland issue, due to it only using a single buffer for sending contents to the Wayland server. --=20 You are receiving this mail because: You are the assignee for the bug.= --15614525810.C1CAD7.1200 Date: Tue, 25 Jun 2019 08:49:41 +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 = Michel D=C3=A4nzer changed bug 11098= 4
What Removed Added
Resolution --- NOTOURBUG
Status NEW RESOLVED

Commen= t # 1 on bug 11098= 4 from Michel D=C3=A4nzer
This is an Xwayland issue, due to it only using a single buffe=
r for sending
contents to the Wayland server.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15614525810.C1CAD7.1200-- --===============1009629990== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1009629990==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110984] Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on Wayland Date: Wed, 26 Jun 2019 06:43:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0620763487==" 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 985C46E291 for ; Wed, 26 Jun 2019 06:43:08 +0000 (UTC) In-Reply-To: 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 --===============0620763487== Content-Type: multipart/alternative; boundary="15615313881.5c6dDee.548" Content-Transfer-Encoding: 7bit --15615313881.5c6dDee.548 Date: Wed, 26 Jun 2019 06:43:08 +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=3D110984 --- Comment #2 from Olivier Fourdan --- (In reply to Michel D=C3=A4nzer from comment #1) > This is an Xwayland issue, due to it only using a single buffer for sendi= ng > contents to the Wayland server. Xwayland being hardware agnostic, if Xwayland was the problem, I'd expect t= he 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 wi= th 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 was= n't updated in time. --=20 You are receiving this mail because: You are the assignee for the bug.= --15615313881.5c6dDee.548 Date: Wed, 26 Jun 2019 06:43:08 +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

Commen= t # 2 on bug 11098= 4 from Olivier Fourdan
(In reply to Michel D=C3=A4nzer from comment #1)
> 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 t=
he
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 wi=
th
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 was=
n't
updated in time.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15615313881.5c6dDee.548-- --===============0620763487== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0620763487==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110984] Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on Wayland Date: Wed, 26 Jun 2019 06:49:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0557217011==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id CAFCA6E297 for ; Wed, 26 Jun 2019 06:49:10 +0000 (UTC) In-Reply-To: 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 --===============0557217011== Content-Type: multipart/alternative; boundary="15615317501.7DcefA6f2.2249" Content-Transfer-Encoding: 7bit --15615317501.7DcefA6f2.2249 Date: Wed, 26 Jun 2019 06:49:10 +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=3D110984 --- Comment #3 from Olivier Fourdan --- , I can reproduce on intel(In reply to Olivier Fourdan from comment #2) > 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15615317501.7DcefA6f2.2249 Date: Wed, 26 Jun 2019 06:49:10 +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

Commen= t # 3 on bug 11098= 4 from Olivier Fourdan
, I can reproduce on intel(In reply to Olivier Fourdan from comment #2)
> Xwayland being hardware agnostic, if Xwayland wa=
s the problem, I'd expect
> the issue to occur with any hardware., and yet I don't see this on int=
el for
> example.

I take that back, I reproduced on intel as well.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15615317501.7DcefA6f2.2249-- --===============0557217011== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============0557217011==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110984] Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on Wayland Date: Wed, 26 Jun 2019 08:39:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1580409563==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 09E7C6E330 for ; Wed, 26 Jun 2019 08:39:26 +0000 (UTC) In-Reply-To: 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 --===============1580409563== Content-Type: multipart/alternative; boundary="15615383650.A9A4a8.20204" Content-Transfer-Encoding: 7bit --15615383650.A9A4a8.20204 Date: Wed, 26 Jun 2019 08:39:25 +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=3D110984 --- Comment #4 from Michel D=C3=A4nzer --- (In reply to Olivier Fourdan from comment #2) > Last thing, with single buffer, I would expect tearing more than stutteri= ng, 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 actua= lly 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15615383650.A9A4a8.20204 Date: Wed, 26 Jun 2019 08:39:25 +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

Commen= t # 4 on bug 11098= 4 from Michel D=C3=A4nzer
(In reply to Olivier Fourdan from comment #2)
> Last thing, with single buffer, I would expect t=
earing 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 actua=
lly
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.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15615383650.A9A4a8.20204-- --===============1580409563== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1580409563==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110984] Vulkan shows stuttering issues on Vega 10 w/ gnome-shell on Wayland Date: Thu, 27 Jun 2019 09:47:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1540886453==" 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 405DC6E503 for ; Thu, 27 Jun 2019 09:47:51 +0000 (UTC) In-Reply-To: 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 --===============1540886453== Content-Type: multipart/alternative; boundary="15616288710.77fa4c.24762" Content-Transfer-Encoding: 7bit --15616288710.77fa4c.24762 Date: Thu, 27 Jun 2019 09:47:51 +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=3D110984 --- Comment #5 from Olivier Fourdan --- Moved to https://gitlab.freedesktop.org/xorg/xserver/issues/835 --=20 You are receiving this mail because: You are the assignee for the bug.= --15616288710.77fa4c.24762 Date: Thu, 27 Jun 2019 09:47:51 +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


You are receiving this mail because:
  • You are the assignee for the bug.
= --15616288710.77fa4c.24762-- --===============1540886453== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1540886453==--