<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - any OpenGL application crashes X, locks up machine with nouveau and PRIME"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82152#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - any OpenGL application crashes X, locks up machine with nouveau and PRIME"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82152">bug 82152</a>
from <span class="vcard"><a class="email" href="mailto:imirkin@alum.mit.edu" title="Ilia Mirkin <imirkin@alum.mit.edu>"> <span class="fn">Ilia Mirkin</span></a>
</span></b>
<pre>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 )</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>