From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] New: Severe misrendering in Left 4 Dead 2 Date: Tue, 07 May 2013 15:52:49 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0043044541==" Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0043044541== Content-Type: multipart/alternative; boundary="1367941969.b2cb8D0.9901"; charset="us-ascii" --1367941969.b2cb8D0.9901 Date: Tue, 7 May 2013 15:52:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 Priority: medium Bug ID: 64323 Assignee: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Summary: Severe misrendering in Left 4 Dead 2 Severity: normal Classification: Unclassified OS: Linux (All) Reporter: bryancain3+fdo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Hardware: x86 (IA32) Status: NEW Version: git Component: Drivers/DRI/nouveau Product: Mesa This should be filed under component "Drivers/Gallium/nouveau", but that doesn't exist for some reason. In the nv50 driver, after loading a map in the Left 4 Dead 2 beta, there are major rendering artifacts that make the game unplayable. Portal shows a similar problem. Noticing that stable versions before Mesa 9.1 don't have this problem, I bisected the regression to this commit: http://cgit.freedesktop.org/mesa/mesa/commit/?h=48a45ec24ae74c0 commit 48a45ec24ae74c00d1487552e94d9f824a428f58 Author: Christoph Bumiller Date: Tue Jan 8 16:13:11 2013 +0100 nouveau: improve buffer transfers Save double memcpy on uploads to VRAM in most cases. Properly handle FLUSH_EXPLICIT. Reallocate on DISCARD_WHOLE_RESOURCE to avoid sync. I don't understand the changes made by this commit well enough to fix the regression myself. I have an apitrace that can be used to reproduce the issue, and will comment on this bug with a link to it as soon as I find a good way to share large (~512 MB) files online. -- You are receiving this mail because: You are the assignee for the bug. --1367941969.b2cb8D0.9901 Date: Tue, 7 May 2013 15:52:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"
Priority medium
Bug ID 64323
Assignee nouveau@lists.freedesktop.org
Summary Severe misrendering in Left 4 Dead 2
Severity normal
Classification Unclassified
OS Linux (All)
Reporter bryancain3+fdo@gmail.com
Hardware x86 (IA32)
Status NEW
Version git
Component Drivers/DRI/nouveau
Product Mesa

This should be filed under component "Drivers/Gallium/nouveau", but that
doesn't exist for some reason.

In the nv50 driver, after loading a map in the Left 4 Dead 2 beta,  there are
major rendering artifacts that make the game unplayable.  Portal shows a
similar problem.

Noticing that stable versions before Mesa 9.1 don't have this problem, I
bisected the regression to this commit:

http://cgit.freedesktop.org/mesa/mesa/commit/?h=48a45ec24ae74c0

commit 48a45ec24ae74c00d1487552e94d9f824a428f58
Author: Christoph Bumiller <e0425955@student.tuwien.ac.at>
Date:   Tue Jan 8 16:13:11 2013 +0100

    nouveau: improve buffer transfers

    Save double memcpy on uploads to VRAM in most cases.
    Properly handle FLUSH_EXPLICIT.
    Reallocate on DISCARD_WHOLE_RESOURCE to avoid sync.

I don't understand the changes made by this commit well enough to fix the
regression myself.  I have an apitrace that can be used to reproduce the issue,
and will comment on this bug with a link to it as soon as I find a good way to
share large (~512 MB) files online.


You are receiving this mail because:
  • You are the assignee for the bug.
