From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 110251] Buffer age seems incorrect Date: Tue, 26 Mar 2019 22:37:34 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0030917451==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 331D66E05A for ; Tue, 26 Mar 2019 22:37:35 +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 --===============0030917451== Content-Type: multipart/alternative; boundary="15536398550.Cb53BdFf.3049" Content-Transfer-Encoding: 7bit --15536398550.Cb53BdFf.3049 Date: Tue, 26 Mar 2019 22:37:35 +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=3D110251 Bug ID: 110251 Summary: Buffer age seems incorrect Product: Mesa Version: 19.0 Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: yshuiv7@gmail.com QA Contact: dri-devel@lists.freedesktop.org Created attachment 143784 --> https://bugs.freedesktop.org/attachment.cgi?id=3D143784&action=3Dedit Demo of the problem * Background compton has the ability to do partial screen update. It will gather the dam= aged regions from Xorg, query the buffer age using GLX, and then only update the part of the screen that is damaged. * Problem When partial screen update is enabled, sometimes closed window is left on t= he screen.=20 Please see the attachment.=20 In the clip, at first, I was repeatedly opening/closing Rofi, trying to triggered bug (it does not reproduce consistently). After several attempts, Rofi window is left on the screen after I closed it. Then, I moved my mouse around to trigger updates of the window underneath. However, if I capture a trace of this happening with apitrace, this problem doesn't happen during the replay of the trace. * Thoughts Could it be mesa is returning the wrong buffer age of the back buffer? * To reproduce Build compton from the repo. Run it with `compton --config /dev/null --use-damage --experimental-backends --backend glx`. Then try open/close wi= ndow several times. * System info Card: Radeon RX590 DDX: xf86-video-amdgpu Mesa version: 19.0.0 --=20 You are receiving this mail because: You are the assignee for the bug.= --15536398550.Cb53BdFf.3049 Date: Tue, 26 Mar 2019 22:37:35 +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 110251
Summary Buffer age seems incorrect
Product Mesa
Version 19.0
Hardware Other
OS All
Status NEW
Severity normal
Priority medium
Component Drivers/Gallium/radeonsi
Assignee dri-devel@lists.freedesktop.org
Reporter yshuiv7@gmail.com
QA Contact dri-devel@lists.freedesktop.org

Created attachment 143784 [details]
Demo of the problem

* Background

compton has the ability to do partial screen update. It will gather the dam=
aged
regions from Xorg, query the buffer age using GLX, and then only update the
part of the screen that is damaged.

* Problem

When partial screen update is enabled, sometimes closed window is left on t=
he
screen.=20

Please see the attachment.=20

In the clip, at first, I was repeatedly opening/closing Rofi, trying to
triggered bug (it does not reproduce consistently). After several attempts,
Rofi window is left on the screen after I closed it. Then, I moved my mouse
around to trigger updates of the window underneath.

However, if I capture a trace of this happening with apitrace, this problem
doesn't happen during the replay of the trace.

* Thoughts

Could it be mesa is returning the wrong buffer age of the back buffer?

* To reproduce

Build compton from the repo. Run it with `compton --config /dev/null
--use-damage --experimental-backends --backend glx`. Then try open/close wi=
ndow
several times.

* System info

Card: Radeon RX590
DDX: xf86-video-amdgpu
Mesa version: 19.0.0


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