From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] New: Stuttering video playback in totem after update to 1.19-rc1 Date: Mon, 03 Oct 2016 15:11:30 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0483402760==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0483402760== Content-Type: multipart/alternative; boundary="14755074900.c5C89bC5.5723"; charset="UTF-8" --14755074900.c5C89bC5.5723 Date: Mon, 3 Oct 2016 15:11:30 +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=3D98030 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 ) video playback in totem stutters every few seconds to the point of being unwatcha= ble. 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 ki= ndly 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755074900.c5C89bC5.5723 Date: Mon, 3 Oct 2016 15:11:30 +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 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@lists.freedesktop.org
Reporter piotrdrag@gmail.com
QA Contact xorg-team@lists.x.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 unwatcha=
ble.
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=3D1381014> k=
indly
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.
= --14755074900.c5C89bC5.5723-- --===============0483402760== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0483402760==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Mon, 03 Oct 2016 21:30:08 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1021341627==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1021341627== Content-Type: multipart/alternative; boundary="14755302080.0bD3a.29769"; charset="UTF-8" --14755302080.0bD3a.29769 Date: Mon, 3 Oct 2016 21:30: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=3D98030 --- Comment #1 from Ilia Mirkin --- Looks like some issue with DRI2. If you enable DRI3 support in your xorg.co= nf, should work fine (for DRI3 clients). [I realize this is not a fix, but rath= er a workaround.] --=20 You are receiving this mail because: You are the assignee for the bug.= --14755302080.0bD3a.29769 Date: Mon, 3 Oct 2016 21:30: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

Comment= # 1 on bug 98030<= /a> from Ilia Mirkin
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 rath=
er a
workaround.]


You are receiving this mail because:
  • You are the assignee for the bug.
= --14755302080.0bD3a.29769-- --===============1021341627== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1021341627==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Mon, 03 Oct 2016 21:40:15 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1469314406==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1469314406== Content-Type: multipart/alternative; boundary="14755308150.8E8AA.30536"; charset="UTF-8" --14755308150.8E8AA.30536 Date: Mon, 3 Oct 2016 21:40:15 +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=3D98030 --- Comment #2 from Ilia Mirkin --- Apparently the issue also exists with modesetting on top of nouveau - i.e. = if you run e.g. LIBGL_DRI3_DISABLE=3D1 glxgears, you'll end up with the same l= ag. Trying to collect more data to see if this is nouveau-specific or if it's an issue across drivers. --=20 You are receiving this mail because: You are the assignee for the bug.= --14755308150.8E8AA.30536 Date: Mon, 3 Oct 2016 21:40:15 +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

Comment= # 2 on bug 98030<= /a> from Ilia Mirkin
Apparently the issue also exists with modesetting on top of no=
uveau - i.e. if
you run e.g. LIBGL_DRI3_DISABLE=3D1 glxgears, you'll end up with the same l=
ag.
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.
= --14755308150.8E8AA.30536-- --===============1469314406== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1469314406==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Thu, 13 Oct 2016 21:39:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1799453055==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1799453055== Content-Type: multipart/alternative; boundary="14763947891.559e348.11715"; charset="UTF-8" --14763947891.559e348.11715 Date: Thu, 13 Oct 2016 21:39:49 +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=3D98030 --- Comment #3 from Mario Kleiner --- 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 Open= GL 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 lea= st 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? --=20 You are receiving this mail because: You are the assignee for the bug.= --14763947891.559e348.11715 Date: Thu, 13 Oct 2016 21:39:49 +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

Comment= # 3 on bug 98030<= /a> from Mario Kleiner
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 Open=
GL
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 lea=
st
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 comp=
letion
events?) gets it unstuck?


You are receiving this mail because:
  • You are the assignee for the bug.
= --14763947891.559e348.11715-- --===============1799453055== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1799453055==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Fri, 14 Oct 2016 03:29:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1732158279==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1732158279== Content-Type: multipart/alternative; boundary="14764157770.BdEf1d70.1242"; charset="UTF-8" --14764157770.BdEf1d70.1242 Date: Fri, 14 Oct 2016 03:29:37 +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=3D98030 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ajax-TAsg7VrFCGc@public.gmane.org, | |keithp-aN4HjG94KOLQT0dZR+AlfA@public.gmane.org --- Comment #4 from Michel D=C3=A4nzer --- I bisected this to commit 8f1edf4bd3a1f050ce9eeb5eac45dd1a8f7a6d5e Author: Keith Packard 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --14764157770.BdEf1d70.1242 Date: Fri, 14 Oct 2016 03:29:37 +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 98030<= /a>
What Removed Added
CC   ajax@nwnk.net, keithp@keithp.com

Comment= # 4 on bug 98030<= /a> from Michel D=C3=A4nzer
I bisected this to

commit 8f1edf4bd3a1f050ce9eeb5eac45dd1a8f7a6d5e
Author: Keith Packard <keithp&#=
64;keithp.com>
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.
= --14764157770.BdEf1d70.1242-- --===============1732158279== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1732158279==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Fri, 14 Oct 2016 03:31:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0077286677==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0077286677== Content-Type: multipart/alternative; boundary="14764158811.c3Db2.1106"; charset="UTF-8" --14764158811.c3Db2.1106 Date: Fri, 14 Oct 2016 03:31:21 +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=3D98030 --- Comment #5 from Michel D=C3=A4nzer --- (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 DR= I2. I can confirm that for mutter, but not for e.g. glxgears in fullscreen. May= be compositors just get unblocked by something else, similar to how input unbl= ocks all affected DRI2 clients. --=20 You are receiving this mail because: You are the assignee for the bug.= --14764158811.c3Db2.1106 Date: Fri, 14 Oct 2016 03:31:21 +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

