[Nouveau] [Bug 93004] Guild Wars 2 crash on nouveau DX11 cards
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 1 00:23:04 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=93004
--- Comment #4 from Patrick Rudolph <siro at das-labor.org> ---
For the second crash I found I simple solution:
It crashes in nvc0_vbo.c:static void nvc0_validate_vertex_buffers_shared(struct
nvc0_context *nvc0), as buf is NULL:
396: buf = nv04_resource(vb->buffer);
397: offset = vb->buffer_offset;
398: limit = buf->base.width0 - 1;
I'm not sure why it is possible to get to this point with a NULL vertex buffer
and a NULL user_buffer. Nine seems to take care and only sets non NULL buffers.
For some reason nvc0->num_vtxbufs always includes an additional NULL vb...
I fixed this problem by adding:
396: buf = nv04_resource(vb->buffer);
if (!buf) continue;
397: offset = vb->buffer_offset;
398: limit = buf->base.width0 - 1;
With this fixed Guild Wars 2 doesn't crash in every pipe->draw_vbo.
I was able to play the game for a few minutes.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/nouveau/attachments/20151201/5385593a/attachment.html>
More information about the Nouveau
mailing list