Nouveau driver hangs when closing video playback
Submitted by Christopher
Assigned to Nouveau Project
Link to original bug (#105722)
Description
Created attachment 138322
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
Attachment 138322, "Kernel log from bootup to crash":
log1.txt