[Nouveau] [Bug 82152] any OpenGL application crashes X, locks up machine with nouveau and PRIME

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 4 14:41:28 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82152

--- Comment #4 from Ilia Mirkin <imirkin at alum.mit.edu> ---
There are two issues:

(a) The null deref in the kernel when putting the card back to sleep
(b) The fact that init of the card fails

To mitigate the first, you could boot with "nouveau.runpm=0". However you still
wouldn't get working accel with nouveau.

The claim by NVIDIA was that the graph-not-powered-up problem was restricted to
GK104/GK106. But looking at the latest code, it seems like it runs on GK107 as
well (not in Ben's repo anymore, but still in linux-3.16) and perhaps has the
reverse effect there.

I wonder if a patch like

diff --git a/nvkm/engine/graph/nve4.c b/nvkm/engine/graph/nve4.c
index 51e0c07..4dd376e 100644
--- a/nvkm/engine/graph/nve4.c
+++ b/nvkm/engine/graph/nve4.c
@@ -350,7 +350,7 @@ nve4_graph_oclass = &(struct nvc0_graph_oclass) {
                .ctor = nvc0_graph_ctor,
                .dtor = nvc0_graph_dtor,
                .init = nve4_graph_init,
-               .fini = nve4_graph_fini,
+               .fini = _nouveau_graph_fini,
        },
        .cclass = &nve4_grctx_oclass,
        .sclass = nve4_graph_sclass,

will help you out. (You'll need to apply it with care... cd into
drivers/gpu/drm/nouveau/core and apply it with patch -p2 )

-- 
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/20140804/40c3f003/attachment.html>


More information about the Nouveau mailing list