All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 91540] slow rendering & fullscreen results in stale images
@ 2015-08-03 19:11 bugzilla-daemon
  2015-08-03 19:11 ` bugzilla-daemon
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-08-03 19:11 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 91540
           Summary: slow rendering & fullscreen results in stale images
           Product: DRI
           Version: XOrg git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: bas@basnieuwenhuizen.nl

Created attachment 117492
  --> https://bugs.freedesktop.org/attachment.cgi?id=117492&action=edit
example application

With GL applications if the render time is > 1 frame (> 2 for more reliable
triggering) and the window is fullscreen, I have flickering betweeen old and
new frames.

Attached is an example application that if run fullscreen and sufficiently slow
exhibits the problem. The quad is supposed to rotate when you press space, but
the first moments you get some combination of the two rotated quads.

Workarounds include:
 - making the window not fullscreen.
 - use xcompmgr to enable compositing.
 - using vblank_mode=0

Hardware:
Sapphire R9 285 Dual-X OC 2 GB (TONGA)

Software
kernel from adg5f/linux drm-next-4.3-wip commit
88a7d7fa964602514496223639c4e0432fbd457b (also occurs on 4.2-rc4)
drm, mesa from agd5f/... amdgpu branches
xf86-video-amdgpu from master
Xserver 1.17.2

My window manager is XMonad, which is a tiling window manager without
compositing.

The attached Xorg.0.log contains some warnings:
(WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has
impossible msc 189694 < target_msc 189695

However, running the example application or my original application does not
(consistently) generate those warnings when run.

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

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

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

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

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

* [Bug 91540] slow rendering & fullscreen results in stale images
  2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
@ 2015-08-03 19:11 ` bugzilla-daemon
  2015-08-03 19:11 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-08-03 19:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> ---
Created attachment 117493
  --> https://bugs.freedesktop.org/attachment.cgi?id=117493&action=edit
Xorg log

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

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

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

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

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

* [Bug 91540] slow rendering & fullscreen results in stale images
  2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
  2015-08-03 19:11 ` bugzilla-daemon
@ 2015-08-03 19:11 ` bugzilla-daemon
  2015-08-20  3:54 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-08-03 19:11 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> ---
Created attachment 117494
  --> https://bugs.freedesktop.org/attachment.cgi?id=117494&action=edit
dmesg

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

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

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

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

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

* [Bug 91540] slow rendering & fullscreen results in stale images
  2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
  2015-08-03 19:11 ` bugzilla-daemon
  2015-08-03 19:11 ` bugzilla-daemon
@ 2015-08-20  3:54 ` bugzilla-daemon
  2015-08-20 21:16 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-08-20  3:54 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
Looks like the amdgpu driver doesn't properly wait for rendering to the back
buffer to finish before flipping scanout to it.

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

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

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

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

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

* [Bug 91540] slow rendering & fullscreen results in stale images
  2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-08-20  3:54 ` bugzilla-daemon
@ 2015-08-20 21:16 ` bugzilla-daemon
  2015-10-08  3:01 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-08-20 21:16 UTC (permalink / raw)
  To: dri-devel


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

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

Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> changed:

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

--- Comment #4 from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> ---
I tested this again with the agd5f/linux drm-next-4.3 branch and this bug did
not occur anymore.

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

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

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

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

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

* [Bug 91540] slow rendering & fullscreen results in stale images
  2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
                   ` (3 preceding siblings ...)
  2015-08-20 21:16 ` bugzilla-daemon
@ 2015-10-08  3:01 ` bugzilla-daemon
  2015-10-15  3:09 ` bugzilla-daemon
  2015-10-16 15:09 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-08  3:01 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #5 from Michel Dänzer <michel@daenzer.net> ---
(In reply to Bas Nieuwenhuizen from comment #4)
> I tested this again with the agd5f/linux drm-next-4.3 branch and this bug
> did not occur anymore.

Is it really completely gone for you? I still seem to be seeing at least a mild
variation of the problem after bootup, though sometimes it seems to disappear
by itself after a while now.

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

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

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

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

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

* [Bug 91540] slow rendering & fullscreen results in stale images
  2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
                   ` (4 preceding siblings ...)
  2015-10-08  3:01 ` bugzilla-daemon
@ 2015-10-15  3:09 ` bugzilla-daemon
  2015-10-16 15:09 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-15  3:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #6 from Michel Dänzer <michel@daenzer.net> ---
The remaining issue is fixed in
http://lists.freedesktop.org/archives/dri-devel/2015-October/092507.html .

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

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

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

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

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

* [Bug 91540] slow rendering & fullscreen results in stale images
  2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
                   ` (5 preceding siblings ...)
  2015-10-15  3:09 ` bugzilla-daemon
@ 2015-10-16 15:09 ` bugzilla-daemon
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla-daemon @ 2015-10-16 15:09 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #7 from Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> ---
I haven't noticed any similar issues after my previous reply.

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

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

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

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

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

end of thread, other threads:[~2015-10-16 15:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 19:11 [Bug 91540] slow rendering & fullscreen results in stale images bugzilla-daemon
2015-08-03 19:11 ` bugzilla-daemon
2015-08-03 19:11 ` bugzilla-daemon
2015-08-20  3:54 ` bugzilla-daemon
2015-08-20 21:16 ` bugzilla-daemon
2015-10-08  3:01 ` bugzilla-daemon
2015-10-15  3:09 ` bugzilla-daemon
2015-10-16 15:09 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.