--1367941969.b2cb8D0.9901-- --===============0043044541== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0043044541==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Tue, 07 May 2013 16:55:43 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0094622544==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0094622544== Content-Type: multipart/alternative; boundary="1367945743.feab0.24071"; charset="us-ascii" --1367945743.feab0.24071 Date: Tue, 7 May 2013 16:55:43 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #1 from Bryan Cain --- Here is a much smaller (40 MB bz2'd, 74 MB uncompressed) trace that demonstrates the regression in the loading and title screen of Portal: http://plombofiles.pbworks.com/f/portal.trace.bz2 On the loading screen, the "Loading..." text in the bottom right corner is not shown after the regression: http://plombofiles.pbworks.com/f/loading_bad.png http://plombofiles.pbworks.com/f/loading_good.png On the title screen, several frames have significant rendering artifacts after the regression: http://plombofiles.pbworks.com/f/title_bad.png http://plombofiles.pbworks.com/f/title_good.png -- You are receiving this mail because: You are the assignee for the bug. --1367945743.feab0.24071 Date: Tue, 7 May 2013 16:55:43 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 1 on bug 64323 from
Here is a much smaller (40 MB bz2'd, 74 MB uncompressed) trace that
demonstrates the regression in the loading and title screen of Portal:
http://plombofiles.pbworks.com/f/portal.trace.bz2

On the loading screen, the "Loading..." text in the bottom right corner is not
shown after the regression:
http://plombofiles.pbworks.com/f/loading_bad.png
http://plombofiles.pbworks.com/f/loading_good.png

On the title screen, several frames have significant rendering artifacts after
the regression:
http://plombofiles.pbworks.com/f/title_bad.png
http://plombofiles.pbworks.com/f/title_good.png


You are receiving this mail because:
  • You are the assignee for the bug.
--1367945743.feab0.24071-- --===============0094622544== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0094622544==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Thu, 20 Jun 2013 00:29:49 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1275245221==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1275245221== Content-Type: multipart/alternative; boundary="1371688189.eFC61.11866"; charset="us-ascii" --1371688189.eFC61.11866 Date: Thu, 20 Jun 2013 00:29:49 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #2 from Emil Velikov --- A few notes * Rendering is restored to normal by purging all references of DISCARD_WHOLE_RESOURCE from the original patch * Performance drops by ~8% if dynamic buffers are allocated in vram[1] [1] Tested using a minute long demo, of jumping through the first portal portal in the game -- You are receiving this mail because: You are the assignee for the bug. --1371688189.eFC61.11866 Date: Thu, 20 Jun 2013 00:29:49 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 2 on bug 64323 from
A few notes

* Rendering is restored to normal by purging all references of
DISCARD_WHOLE_RESOURCE from the original patch
* Performance drops by ~8% if dynamic buffers are allocated in vram[1]

[1] Tested using a minute long demo, of jumping through the first portal portal
in the game


You are receiving this mail because:
  • You are the assignee for the bug.
--1371688189.eFC61.11866-- --===============1275245221== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1275245221==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Thu, 27 Jun 2013 00:26:38 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1349830682==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1349830682== Content-Type: multipart/alternative; boundary="1372292798.ebfb1.24521"; charset="us-ascii" --1372292798.ebfb1.24521 Date: Thu, 27 Jun 2013 00:26:38 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #3 from Emil Velikov --- Created attachment 81517 --> https://bugs.freedesktop.org/attachment.cgi?id=81517&action=edit Nuke all reffs of whole_discard introduced by original patch Just to clarify what I've meant previously, I'm attaching the patch using which rendering appears correct - both during the loading screen and in-game. -- You are receiving this mail because: You are the assignee for the bug. --1372292798.ebfb1.24521 Date: Thu, 27 Jun 2013 00:26:38 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 3 on bug 64323 from
Created attachment 81517 [details] [review]
Nuke all reffs of whole_discard introduced by original patch

Just to clarify what I've meant previously, I'm attaching the patch using which
rendering appears correct - both during the loading screen and in-game.


You are receiving this mail because:
  • You are the assignee for the bug.
--1372292798.ebfb1.24521-- --===============1349830682== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1349830682==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 27 Jul 2013 00:23:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0561079752==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0561079752== Content-Type: multipart/alternative; boundary="1374884592.3DbBD3b3.6197"; charset="us-ascii" --1374884592.3DbBD3b3.6197 Date: Sat, 27 Jul 2013 00:23:12 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 Emil Velikov changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=64888 -- You are receiving this mail because: You are the assignee for the bug. --1374884592.3DbBD3b3.6197 Date: Sat, 27 Jul 2013 00:23:12 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64323
What Removed Added
See Also   https://bugs.freedesktop.org/show_bug.cgi?id=64888


You are receiving this mail because:
  • You are the assignee for the bug.
--1374884592.3DbBD3b3.6197-- --===============0561079752== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0561079752==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Thu, 08 Aug 2013 14:45:34 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0320418588==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0320418588== Content-Type: multipart/alternative; boundary="1375973135.5CB052.25099"; charset="us-ascii" --1375973135.5CB052.25099 Date: Thu, 8 Aug 2013 14:45:35 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #4 from Emil Velikov --- Created attachment 83839 --> https://bugs.freedesktop.org/attachment.cgi?id=83839&action=edit hack/workaround by calim Attaching a patch/hack which calim shared a few weeks back. Restores rendering back to normal on my nv96 system -- You are receiving this mail because: You are the assignee for the bug. --1375973135.5CB052.25099 Date: Thu, 8 Aug 2013 14:45:35 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 4 on bug 64323 from
Created attachment 83839 [details] [review]
hack/workaround by calim

Attaching a patch/hack which calim shared a few weeks back. Restores rendering
back to normal on my nv96 system


You are receiving this mail because:
  • You are the assignee for the bug.
--1375973135.5CB052.25099-- --===============0320418588== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0320418588==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Thu, 08 Aug 2013 14:48:04 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0520615604==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0520615604== Content-Type: multipart/alternative; boundary="1375973284.8aB5de82.26105"; charset="us-ascii" --1375973284.8aB5de82.26105 Date: Thu, 8 Aug 2013 14:48:04 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #5 from Emil Velikov --- Dota 2 exhibits the same issue (patches still seem to work) -- You are receiving this mail because: You are the assignee for the bug. --1375973284.8aB5de82.26105 Date: Thu, 8 Aug 2013 14:48:04 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 5 on bug 64323 from
Dota 2 exhibits the same issue (patches still seem to work)


You are receiving this mail because:
  • You are the assignee for the bug.
--1375973284.8aB5de82.26105-- --===============0520615604== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0520615604==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christ-Jan Wijtmans Subject: Re: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Fri, 9 Aug 2013 17:03:57 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1509299103==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1509299103== Content-Type: multipart/alternative; boundary=047d7b3a840e83b2af04e3851539 --047d7b3a840e83b2af04e3851539 Content-Type: text/plain; charset=UTF-8 how did you get dota2 to even start? it should not work with the nouveau drivers. Live long and prosper, Christ-Jan Wijtmans http://facebook.com/cj.wijtmans http://twitter.com/cjwijtmans On Thu, Aug 8, 2013 at 4:48 PM, wrote: > *Comment # 5 on bug > 64323 from Emil > Velikov * > > Dota 2 exhibits the same issue (patches still seem to work) > > ------------------------------ > You are receiving this mail because: > > - You are the assignee for the bug. > > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau > > --047d7b3a840e83b2af04e3851539 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
how did you get dota2 to even start? it should not work wi= th the nouveau drivers.

<= div>

Live long and prosper,

Christ-Jan Wijtmans<= br>http://fac= ebook.com/cj.wijtmans
http://twitter.= com/cjwijtmans


On Thu, Aug 8, 2013 at 4:48 PM, <bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org> wrote:
=20 =20 =20

Dota 2 exhibits the same issue (patches still seem to wo=
rk)


You are receiving this mail because: =20
  • You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9/rsn8yoX9R0@public.gmane.org= org
http://lists.freedesktop.org/mailman/listinfo/nouveau


--047d7b3a840e83b2af04e3851539-- --===============1509299103== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1509299103==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Emil Velikov Subject: Re: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Fri, 09 Aug 2013 17:31:17 +0100 Message-ID: <52051955.3080604@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: Christ-Jan Wijtmans Cc: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org List-Id: nouveau.vger.kernel.org On 09/08/13 16:03, Christ-Jan Wijtmans wrote: > how did you get dota2 to even start? it should not work with the nouveau > drivers. > Downloaded the game and pressed Start. I'm not sure what you're implying there with "it should not work", but it works like a charm with the patch mentioned. Only bugs I can noticed are in dota2 (i.e. they are present with the blob, and ati/amd users :P). Last tested with commit 6a2baf3a06125405aa648e208af782e53f1312c0~1, because of [1]. Cheers Emil [1] https://bugs.freedesktop.org/show_bug.cgi?id=67887 > > Live long and prosper, > > Christ-Jan Wijtmans > http://facebook.com/cj.wijtmans > http://twitter.com/cjwijtmans > > > On Thu, Aug 8, 2013 at 4:48 PM, wrote: > >> *Comment # 5 on bug >> 64323 from Emil >> Velikov * >> >> Dota 2 exhibits the same issue (patches still seem to work) >> >> ------------------------------ >> You are receiving this mail because: >> >> - You are the assignee for the bug. >> >> >> _______________________________________________ >> Nouveau mailing list >> Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org >> http://lists.freedesktop.org/mailman/listinfo/nouveau >> >> > > > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau > From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Fri, 09 Aug 2013 16:32:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1445477760==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1445477760== Content-Type: multipart/alternative; boundary="1376065938.76AEBad2.30937"; charset="us-ascii" --1376065938.76AEBad2.30937 Date: Fri, 9 Aug 2013 16:32:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #6 from Emil Velikov --- On 09/08/13 16:03, Christ-Jan Wijtmans wrote: > how did you get dota2 to even start? it should not work with the nouveau > drivers. > Downloaded the game and pressed Start. I'm not sure what you're implying there with "it should not work", but it works like a charm with the patch mentioned. Only bugs I can noticed are in dota2 (i.e. they are present with the blob, and ati/amd users :P). Last tested with commit 6a2baf3a06125405aa648e208af782e53f1312c0~1, because of [1]. Cheers Emil [1] https://bugs.freedesktop.org/show_bug.cgi?id=67887 > > Live long and prosper, > > Christ-Jan Wijtmans > http://facebook.com/cj.wijtmans > http://twitter.com/cjwijtmans > > > On Thu, Aug 8, 2013 at 4:48 PM, wrote: > >> *Comment # 5 on bug >> 64323 from Emil >> Velikov * >> >> Dota 2 exhibits the same issue (patches still seem to work) >> >> ------------------------------ >> You are receiving this mail because: >> >> - You are the assignee for the bug. >> >> >> _______________________________________________ >> Nouveau mailing list >> Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org >> http://lists.freedesktop.org/mailman/listinfo/nouveau >> >> > > > > _______________________________________________ > Nouveau mailing list > Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org > http://lists.freedesktop.org/mailman/listinfo/nouveau > -- You are receiving this mail because: You are the assignee for the bug. --1376065938.76AEBad2.30937 Date: Fri, 9 Aug 2013 16:32:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 6 on bug 64323 from
On 09/08/13 16:03, Christ-Jan Wijtmans wrote:
> how did you get dota2 to even start? it should not work with the nouveau
> drivers.
> 
Downloaded the game and pressed Start. I'm not sure what you're implying
there with "it should not work", but it works like a charm with the
patch mentioned. Only bugs I can noticed are in dota2 (i.e. they are
present with the blob, and ati/amd users :P).

Last tested with commit 6a2baf3a06125405aa648e208af782e53f1312c0~1,
because of [1].

Cheers
Emil

[1] https://bugs.freedesktop.org/show_bug.cgi?id=67887
> 
> Live long and prosper,
> 
> Christ-Jan Wijtmans
> http://facebook.com/cj.wijtmans
> http://twitter.com/cjwijtmans
> 
> 
> On Thu, Aug 8, 2013 at 4:48 PM, <bugzilla-daemon@freedesktop.org> wrote:
> 
>>   *Comment # 5 <https://bugs.freedesktop.org/show_bug.cgi?id=64323#c5> on bug
>> 64323 <https://bugs.freedesktop.org/show_bug.cgi?id=64323> from Emil
>> Velikov <emil.l.velikov@gmail.com> *
>>
>> Dota 2 exhibits the same issue (patches still seem to work)
>>
>>  ------------------------------
>> You are receiving this mail because:
>>
>>    - You are the assignee for the bug.
>>
>>
>> _______________________________________________
>> Nouveau mailing list
>> Nouveau@lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/nouveau
>>
>>
> 
> 
> 
> _______________________________________________
> Nouveau mailing list
> Nouveau@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/nouveau
>


You are receiving this mail because:
  • You are the assignee for the bug.
--1376065938.76AEBad2.30937-- --===============1445477760== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1445477760==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Mon, 28 Oct 2013 11:59:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0363818024==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0363818024== Content-Type: multipart/alternative; boundary="1382961541.CAFfE02.3356"; charset="us-ascii" --1382961541.CAFfE02.3356 Date: Mon, 28 Oct 2013 11:59:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #7 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- I'm getting similar rendering issues with a 8800 GT card in all Source Engine games (tested in Team Fortress 2, Counter-Strike Source and Dota 2), but I'm not sure if it's the same bug. Mine is similar to the one reported in Valve's tracker: https://github.com/ValveSoftware/Source-1-Games/issues/200 There's a youtube video with show the exact same problem I am experiencing: https://www.youtube.com/watch?v=XLtl7VqnXoE I'm using ArchLinux. xf86-video-nouveau 1.0.9-1 nouveau-dri 9.2.2-1 libdrm 2.4.47-1 linux 3.11.6-1 mesa 9.2.2-1 Should I open another bug report, or is this the same problem? -- You are receiving this mail because: You are the assignee for the bug. --1382961541.CAFfE02.3356 Date: Mon, 28 Oct 2013 11:59:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 7 on bug 64323 from
I'm getting similar rendering issues with a 8800 GT card in all Source Engine
games (tested in Team Fortress 2, Counter-Strike Source and Dota 2), but I'm
not sure if it's the same bug.
Mine is similar to the one reported in Valve's tracker:
https://github.com/ValveSoftware/Source-1-Games/issues/200
There's a youtube video with show the exact same problem I am experiencing:
https://www.youtube.com/watch?v=XLtl7VqnXoE

I'm using ArchLinux.
xf86-video-nouveau 1.0.9-1
nouveau-dri 9.2.2-1
libdrm 2.4.47-1
linux 3.11.6-1
mesa 9.2.2-1

Should I open another bug report, or is this the same problem?


You are receiving this mail because:
  • You are the assignee for the bug.
--1382961541.CAFfE02.3356-- --===============0363818024== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0363818024==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Mon, 28 Oct 2013 22:25:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0130727069==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0130727069== Content-Type: multipart/alternative; boundary="1382999121.85Cc3.15790"; charset="us-ascii" --1382999121.85Cc3.15790 Date: Mon, 28 Oct 2013 22:25:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #8 from Emil Velikov --- (In reply to comment #7) > I'm getting similar rendering issues with a 8800 GT card in all Source > Engine games (tested in Team Fortress 2, Counter-Strike Source and Dota 2), > but I'm not sure if it's the same bug. > Mine is similar to the one reported in Valve's tracker: > https://github.com/ValveSoftware/Source-1-Games/issues/200 > There's a youtube video with show the exact same problem I am experiencing: > https://www.youtube.com/watch?v=XLtl7VqnXoE > You're experiencing exactly the same issue. > Should I open another bug report, or is this the same problem? > That should not be needed. This issue is kind of a sore spot, as even calim (the developer who wrote the gallium driver) is unsure why it occurs. I'm suspecting some sort of a race/missing fence, although that's wild guess. Note that nvc0+ cards seems to render fine with this commit - so either there is some subtle difference between the nv50/c0 codebase or hardware. Any input(comments, ideas, patches) would be appreciated :) -- You are receiving this mail because: You are the assignee for the bug. --1382999121.85Cc3.15790 Date: Mon, 28 Oct 2013 22:25:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 8 on bug 64323 from
(In reply to comment #7)
> I'm getting similar rendering issues with a 8800 GT card in all Source
> Engine games (tested in Team Fortress 2, Counter-Strike Source and Dota 2),
> but I'm not sure if it's the same bug.
> Mine is similar to the one reported in Valve's tracker:
> https://github.com/ValveSoftware/Source-1-Games/issues/200
> There's a youtube video with show the exact same problem I am experiencing:
> https://www.youtube.com/watch?v=XLtl7VqnXoE
> 
You're experiencing exactly the same issue.

> Should I open another bug report, or is this the same problem?
> 
That should not be needed.

This issue is kind of a sore spot, as even calim (the developer who wrote the
gallium driver) is unsure why it occurs.
I'm suspecting some sort of a race/missing fence, although that's wild guess.
Note that nvc0+ cards seems to render fine with this commit - so either there
is some subtle difference between the nv50/c0 codebase or hardware.

Any input(comments, ideas, patches) would be appreciated :)


You are receiving this mail because:
  • You are the assignee for the bug.
--1382999121.85Cc3.15790-- --===============0130727069== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0130727069==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Mon, 28 Oct 2013 23:22:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1770835376==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1770835376== Content-Type: multipart/alternative; boundary="1383002529.fBa3F1842.27008"; charset="us-ascii" --1383002529.fBa3F1842.27008 Date: Mon, 28 Oct 2013 23:22:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #9 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- Is there anything I can do to help ? -- You are receiving this mail because: You are the assignee for the bug. --1383002529.fBa3F1842.27008 Date: Mon, 28 Oct 2013 23:22:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 9 on bug 64323 from
Is there anything I can do to help ?


You are receiving this mail because:
  • You are the assignee for the bug.
--1383002529.fBa3F1842.27008-- --===============1770835376== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1770835376==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Mon, 25 Nov 2013 13:10:11 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0251368003==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0251368003== Content-Type: multipart/alternative; boundary="1385385011.786EAA2.4443"; charset="us-ascii" --1385385011.786EAA2.4443 Date: Mon, 25 Nov 2013 13:10:11 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #10 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- Still happening in 3.13. -- You are receiving this mail because: You are the assignee for the bug. --1385385011.786EAA2.4443 Date: Mon, 25 Nov 2013 13:10:11 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 10 on bug 64323 from
Still happening in 3.13.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385385011.786EAA2.4443-- --===============0251368003== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0251368003==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Tue, 26 Nov 2013 11:46:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1479206482==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1479206482== Content-Type: multipart/alternative; boundary="1385466385.1Cd8B6Aa3.4181"; charset="us-ascii" --1385466385.1Cd8B6Aa3.4181 Date: Tue, 26 Nov 2013 11:46:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #11 from Maarten Lankhorst --- A suspiciously similar bug for nvc0 was fixed with 72295c5f6715555082455072bfd29a1e5ae545de nvc0: restore viewport after blit I think you need to set viewport in nv50_blit_3d in the same way nvc0_blit_3d does, and then restore the old viewport afterwards in similar to the referenced commit. I didn't fix it at the time for nv50, because it wasn't setting the viewport. It looks like this was a bug. -- You are receiving this mail because: You are the assignee for the bug. --1385466385.1Cd8B6Aa3.4181 Date: Tue, 26 Nov 2013 11:46:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 11 on bug 64323 from
A suspiciously similar bug for nvc0 was fixed with
72295c5f6715555082455072bfd29a1e5ae545de

nvc0: restore viewport after blit

I think you need to set viewport in nv50_blit_3d in the same way nvc0_blit_3d
does, and then restore the old viewport afterwards in similar to the referenced
commit. I didn't fix it at the time for nv50, because it wasn't setting the
viewport. It looks like this was a bug.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385466385.1Cd8B6Aa3.4181-- --===============1479206482== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1479206482==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Thu, 28 Nov 2013 21:27:17 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0852972074==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0852972074== Content-Type: multipart/alternative; boundary="1385674037.eDA7cb63.13225"; charset="us-ascii" --1385674037.eDA7cb63.13225 Date: Thu, 28 Nov 2013 21:27:17 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #12 from Ilia Mirkin --- Created attachment 89965 --> https://bugs.freedesktop.org/attachment.cgi?id=89965&action=edit a different workaround Not sure if this is the right thing to do. Would be interesting to see what impact this has on the framerate, but it does seem to fix the rendering issues, at least with the portal trace in comment 1. (Should be applied separately from any other workaround/patch.) -- You are receiving this mail because: You are the assignee for the bug. --1385674037.eDA7cb63.13225 Date: Thu, 28 Nov 2013 21:27:17 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 12 on bug 64323 from
Created attachment 89965 [details] [review]
a different workaround

Not sure if this is the right thing to do. Would be interesting to see what
impact this has on the framerate, but it does seem to fix the rendering issues,
at least with the portal trace in comment 1. (Should be applied separately from
any other workaround/patch.)


You are receiving this mail because:
  • You are the assignee for the bug.
--1385674037.eDA7cb63.13225-- --===============0852972074== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0852972074==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Thu, 28 Nov 2013 23:25:25 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0865231656==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0865231656== Content-Type: multipart/alternative; boundary="1385681125.Ea72A3.26962"; charset="us-ascii" --1385681125.Ea72A3.26962 Date: Thu, 28 Nov 2013 23:25:25 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #89965|0 |1 is obsolete| | --- Comment #13 from Ilia Mirkin --- Created attachment 89968 --> https://bugs.freedesktop.org/attachment.cgi?id=89968&action=edit a different workaround actually looks like nouveau_fence_wait does more work than is absolutely necessary. check if it's signalled first. -- You are receiving this mail because: You are the assignee for the bug. --1385681125.Ea72A3.26962 Date: Thu, 28 Nov 2013 23:25:25 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64323
What Removed Added
Attachment #89965 is obsolete   1

Comment # 13 on bug 64323 from
Created attachment 89968 [details] [review]
a different workaround

actually looks like nouveau_fence_wait does more work than is absolutely
necessary. check if it's signalled first.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385681125.Ea72A3.26962-- --===============0865231656== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0865231656==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 04:17:44 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1031183580==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1031183580== Content-Type: multipart/alternative; boundary="1385785065.5Ab35f3.19198"; charset="us-ascii" --1385785065.5Ab35f3.19198 Date: Sat, 30 Nov 2013 04:17:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #89968|0 |1 is obsolete| | --- Comment #14 from Ilia Mirkin --- Created attachment 90011 --> https://bugs.freedesktop.org/attachment.cgi?id=90011&action=edit a different workaround OK, I played around with a lot of different options. It actually turns out that my last patch leaks fences. And it waits on fence instead of fence_wr. The new version fixes all these issues. Sticking in a semaphore acquire instead helped a bit, but the rendering was still not right. Even if I used screen->fence.current. So wait it must be :( -- You are receiving this mail because: You are the assignee for the bug. --1385785065.5Ab35f3.19198 Date: Sat, 30 Nov 2013 04:17:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64323
What Removed Added
Attachment #89968 is obsolete   1

Comment # 14 on bug 64323 from
Created attachment 90011 [details] [review]
a different workaround

OK, I played around with a lot of different options. It actually turns out that
my last patch leaks fences. And it waits on fence instead of fence_wr. The new
version fixes all these issues.

Sticking in a semaphore acquire instead helped a bit, but the rendering was
still not right. Even if I used screen->fence.current. So wait it must be :(


You are receiving this mail because:
  • You are the assignee for the bug.
--1385785065.5Ab35f3.19198-- --===============1031183580== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1031183580==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 12:42:53 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1933104155==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1933104155== Content-Type: multipart/alternative; boundary="1385815372.17b0A5872.18447"; charset="us-ascii" --1385815372.17b0A5872.18447 Date: Sat, 30 Nov 2013 12:42:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #15 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- I've tested the last patch on TF2, it fixes the issue. I've done some benchmarking and there is some performance loss though: Without the patch: avg 62 fps With the patch: avg 45 fps (with and without done thrice) Mesa 9.2.4 -- You are receiving this mail because: You are the assignee for the bug. --1385815372.17b0A5872.18447 Date: Sat, 30 Nov 2013 12:42:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 15 on bug 64323 from
I've tested the last patch on TF2, it fixes the issue. I've done some
benchmarking and there is some performance loss though:


Without the patch: avg 62 fps
With the patch: avg 45 fps
(with and without done thrice)


Mesa 9.2.4


You are receiving this mail because:
  • You are the assignee for the bug.
--1385815372.17b0A5872.18447-- --===============1933104155== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1933104155==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 13:37:24 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0852907441==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0852907441== Content-Type: multipart/alternative; boundary="1385818644.Ce553.24770"; charset="us-ascii" --1385818644.Ce553.24770 Date: Sat, 30 Nov 2013 13:37:24 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #16 from Ilia Mirkin --- (In reply to comment #15) > I've tested the last patch on TF2, it fixes the issue. I've done some > benchmarking and there is some performance loss though: > > > Without the patch: avg 62 fps > With the patch: avg 45 fps > (with and without done thrice) > > > Mesa 9.2.4 Well that's a big drop... Of course it's not exactly a decrease since it doesn't work otherwise. Could you try the other suggested patches and see what their performance impact is? -- You are receiving this mail because: You are the assignee for the bug. --1385818644.Ce553.24770 Date: Sat, 30 Nov 2013 13:37:24 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 16 on bug 64323 from
(In reply to comment #15)
> I've tested the last patch on TF2, it fixes the issue. I've done some
> benchmarking and there is some performance loss though:
> 
> 
> Without the patch: avg 62 fps
> With the patch: avg 45 fps
> (with and without done thrice)
> 
> 
> Mesa 9.2.4

Well that's a big drop... Of course it's not exactly a decrease since it
doesn't work otherwise. Could you try the other suggested patches and see what
their performance impact is?


You are receiving this mail because:
  • You are the assignee for the bug.
--1385818644.Ce553.24770-- --===============0852907441== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0852907441==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 15:04:28 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1137692555==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1137692555== Content-Type: multipart/alternative; boundary="1385823868.6C55f2.3097"; charset="us-ascii" --1385823868.6C55f2.3097 Date: Sat, 30 Nov 2013 15:04:28 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #17 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- workaround_calim.patch: 46 fps 0001-wait-for-the-buffer-to-be-done.patch: 34 fps 0001-nv50-wait-on-the-buf-s-fence-before-sticking-it-into.patch: 37 fps What about Maarten Lankhorst's suggestion? -- You are receiving this mail because: You are the assignee for the bug. --1385823868.6C55f2.3097 Date: Sat, 30 Nov 2013 15:04:28 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 17 on bug 64323 from
workaround_calim.patch: 46 fps
0001-wait-for-the-buffer-to-be-done.patch: 34 fps
0001-nv50-wait-on-the-buf-s-fence-before-sticking-it-into.patch: 37 fps

What about Maarten Lankhorst's suggestion?


You are receiving this mail because:
  • You are the assignee for the bug.
--1385823868.6C55f2.3097-- --===============1137692555== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1137692555==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 16:02:37 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1872382417==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1872382417== Content-Type: multipart/alternative; boundary="1385827357.33a732.9540"; charset="us-ascii" --1385827357.33a732.9540 Date: Sat, 30 Nov 2013 16:02:37 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #18 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- Two others benchmarks shows 44 and 48 fps with your latest patch (had 45 before, as written above). I'm not sure, but *maybe* it was more laggy than calim patch (like the getting stuck from time to time, as if I had 1 fps). Could just be a placebo though. -- You are receiving this mail because: You are the assignee for the bug. --1385827357.33a732.9540 Date: Sat, 30 Nov 2013 16:02:37 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 18 on bug 64323 from
Two others benchmarks shows 44 and 48 fps with your latest patch (had 45
before, as written above).
I'm not sure, but *maybe* it was more laggy than calim patch (like the getting
stuck from time to time, as if I had 1 fps). Could just be a placebo though.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385827357.33a732.9540-- --===============1872382417== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1872382417==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 20:20:26 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1356224920==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1356224920== Content-Type: multipart/alternative; boundary="1385842826.e252Aa3.18901"; charset="us-ascii" --1385842826.e252Aa3.18901 Date: Sat, 30 Nov 2013 20:20:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #19 from Ilia Mirkin --- Perhaps I was unclear. I was hoping you would test each of the currently-listed patches under "attachments" individually. i.e. https://bugs.freedesktop.org/attachment.cgi?id=90011 https://bugs.freedesktop.org/attachment.cgi?id=83839 https://bugs.freedesktop.org/attachment.cgi?id=81517 After testing each one, unapply it (you can use "git checkout" or "patch -R" depending on your setup). Thanks! -- You are receiving this mail because: You are the assignee for the bug. --1385842826.e252Aa3.18901 Date: Sat, 30 Nov 2013 20:20:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 19 on bug 64323 from
Perhaps I was unclear. I was hoping you would test each of the currently-listed
patches under "attachments" individually. i.e. 

https://bugs.freedesktop.org/attachment.cgi?id=90011
https://bugs.freedesktop.org/attachment.cgi?id=83839
https://bugs.freedesktop.org/attachment.cgi?id=81517

After testing each one, unapply it (you can use "git checkout" or "patch -R"
depending on your setup).

Thanks!


You are receiving this mail because:
  • You are the assignee for the bug.
--1385842826.e252Aa3.18901-- --===============1356224920== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1356224920==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 20:29:00 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2030790435==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces+gcfxn-nouveau=m.gmane.org-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2030790435== Content-Type: multipart/alternative; boundary="1385843340.be00dFec2.20629"; charset="us-ascii" --1385843340.be00dFec2.20629 Date: Sat, 30 Nov 2013 20:29:00 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #20 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- I did test these two individually: https://bugs.freedesktop.org/attachment.cgi?id=90011 https://bugs.freedesktop.org/attachment.cgi?id=83839 Both gave around 46 fps. There's just this last one I haven't tested yet: https://bugs.freedesktop.org/attachment.cgi?id=81517 I'll test it later. -- You are receiving this mail because: You are the assignee for the bug. --1385843340.be00dFec2.20629 Date: Sat, 30 Nov 2013 20:29:00 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 20 on bug 64323 from
I did test these two individually:
https://bugs.freedesktop.org/attachment.cgi?id=90011
https://bugs.freedesktop.org/attachment.cgi?id=83839

Both gave around 46 fps.

There's just this last one I haven't tested yet:
https://bugs.freedesktop.org/attachment.cgi?id=81517

I'll test it later.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385843340.be00dFec2.20629-- --===============2030790435== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============2030790435==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 22:09:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2086147701==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2086147701== Content-Type: multipart/alternative; boundary="1385849349.AE23ec5e2.6492"; charset="us-ascii" --1385849349.AE23ec5e2.6492 Date: Sat, 30 Nov 2013 22:09:09 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #21 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- That one: https://bugs.freedesktop.org/attachment.cgi?id=81517 is the best one, I have same performance with it as without any patch (62 fps). -- You are receiving this mail because: You are the assignee for the bug. --1385849349.AE23ec5e2.6492 Date: Sat, 30 Nov 2013 22:09:09 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 21 on bug 64323 from
That one:
https://bugs.freedesktop.org/attachment.cgi?id=81517
is the best one, I have same performance with it as without any patch (62 fps).


You are receiving this mail because:
  • You are the assignee for the bug.
--1385849349.AE23ec5e2.6492-- --===============2086147701== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============2086147701==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 22:53:45 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1207561486==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1207561486== Content-Type: multipart/alternative; boundary="1385852025.d084e563.14270"; charset="us-ascii" --1385852025.d084e563.14270 Date: Sat, 30 Nov 2013 22:53:45 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #22 from Ilia Mirkin --- Just want to confirm a theory -- can you test https://bugs.freedesktop.org/attachment.cgi?id=81517 https://bugs.freedesktop.org/attachment.cgi?id=90011 *together* (i.e. apply both patches). They shouldn't conflict. My theory is that this will have the same "higher" performance. -- You are receiving this mail because: You are the assignee for the bug. --1385852025.d084e563.14270 Date: Sat, 30 Nov 2013 22:53:45 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 22 on bug 64323 from
Just want to confirm a theory --

can you test

https://bugs.freedesktop.org/attachment.cgi?id=81517
https://bugs.freedesktop.org/attachment.cgi?id=90011

*together* (i.e. apply both patches). They shouldn't conflict. My theory is
that this will have the same "higher" performance.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385852025.d084e563.14270-- --===============1207561486== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1207561486==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sat, 30 Nov 2013 23:16:18 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1626968895==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1626968895== Content-Type: multipart/alternative; boundary="1385853378.EBAe64152.18179"; charset="us-ascii" --1385853378.EBAe64152.18179 Date: Sat, 30 Nov 2013 23:16:18 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #23 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- Indeed, I still have ~62 FPS with both patches. -- You are receiving this mail because: You are the assignee for the bug. --1385853378.EBAe64152.18179 Date: Sat, 30 Nov 2013 23:16:18 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 23 on bug 64323 from
Indeed, I still have ~62 FPS with both patches.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385853378.EBAe64152.18179-- --===============1626968895== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1626968895==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sun, 01 Dec 2013 00:43:06 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0906067118==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0906067118== Content-Type: multipart/alternative; boundary="1385858587.73dE4f6.568"; charset="us-ascii" --1385858587.73dE4f6.568 Date: Sun, 1 Dec 2013 00:43:07 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 Emil Velikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |chrisf-GC9Nvf0HxqylVyrhU4qvOw@public.gmane.org --- Comment #24 from Emil Velikov --- *** Bug 64888 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the assignee for the bug. --1385858587.73dE4f6.568 Date: Sun, 1 Dec 2013 00:43:07 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64323
What Removed Added
CC   chrisf@ijw.co.nz

Comment # 24 on bug 64323 from
*** Bug 64888 has been marked as a duplicate of this bug. ***


You are receiving this mail because:
  • You are the assignee for the bug.
--1385858587.73dE4f6.568-- --===============0906067118== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0906067118==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sun, 01 Dec 2013 17:01:32 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2131256498==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2131256498== Content-Type: multipart/alternative; boundary="1385917293.34F06A754.1204"; charset="us-ascii" --1385917293.34F06A754.1204 Date: Sun, 1 Dec 2013 17:01:32 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #25 from Emil Velikov --- Created attachment 90056 --> https://bugs.freedesktop.org/attachment.cgi?id=90056&action=edit yet another try (author imirkin) Here are some numbers while running dota2. Game is up-to date as of time of this post. * recorded a timedemo using "record timedemo1" * executed via "steam -applaunch 570 +con_logfile timedemo1.log +cl_showfps 2 +timedemoquit timedemo1" mesa master (fb5f5b81883f360dcbbf407a0f6f5606bc0c0495) * master 903 frames 45.906 seconds 19.67 fps (50.84 ms/f) 2.519 fps variability Only in-game corruption, flickering textures. HUD is rendered fine * master + attached patch 903 frames 56.210 seconds 16.06 fps (62.25 ms/f) 0.696 fps variability No visible corruption or flicker at all. * master + 81517 patch 903 frames 70.074 seconds 12.89 fps (77.60 ms/f) 0.974 fps variability Only in-game corruption, flickering textures. Mostly plain colour or rainbow texture. HUD _is affected by the flicker_ Note: it used to work previously... The rainbow texture is part of some courier special effects. Those effect were not used in this match. Some memory corruption maybe ? * master + revert commit 48a45ec24ae74c00d1487552e94d9f824a428f58 903 frames 68.625 seconds 13.16 fps (76.00 ms/f) 0.319 fps variability No visible corruption or flicker at all. -- You are receiving this mail because: You are the assignee for the bug. --1385917293.34F06A754.1204 Date: Sun, 1 Dec 2013 17:01:33 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 25 on bug 64323 from
Created attachment 90056 [details] [review]
yet another try (author imirkin)

Here are some numbers while running dota2. Game is up-to date as of time of
this post.

* recorded a timedemo using "record timedemo1"
* executed via "steam -applaunch 570 +con_logfile timedemo1.log +cl_showfps 2
+timedemoquit timedemo1"

mesa master (fb5f5b81883f360dcbbf407a0f6f5606bc0c0495)

* master
903 frames 45.906 seconds 19.67 fps (50.84 ms/f) 2.519 fps variability
Only in-game corruption, flickering textures. HUD is rendered fine

* master + attached patch
903 frames 56.210 seconds 16.06 fps (62.25 ms/f) 0.696 fps variability
No visible corruption or flicker at all.

* master + 81517 patch
903 frames 70.074 seconds 12.89 fps (77.60 ms/f) 0.974 fps variability
Only in-game corruption, flickering textures. Mostly plain colour or rainbow
texture. HUD _is affected by the flicker_
Note: it used to work previously...

The rainbow texture is part of some courier special effects. Those effect were
not used in this match. Some memory corruption maybe ?

* master + revert commit 48a45ec24ae74c00d1487552e94d9f824a428f58
903 frames 68.625 seconds 13.16 fps (76.00 ms/f) 0.319 fps variability
No visible corruption or flicker at all.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385917293.34F06A754.1204-- --===============2131256498== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============2131256498==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sun, 01 Dec 2013 17:14:51 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1757632488==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1757632488== Content-Type: multipart/alternative; boundary="1385918092.373c1B83.3683"; charset="us-ascii" --1385918092.373c1B83.3683 Date: Sun, 1 Dec 2013 17:14:51 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #26 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- I'd suggest you launch the game normally and use timedemo_runcount 3 + timedemo xx instead. I've seen that the first time you play the demo with timedemo, it is usually less accurate (probably because the game hasn't loaded yet most resources in memory). For example I'd sometimes get 55 FPS the first time, then a constant 62 every time after. -- You are receiving this mail because: You are the assignee for the bug. --1385918092.373c1B83.3683 Date: Sun, 1 Dec 2013 17:14:52 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 26 on bug 64323 from
I'd suggest you launch the game normally and use timedemo_runcount 3 + timedemo
xx instead. I've seen that the first time you play the demo with timedemo, it
is usually less accurate (probably because the game hasn't loaded yet most
resources in memory).
For example I'd sometimes get 55 FPS the first time, then a constant 62 every
time after.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385918092.373c1B83.3683-- --===============1757632488== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1757632488==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Sun, 01 Dec 2013 18:29:01 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1214823829==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1214823829== Content-Type: multipart/alternative; boundary="1385922541.14efBadC4.16758"; charset="us-ascii" --1385922541.14efBadC4.16758 Date: Sun, 1 Dec 2013 18:29:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #27 from Emil Velikov --- (In reply to comment #26) > I'd suggest you launch the game normally and use timedemo_runcount 3 + > timedemo xx instead. I've seen that the first time you play the demo with > timedemo, it is usually less accurate (probably because the game hasn't > loaded yet most resources in memory). > For example I'd sometimes get 55 FPS the first time, then a constant 62 > every time after. Despite using the same engine dota2, is rather different from the other source titles - tf2, cs:s, l4d2. It pre-loads (almost?) every resource required. Thanks for the timedemo_runcount tip, although dota2 is a bit short in that regard. Running a couple sequential runs, using "timedemoquit" provides rather consistent results. -- You are receiving this mail because: You are the assignee for the bug. --1385922541.14efBadC4.16758 Date: Sun, 1 Dec 2013 18:29:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 27 on bug 64323 from
(In reply to comment #26)
> I'd suggest you launch the game normally and use timedemo_runcount 3 +
> timedemo xx instead. I've seen that the first time you play the demo with
> timedemo, it is usually less accurate (probably because the game hasn't
> loaded yet most resources in memory).
> For example I'd sometimes get 55 FPS the first time, then a constant 62
> every time after.

Despite using the same engine dota2, is rather different from the other source
titles - tf2, cs:s, l4d2. It pre-loads (almost?) every resource required.

Thanks for the timedemo_runcount tip, although dota2 is a bit short in that
regard. Running a couple sequential runs, using "timedemoquit" provides rather
consistent results.


You are receiving this mail because:
  • You are the assignee for the bug.
--1385922541.14efBadC4.16758-- --===============1214823829== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1214823829==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Wed, 04 Dec 2013 21:36:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1103688158==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1103688158== Content-Type: multipart/alternative; boundary="1386192970.31183.19011"; charset="us-ascii" --1386192970.31183.19011 Date: Wed, 4 Dec 2013 21:36:10 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #28 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- There's now a commit with the older patch which does the wait and reduce FPS: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e5bf8565106833e1a678ebdae81fdf1657391c9 Shouldn't we have the latest one instead (mess around with buffer transfers only when needed) ? -- You are receiving this mail because: You are the assignee for the bug. --1386192970.31183.19011 Date: Wed, 4 Dec 2013 21:36:10 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 28 on bug 64323 from
There's now a commit with the older patch which does the wait and reduce FPS:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e5bf8565106833e1a678ebdae81fdf1657391c9

Shouldn't we have the latest one instead (mess around with buffer transfers
only when needed) ?


You are receiving this mail because:
  • You are the assignee for the bug.
--1386192970.31183.19011-- --===============1103688158== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1103688158==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Wed, 04 Dec 2013 21:43:21 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1650198367==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1650198367== Content-Type: multipart/alternative; boundary="1386193401.56Fc1Fd4.21086"; charset="us-ascii" --1386193401.56Fc1Fd4.21086 Date: Wed, 4 Dec 2013 21:43:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 --- Comment #29 from Ilia Mirkin --- The wait is correct and always needed. I believe that the last patch is actually incorrect. I've added a whole bunch of comments to that function which reflect my understanding of how it works. It appears to be correct. I think what's happening is that (a) inline write to GART. no staging, just returns the buffer's memory (b) something happens (c) inline write to GART. at this point, the GPU is now reading the buffer. so it has to do the whole staging dance to schedule the write to be done by the GPU. (d) render happens, and has to wait for that second inline write to complete. I have yet to figure out what (b) is -- I did some printf-debugging and I'm fairly sure about parts (a) and (c). But by the time (c) happened, the buffer's status had the GPU_READING bit set, and it had a ->fence set on it. I made yet-another attempt at improving this by forcing the second inline write to wait for the gpu to stop reading and then do the GART copy directly, but that didn't seem to help. -- You are receiving this mail because: You are the assignee for the bug. --1386193401.56Fc1Fd4.21086 Date: Wed, 4 Dec 2013 21:43:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8"

Comment # 29 on bug 64323 from
The wait is correct and always needed. I believe that the last patch is
actually incorrect. I've added a whole bunch of comments to that function which
reflect my understanding of how it works. It appears to be correct.

I think what's happening is that

(a) inline write to GART. no staging, just returns the buffer's memory
(b) something happens
(c) inline write to GART. at this point, the GPU is now reading the buffer. so
it has to do the whole staging dance to schedule the write to be done by the
GPU.
(d) render happens, and has to wait for that second inline write to complete.

I have yet to figure out what (b) is -- I did some printf-debugging and I'm
fairly sure about parts (a) and (c). But by the time (c) happened, the buffer's
status had the GPU_READING bit set, and it had a ->fence set on it.

I made yet-another attempt at improving this by forcing the second inline write
to wait for the gpu to stop reading and then do the GART copy directly, but
that didn't seem to help.


You are receiving this mail because:
  • You are the assignee for the bug.
--1386193401.56Fc1Fd4.21086-- --===============1650198367== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1650198367==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Mon, 13 Jan 2014 02:28:30 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2125691351==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============2125691351== Content-Type: multipart/alternative; boundary="1389580110.c5Ae4.32616"; charset="us-ascii" --1389580110.c5Ae4.32616 Date: Mon, 13 Jan 2014 02:28:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 Emil Velikov changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #30 from Emil Velikov --- The fix is present in the 9.2, 10 and master branches. Thanks for the great work Ilia -- You are receiving this mail because: You are the assignee for the bug. --1389580110.c5Ae4.32616 Date: Mon, 13 Jan 2014 02:28:30 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64323
What Removed Added
Status NEW RESOLVED
Resolution --- FIXED

Comment # 30 on bug 64323 from
The fix is present in the 9.2, 10 and master branches. Thanks for the great
work Ilia


You are receiving this mail because:
  • You are the assignee for the bug.
--1389580110.c5Ae4.32616-- --===============2125691351== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============2125691351==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Mon, 13 Jan 2014 09:39:05 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0169811301==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============0169811301== Content-Type: multipart/alternative; boundary="1389605945.a0EBb3.22747"; charset="us-ascii" --1389605945.a0EBb3.22747 Date: Mon, 13 Jan 2014 09:39:05 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED |--- --- Comment #31 from anakin.cs-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --- Are you sure this should be considered fixed? The misrendering issue is fixed, but there's still a problem whose Ilia was talking about in his last post (which is the cause for performance issues after the patch ?). -- You are receiving this mail because: You are the assignee for the bug. --1389605945.a0EBb3.22747 Date: Mon, 13 Jan 2014 09:39:05 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64323
What Removed Added
Status RESOLVED REOPENED
Resolution FIXED ---

Comment # 31 on bug 64323 from
Are you sure this should be considered fixed? The misrendering issue is fixed,
but there's still a problem whose Ilia was talking about in his last post
(which is the cause for performance issues after the patch ?).


You are receiving this mail because:
  • You are the assignee for the bug.
--1389605945.a0EBb3.22747-- --===============0169811301== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============0169811301==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 64323] Severe misrendering in Left 4 Dead 2 Date: Mon, 13 Jan 2014 09:44:40 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1932218147==" Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org Errors-To: nouveau-bounces-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org List-Id: nouveau.vger.kernel.org --===============1932218147== Content-Type: multipart/alternative; boundary="1389606280.e7feA3e4.23532"; charset="us-ascii" --1389606280.e7feA3e4.23532 Date: Mon, 13 Jan 2014 09:44:40 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=64323 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #32 from Ilia Mirkin --- The issue is resolved. There are various optimizations that one might attempt, but the code path in question apparently _has_ to wait for the GPU to stop writing to that buffer. Any optimization would avoid situations where the GPU is writing to that buffer. Something like valid ranges would be helpful -- I understand that r600 has them, perhaps we can copy them. But this would be strictly an optimization. -- You are receiving this mail because: You are the assignee for the bug. --1389606280.e7feA3e4.23532 Date: Mon, 13 Jan 2014 09:44:40 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 64323
What Removed Added
Status REOPENED RESOLVED
Resolution --- FIXED

Comment # 32 on bug 64323 from
The issue is resolved. There are various optimizations that one might attempt,
but the code path in question apparently _has_ to wait for the GPU to stop
writing to that buffer. Any optimization would avoid situations where the GPU
is writing to that buffer. Something like valid ranges would be helpful -- I
understand that r600 has them, perhaps we can copy them. But this would be
strictly an optimization.


You are receiving this mail because:
  • You are the assignee for the bug.
--1389606280.e7feA3e4.23532-- --===============1932218147== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nouveau mailing list Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org http://lists.freedesktop.org/mailman/listinfo/nouveau --===============1932218147==--