Comment= # 5 on bug 98030<= /a> from Michel D=C3=A4nzer
(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. May=
be
compositors just get unblocked by something else, similar to how input unbl=
ocks
all affected DRI2 clients.


You are receiving this mail because:
  • You are the assignee for the bug.
= --14764158811.c3Db2.1106-- --===============0077286677== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0077286677==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Fri, 14 Oct 2016 08:42:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0328026902==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0328026902== Content-Type: multipart/alternative; boundary="14764345210.0c5D7.21870"; charset="UTF-8" --14764345210.0c5D7.21870 Date: Fri, 14 Oct 2016 08:42:01 +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=3D98030 --- Comment #6 from Chris Wilson --- 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 =3D &waittime; } - if (NewOutputPending) - FlushAllOutput(); + FlushAllOutput(); /* keep this check close to select() call to minimize race */ if (dispatchException) i =3D -1; --=20 You are receiving this mail because: You are the assignee for the bug.= --14764345210.0c5D7.21870 Date: Fri, 14 Oct 2016 08:42:01 +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

Comment= # 6 on bug 98030<= /a> from Chris Wilson
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 =3D &waittime;
         }
-        if (NewOutputPending)
-            FlushAllOutput();
+       FlushAllOutput();
         /* keep this check close to select() call to minimize race */
         if (dispatchException)
             i =3D -1;


You are receiving this mail because:
  • You are the assignee for the bug.
= --14764345210.0c5D7.21870-- --===============0328026902== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0328026902==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Fri, 14 Oct 2016 08:57:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1803478167==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1803478167== Content-Type: multipart/alternative; boundary="14764354635.9E7Bd5B89.23075"; charset="UTF-8" --14764354635.9E7Bd5B89.23075 Date: Fri, 14 Oct 2016 08:57:43 +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=3D98030 --- Comment #7 from Michel D=C3=A4nzer --- (In reply to Chris Wilson from comment #6) > - if (NewOutputPending) > - FlushAllOutput(); > + FlushAllOutput(); This doesn't fix the problem for me. --=20 You are receiving this mail because: You are the assignee for the bug.= --14764354635.9E7Bd5B89.23075 Date: Fri, 14 Oct 2016 08:57:43 +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

Comment= # 7 on bug 98030<= /a> from Michel D=C3=A4nzer
(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.
= --14764354635.9E7Bd5B89.23075-- --===============1803478167== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============1803478167==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Fri, 14 Oct 2016 09:17:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0572270721==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0572270721== Content-Type: multipart/alternative; boundary="14764366550.7aFcD.24155"; charset="UTF-8" --14764366550.7aFcD.24155 Date: Fri, 14 Oct 2016 09:17: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=3D98030 --- Comment #8 from Chris Wilson --- (In reply to Michel D=C3=A4nzer from comment #7) > (In reply to Chris Wilson from comment #6) > > - if (NewOutputPending) > > - FlushAllOutput(); > > + FlushAllOutput(); >=20 > This doesn't fix the problem for me. Yeah, because the first thing FlushAllOutput() does is check NewOutputPendi= ng. Bleh. :| I'm still pretty certain it is the change in considering when to f= lush output that causes the event/replies to become stuck. --=20 You are receiving this mail because: You are the assignee for the bug.= --14764366550.7aFcD.24155 Date: Fri, 14 Oct 2016 09:17: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

Comment= # 8 on bug 98030<= /a> from Chris Wilson
(In reply to Michel D=C3=A4nzer from comment #7)
> (In reply to Chris Wilson from comment #6)
> > -        if (NewOutputPending)
> > -            FlushAllOutput();
> > +       FlushAllOutput();
>=20
> This doesn't fix the problem for me.

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


You are receiving this mail because:
  • You are the assignee for the bug.
= --14764366550.7aFcD.24155-- --===============0572270721== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0572270721==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 98030] Stuttering video playback in totem after update to 1.19-rc1 Date: Wed, 19 Oct 2016 02:06:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0161670200==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Sender: "Nouveau" To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0161670200== Content-Type: multipart/alternative; boundary="14768427810.dc9A31AB.9889"; charset="UTF-8" --14768427810.dc9A31AB.9889 Date: Wed, 19 Oct 2016 02:06:21 +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=3D98030 Michel D=C3=A4nzer changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Driver/nouveau |Server/General Assignee|nouveau-PD4FTy7X32lNgt0PjOBp93rCq3LdnpKM@public.gmane.org |xorg-team-go0+a7rfsptAfugRpC6u6w@public.gmane.org |rg | --=20 You are receiving this mail because: You are the assignee for the bug.= --14768427810.dc9A31AB.9889 Date: Wed, 19 Oct 2016 02:06:21 +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 98030<= /a>
What Removed Added
Component Driver/nouveau Server/General
Assignee nouveau@lists.freedesktop.org xorg-team@lists.x.org


You are receiving this mail because:
  • You are the assignee for the bug.
= --14768427810.dc9A31AB.9889-- --===============0161670200== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KTm91dmVhdSBt YWlsaW5nIGxpc3QKTm91dmVhdUBsaXN0cy5mcmVlZGVza3RvcC5vcmcKaHR0cHM6Ly9saXN0cy5m cmVlZGVza3RvcC5vcmcvbWFpbG1hbi9saXN0aW5mby9ub3V2ZWF1Cg== --===============0161670200==--