<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Screen hangs when running a 3D app. GTX 660"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99068#c7">Comment # 7</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Screen hangs when running a 3D app. GTX 660"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99068">bug 99068</a>
from <span class="vcard"><a class="email" href="mailto:nicolasbertolo@gmail.com" title="Nicolás Luciano Bértolo <nicolasbertolo@gmail.com>"> <span class="fn">Nicolás Luciano Bértolo</span></a>
</span></b>
<pre>What happens is that the file is actually there, but it is 0 bytes long.
This is the script that I am using to extract the files:
#! /bin/bash
rmmod nvidia_drm
rmmod nvidia_modeset
rmmod nvidia
echo 64000 > /sys/kernel/debug/tracing/buffer_size_kb
echo mmiotrace > /sys/kernel/debug/tracing/current_tracer
cat /sys/kernel/debug/tracing/trace_pipe > mmiotrace.log &
modprobe nvidia
xinit -e sh -c "glxgears & sleep 10"
sleep 5
echo nop > /sys/kernel/debug/tracing/current_tracer
wait
This line fails:
echo nop > /sys/kernel/debug/tracing/current_tracer
It outputs: Resource or device busy.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>