[Nouveau] [Bug 92922] [NVE6] Xorg random freeze
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Nov 12 10:45:55 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=92922
--- Comment #3 from Ilia Mirkin <imirkin at alum.mit.edu> ---
You can try the patch below and see if it ever triggers. Make sure to build
with --enable-debug (otherwise you won't get the assert). You'll also probably
want --enable-texture-float (I'd check how your distro builds it and do the
same thing).
Of course note that if gnome-shell is hitting this... the assert will happen in
gnome-session and it will crash :) If you could run it in gdb and poke around
at things when it does crash that'd be useful.
diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
index 205e7dc..d7ee0763 100644
--- a/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
+++ b/src/gallium/drivers/nouveau/nvc0/nvc0_state_validate.c
@@ -150,6 +150,7 @@ nvc0_validate_fb(struct nvc0_context *nvc0)
struct nv50_surface *sf = nv50_surface(fb->zsbuf);
int unk = mt->base.base.target == PIPE_TEXTURE_2D;
+ assert(nouveau_bo_memtype(nv04_resource(fb->zsbuf->texture)->bo) <
0xd0);
BEGIN_NVC0(push, NVC0_3D(ZETA_ADDRESS_HIGH), 5);
PUSH_DATAh(push, mt->base.address + sf->offset);
PUSH_DATA (push, mt->base.address + sf->offset);
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20151112/25709b59/attachment.html>
More information about the Nouveau
mailing list