Bug 105722

Summary: Nouveau driver hangs when closing video playback
Product: xorg Reporter: Christopher <freedesktopbugs0000>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Kernel log from bootup to crash
none
The X server log, retrieved after the crash but before restarting X none

Description Christopher 2018-03-23 19:31:20 UTC
Created attachment 138322 [details]
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
Comment 1 Christopher 2018-03-23 19:32:41 UTC
Created attachment 138323 [details]
The X server log, retrieved after the crash but before restarting X

The xorg server log from the session that locked up.  The file was copied away before restarting the X server after the reboot.
Comment 2 Martin Peres 2019-12-04 09:37:24 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/416.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.