All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 98030] New: Stuttering video playback in totem after update to 1.19-rc1
@ 2016-10-03 15:11 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  0 siblings, 1 reply; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-03 15:11 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

            Bug ID: 98030
           Summary: Stuttering video playback in totem after update to
                    1.19-rc1
           Product: xorg
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Driver/nouveau
          Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
          Reporter: piotrdrag-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
        QA Contact: xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org

After updating to xorg-x11-server-1.19.0-0.1.20160929.fc25 and
xorg-x11-drv-nouveau-1.0.13-1.fc25 (from
<https://bodhi.fedoraproject.org/updates/FEDORA-2016-a5c3ebe67a>) video
playback in totem stutters every few seconds to the point of being unwatchable.
It doesn't happen with video playback (e.g. YouTube) in Firefox, and system
generally works fine. Downgrading the update "fixes" the problem.


I'm using X11 with nouveau on a GT216M (GeForce GT 240M), no hybrid cards:

Providers: number : 1
Provider 0: id: 0x64 cap: 0x7, Source Output, Sink Output, Source Offload
crtcs: 2 outputs: 3 associated providers: 0 name:nouveau


Hans de Goede in <https://bugzilla.redhat.com/show_bug.cgi?id=1381014> kindly
helped to discover that xf86-video-nouveau-1.0.13 does not show this problem
with xserver-1.18.4, but does show it with xserver-1.19-rc1, and that using the
modesetting driver with xserver-1.19-rc1 makes the problem go away.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
@ 2016-10-03 21:30   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-03 21:40   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-03 21:30 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Looks like some issue with DRI2. If you enable DRI3 support in your xorg.conf,
should work fine (for DRI3 clients). [I realize this is not a fix, but rather a
workaround.]

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2016-10-03 21:30   ` [Bug 98030] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-03 21:40   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-13 21:39   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-03 21:40 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org> ---
Apparently the issue also exists with modesetting on top of nouveau - i.e. if
you run e.g. LIBGL_DRI3_DISABLE=1 glxgears, you'll end up with the same lag.
Trying to collect more data to see if this is nouveau-specific or if it's an
issue across drivers.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
  2016-10-03 21:30   ` [Bug 98030] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-03 21:40   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-13 21:39   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-14  3:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-13 21:39 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #3 from Mario Kleiner <mario.kleiner-TdbV1Z3I5XE0NhjG498hmQ@public.gmane.org> ---
Ok, i think this is related: On 1.19-rc1 (current git master) under DRI2,
windowed OpenGL apps like glxgears get stuck unless i press keys on the
keyboard or move the mouse to create input events. KDE Plasma 5, being OpenGL
driven afaik, has the same problem.

If otoh i run applications which use fullscreen kms page-flipped windows, e.g.,
Gnome shell, or regular fullscreen GL apps, they work fine under DRI2. If i use
DRI3/Present everything works fine. This both with a server built to use the
new input-threads and also built without input-threads. This happens at least
on nouveau-ddx and ati/amdgpu-ddx.

I just retested glxgears, my own app and totem under gdb, and without me
providing mouse/keyboard input, they all get stuck in the
DRI2GetBuffersWithFormat request to the X-Server, waiting for a reply. That
gets called when Mesa needs new renderbuffers for a new frame after a
swapbuffers request, e.g., when glxgears or totem calls glClear().

So far so bad. So something gets stuck in the servers dispatch loop, but
"external" input events from the kernel (evdev, kms-pageflip completion
events?) gets it unstuck?

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (2 preceding siblings ...)
  2016-10-13 21:39   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-14  3:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-14  3:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-14  3:29 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

Michel Dänzer <michel-otUistvHUpPR7s880joybQ@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ajax-TAsg7VrFCGc@public.gmane.org,
                   |                            |keithp-aN4HjG94KOLQT0dZR+AlfA@public.gmane.org

--- Comment #4 from Michel Dänzer <michel-otUistvHUpPR7s880joybQ@public.gmane.org> ---
I bisected this to

commit 8f1edf4bd3a1f050ce9eeb5eac45dd1a8f7a6d5e
Author: Keith Packard <keithp-aN4HjG94KOLQT0dZR+AlfA@public.gmane.org>
Date:   Thu May 19 13:59:54 2016 -0700

    dix: Use list for ready clients

    This converts the dispatch loop into using a list of ready clients
    instead of an array. This changes the WaitForSomething API so that it
    notifies DIX when a client becomes ready to read, instead of returning
    the set of ready clients.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (3 preceding siblings ...)
  2016-10-14  3:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-14  3:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-14  8:42   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-14  3:31 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #5 from Michel Dänzer <michel-otUistvHUpPR7s880joybQ@public.gmane.org> ---
(In reply to Mario Kleiner from comment #3)
> If otoh i run applications which use fullscreen kms page-flipped windows,
> e.g., Gnome shell, or regular fullscreen GL apps, they work fine under DRI2.

I can confirm that for mutter, but not for e.g. glxgears in fullscreen. Maybe
compositors just get unblocked by something else, similar to how input unblocks
all affected DRI2 clients.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (4 preceding siblings ...)
  2016-10-14  3:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-14  8:42   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-14  8:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
                     ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-14  8:42 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #6 from Chris Wilson <chris-Y6uKTt2uX1cEflXRtASbqLVCufUGDwFn@public.gmane.org> ---
The change in 8f1edf4bd3a1f050ce9eeb5eac45dd1a8f7a6d5e is that we no longer
wakeup and flush writers when space in the write queue becomes available -
instead before we poll() we flush the writers iff NewOutputPending since the
last poll(), i.e.

diff --git a/os/WaitFor.c b/os/WaitFor.c
index 8164c30..5b0c342 100644
--- a/os/WaitFor.c
+++ b/os/WaitFor.c
@@ -207,8 +207,7 @@ WaitForSomething(Bool are_ready)
                 (1000000 / MILLI_PER_SECOND);
             wt = &waittime;
         }
-        if (NewOutputPending)
-            FlushAllOutput();
+       FlushAllOutput();
         /* keep this check close to select() call to minimize race */
         if (dispatchException)
             i = -1;

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (5 preceding siblings ...)
  2016-10-14  8:42   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-14  8:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-14  9:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-19  2:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-14  8:57 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #7 from Michel Dänzer <michel-otUistvHUpPR7s880joybQ@public.gmane.org> ---
(In reply to Chris Wilson from comment #6)
> -        if (NewOutputPending)
> -            FlushAllOutput();
> +       FlushAllOutput();

This doesn't fix the problem for me.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (6 preceding siblings ...)
  2016-10-14  8:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-14  9:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  2016-10-19  2:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-14  9:17 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

--- Comment #8 from Chris Wilson <chris-Y6uKTt2uX1cEflXRtASbqLVCufUGDwFn@public.gmane.org> ---
(In reply to Michel Dänzer from comment #7)
> (In reply to Chris Wilson from comment #6)
> > -        if (NewOutputPending)
> > -            FlushAllOutput();
> > +       FlushAllOutput();
> 
> This doesn't fix the problem for me.

Yeah, because the first thing FlushAllOutput() does is check NewOutputPending.
Bleh. :| I'm still pretty certain it is the change in considering when to flush
output that causes the event/replies to become stuck.

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

* [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1
       [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
                     ` (7 preceding siblings ...)
  2016-10-14  9:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
@ 2016-10-19  2:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ @ 2016-10-19  2:06 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW


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

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

Michel Dänzer <michel-otUistvHUpPR7s880joybQ@public.gmane.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Driver/nouveau              |Server/General
           Assignee|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org
                   |rg                          |

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

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

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

_______________________________________________
Nouveau mailing list
Nouveau@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/nouveau

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

end of thread, other threads:[~2016-10-19  2:06 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-03 15:11 [Bug 98030] New: Stuttering video playback in totem after update to 1.19-rc1 bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
     [not found] ` <bug-98030-8800-V0hAGp6uBxMKqLRl/0Ahz6D7qz1kEfGD2LY78lusg7I@public.gmane.org/>
2016-10-03 21:30   ` [Bug 98030] " bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-03 21:40   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-13 21:39   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-14  3:29   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-14  3:31   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-14  8:42   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-14  8:57   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-14  9:17   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ
2016-10-19  2:06   ` bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ

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.