From: bugzilla-daemon-CC+yJ3UmIYqDUpFQwHEjaQ@public.gmane.org Subject: [Bug 49148] nv20_state_fb.c:50: get_rt_format: Assertion `0' failed. Date: Wed, 21 Aug 2013 05:22:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0630547138==" 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 --===============0630547138== Content-Type: multipart/alternative; boundary="1377062570.7F2Bff72.10849"; charset="us-ascii" --1377062570.7F2Bff72.10849 Date: Wed, 21 Aug 2013 05:22:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" https://bugs.freedesktop.org/show_bug.cgi?id=49148 Ilia Mirkin changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO --- Comment #4 from Ilia Mirkin --- OK, so I tried on a NV18 with Mesa 9.2-git (as of a couple of days ago). SweetHome3D, uh, "works", in that it doesn't crash. But the app is _really_ unhappy about the lack of cube map support, and the "3d" view is completely messed up as a result. [It does seem as though nv10+ cards have cubemap support, but the driver doesn't make use of that.] That CriticalMass app also seems to work fine on wine 1.6.0 and mesa 9.2-git (and also mesa 9.1.6). Now, as to my analysis of the code, that assert() just plain can't happen. It's inconceivable :) There aren't a lot of assignments to ->surface, and the only values they can take on are the ones that get_rt_format expects (it either assigns those values directly or copies them from other nouveau_surface objects). Perhaps in older Mesa's that was not the case, I didn't dig _too_ deeply, but a small amount of digging didn't reveal any obvious fixes in this area. Perhaps something was fixed in the surrounding mesa code. So... please re-test with the latest mesa. If you still get the assert, run the app inside GDB and provide the full backtrace. Also try to provide instructions for how I could reproduce the issue, if it's more than just "start program X". -- You are receiving this mail because: You are the assignee for the bug. --1377062570.7F2Bff72.10849 Date: Wed, 21 Aug 2013 05:22:50 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" changed bug 49148
What Removed Added
Status NEW NEEDINFO

Comment # 4 on bug 49148 from
OK, so I tried on a NV18 with Mesa 9.2-git (as of a couple of days ago).
SweetHome3D, uh, "works", in that it doesn't crash. But the app is _really_
unhappy about the lack of cube map support, and the "3d" view is completely
messed up as a result. [It does seem as though nv10+ cards have cubemap
support, but the driver doesn't make use of that.]

That CriticalMass app also seems to work fine on wine 1.6.0 and mesa 9.2-git
(and also mesa 9.1.6).

Now, as to my analysis of the code, that assert() just plain can't happen. It's
inconceivable :) There aren't a lot of assignments to ->surface, and the only
values they can take on are the ones that get_rt_format expects (it either
assigns those values directly or copies them from other nouveau_surface
objects). Perhaps in older Mesa's that was not the case, I didn't dig _too_
deeply, but a small amount of digging didn't reveal any obvious fixes in this
area. Perhaps something was fixed in the surrounding mesa code.

So... please re-test with the latest mesa. If you still get the assert, run the
app inside GDB and provide the full backtrace. Also try to provide instructions
for how I could reproduce the issue, if it's more than just "start program X".


You are receiving this mail because:
  • You are the assignee for the bug.
--1377062570.7F2Bff72.10849-- --===============0630547138== 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 --===============0630547138==--