dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [Bug 110251] Buffer age seems incorrect
@ 2019-03-26 22:37 bugzilla-daemon
  2019-03-26 22:37 ` [Bug 110251] Buffer age seems to be incorrect bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-03-26 22:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1825 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110251

            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=143784&action=edit
Demo of the problem

* Background

compton has the ability to do partial screen update. It will gather the damaged
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 the
screen. 

Please see the attachment. 

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 window
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.

[-- Attachment #1.2: Type: text/html, Size: 3306 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 110251] Buffer age seems to be incorrect
  2019-03-26 22:37 [Bug 110251] Buffer age seems incorrect bugzilla-daemon
@ 2019-03-26 22:37 ` bugzilla-daemon
  2019-03-26 22:38 ` bugzilla-daemon
  2019-03-27 14:46 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-03-26 22:37 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 444 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110251

Yuxuan Shui <yshuiv7@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Buffer age seems incorrect  |Buffer age seems to be
                   |                            |incorrect

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1086 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 110251] Buffer age seems to be incorrect
  2019-03-26 22:37 [Bug 110251] Buffer age seems incorrect bugzilla-daemon
  2019-03-26 22:37 ` [Bug 110251] Buffer age seems to be incorrect bugzilla-daemon
@ 2019-03-26 22:38 ` bugzilla-daemon
  2019-03-27 14:46 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-03-26 22:38 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 376 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110251

Yuxuan Shui <yshuiv7@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |x86-64 (AMD64)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1048 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug 110251] Buffer age seems to be incorrect
  2019-03-26 22:37 [Bug 110251] Buffer age seems incorrect bugzilla-daemon
  2019-03-26 22:37 ` [Bug 110251] Buffer age seems to be incorrect bugzilla-daemon
  2019-03-26 22:38 ` bugzilla-daemon
@ 2019-03-27 14:46 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-03-27 14:46 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 575 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110251

Yuxuan Shui <yshuiv7@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |NOTOURBUG

--- Comment #1 from Yuxuan Shui <yshuiv7@gmail.com> ---
After more investigation, this might have been a bug in compton.

Closing for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2030 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-03-27 14:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-26 22:37 [Bug 110251] Buffer age seems incorrect bugzilla-daemon
2019-03-26 22:37 ` [Bug 110251] Buffer age seems to be incorrect bugzilla-daemon
2019-03-26 22:38 ` bugzilla-daemon
2019-03-27 14:46 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).