Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752113AbdHNT1X (ORCPT ); Mon, 14 Aug 2017 15:27:23 -0400 Received: from mail-qk0-f193.google.com ([209.85.220.193]:38173 "EHLO mail-qk0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751047AbdHNT1V (ORCPT ); Mon, 14 Aug 2017 15:27:21 -0400 MIME-Version: 1.0 In-Reply-To: <20170814191818.GA20455@dhcp22.suse.cz> References: <20170814191818.GA20455@dhcp22.suse.cz> From: Ilia Mirkin Date: Mon, 14 Aug 2017 15:27:20 -0400 X-Google-Sender-Auth: XpqZwbxYhWRpme5TD1sMrAUpOSA Message-ID: Subject: Re: nouveau driver locks up with 4.11 kernel To: Michal Hocko Cc: "nouveau@lists.freedesktop.org" , Ben Skeggs , "dri-devel@lists.freedesktop.org" , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v7EJRTDc028108 Content-Length: 3422 Lines: 53 On Mon, Aug 14, 2017 at 3:18 PM, Michal Hocko wrote: > Hi, > I am having issues with nouveau driver in 4.11 Debian distribution > kernel. I can start X session but the screen locks up e.g. when I try to > exit mplayer fullscreen mode. The lock is swamped with tons of > nouveau 0000:03:00.0: fifo: SCHED_ERROR 13 [] > > messages and I also can see some warnings > ------------[ cut here ]------------ > WARNING: CPU: 1 PID: 3535 at /build/linux-J4LMtv/linux-4.11.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c:85 gf100_fifo_gpfifo_engine_fini+0x14f/0x1d0 [nouveau] > nouveau 0000:03:00.0: timeout > Modules linked in: nouveau mxm_wmi wmi ttm cpufreq_powersave cpufreq_conservative cpufreq_userspace iptable_filter iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat iptable_mangle ip_tables x_tables binfmt_misc nfsd auth_rpcgss oid_registry nfs_acl nfs lockd grace fscache sunrpc i2c_sis96x hwmon_vid nf_conntrack_ftp nf_conntrack fuse i2c_dev thermal fan ac battery ntfs snd_intel8x0 snd_ac97_codec ac97_bus psmouse lp snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic snd_hda_intel ppdev intel_powerclamp iTCO_wdt iTCO_vendor_support snd_hda_codec coretemp gma500_gfx snd_hda_core evdev serio_raw drm_kms_helper snd_hwdep snd_pcm_oss pcspkr snd_mixer_oss snd_pcm drm snd_seq_midi snd_seq_midi_event sg snd_rawmidi snd_seq snd_seq_device snd_timer parport_pc snd soundcore > parport i2c_algo_bit shpchp lpc_ich tpm_infineon mfd_core video button ext4 crc16 jbd2 fscrypto ecb crypto_simd cryptd aes_i586 mbcache raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c crc32c_generic raid0 multipath linear uas usb_storage dm_mod raid1 md_mod sd_mod hid_generic usbhid hid ahci libahci libata i2c_i801 scsi_mod ehci_pci uhci_hcd e1000e ptp pps_core ehci_hcd usbcore usb_common > CPU: 1 PID: 3535 Comm: mpv/vo Tainted: G W 4.11.0-1-686-pae #1 Debian 4.11.6-1 > Hardware name: /D2500HN, BIOS MUCDT10N.86A.0073.2012.1101.1638 11/01/2012 > Call Trace: > ? dump_stack+0x55/0x73 > ? __warn+0xea/0x110 > ? gf100_fifo_gpfifo_engine_fini+0x14f/0x1d0 [nouveau] > ? gf100_fifo_gpfifo_engine_fini+0x14f/0x1d0 [nouveau] > ? warn_slowpath_fmt+0x46/0x60 > ? gf100_fifo_gpfifo_engine_fini+0x14f/0x1d0 [nouveau] > ? gf100_fifo_gpfifo_engine_addr.isra.1+0xa0/0xa0 [nouveau] > ? nvkm_fifo_chan_child_fini+0x4e/0x120 [nouveau] > ? nvkm_object_del+0x58/0x90 [nouveau] > ? ktime_get+0x4b/0x110 > ? nvkm_oproxy_fini+0x23/0x80 [nouveau] > ? nvkm_object_fini+0x137/0x300 [nouveau] > ? nvkm_ioctl_del+0x8c/0xa0 [nouveau] > ? nvkm_ioctl+0x100/0x290 [nouveau] > ? __check_object_size+0x9e/0x13c > ? __check_object_size+0x9e/0x13c > ? nvif_client_ioctl+0x2b/0x40 [nouveau] > ? usif_ioctl+0x4eb/0x790 [nouveau] > ? nouveau_drm_ioctl+0xab/0xb0 [nouveau] > ? nouveau_pmops_resume+0x80/0x80 [nouveau] > ? do_vfs_ioctl+0x91/0x6b0 > ? SyS_ioctl+0x60/0x70 > ? do_fast_syscall_32+0x8a/0x150 > ? entry_SYSENTER_32+0x4e/0x7c > ---[ end trace 1bf6c731018c2e52 ]--- > > followed by > nouveau 0000:03:00.0: fifo: channel 6 [mpv/vo[3535]] kick timeout > nouveau: mpv/vo[3535]:00000000:0000906f: detach gr failed, -110 Are you using mpv in conjunction with the GL video output and VDPAU-based acceleration? That will kill nouveau. For VDPAU, I recommend mplayer. Cheers, -ilia