<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Nouveau driver hangs when closing video playback"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105722">105722</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Nouveau driver hangs when closing video playback
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/nouveau
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>nouveau@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>freedesktopbugs0000@cneufeld.ca
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=138322" name="attach_138322" title="Kernel log from bootup to crash">attachment 138322</a> <a href="attachment.cgi?id=138322&action=edit" title="Kernel log from bootup to crash">[details]</a></span>
Kernel log from bootup to crash

I have a completely reproducible hang in the nouveau kernel module.  It happens
when I've run a vdpau or OpenGL video session and then exit it, under the KDE5
desktop.  It doesn't happen under KDE4, with the same binaries and libraries.

I start the MythTV frontend (fullscreen) or xine (windowed) from within KDE5. 
Playback is normal, everything works properly, until I attempt to exit
playback.  At that moment, the screen locks up.  The keyboard becomes
non-responsive, the mouse cursor still moves, my desktop clocks stop updating,
and I have to ssh into the machine to reboot it.

I'm attaching the Xorg and dmesg logs.  The end of the dmesg log includes some
lines from the kernel log, retrieved after the reboot.  The relevant lines are:

kernel: nouveau 0000:01:00.0: msvld: intr 00000002
kernel: nouveau 0000:01:00.0: mythfrontend[2971]: failed to idle channel 19
[mythfrontend[2971]]
kernel: nouveau 0000:01:00.0: mythfrontend[2971]: failed to idle channel 19
[mythfrontend[2971]]
kernel: nouveau 0000:01:00.0: fifo: runlist update timeout
kernel: nouveau 0000:01:00.0: fifo: INTR 00000001: 0000000b

The Mesa/DRI libraries are at version 17.3.3, but this happened with earlier
versions as well.  My kernel is kernel.org 4.14.12 with no additional patches.

The xf86-video-nouveau component is at tag xf86-video-nouveau-1.0.15
The xserver component is at tag xorg-server-1.19.5</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>