nouveau write fault, CTXSW_TIMEOUT, hangs the display

Bug #1661486 reported by Daniel Barrett
40
This bug affects 9 people
Affects Status Importance Assigned to Milestone
xserver-xorg-video-nouveau (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

A few hours after upgrading to the latest kernel and plasma (using apt upgrade) in Xenial 16.04LTS, my computer display hung with:

Feb 2 20:36:16 snorkack kernel: [83600.290217] nouveau 0000:01:00.0: fifo: write fault at 000027c000 engine 00 [GR] client 0e [GPC0/GPCCS] reason 02 [PTE] on channel 2 [007f9a3000 Xorg[1501]]
Feb 2 20:36:16 snorkack kernel: [83600.290221] nouveau 0000:01:00.0: fifo: gr engine fault on channel 2, recovering...
Feb 2 20:33:42 snorkack colord[1394]: (colord:1394): Cd-WARNING **: failed to get session [pid 27934]: No such device or address
Feb 2 20:36:19 snorkack vmnet-dhcpd: DHCPREQUEST for 192.168.50.128 from 00:0c:29:d5:2d:15 via vmnet8
Feb 2 20:36:19 snorkack vmnet-dhcpd: DHCPACK on 192.168.50.128 to 00:0c:29:d5:2d:15 via vmnet8
Feb 2 20:36:20 snorkack kernel: [83604.585547] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Feb 2 20:36:20 snorkack kernel: [83604.585553] nouveau 0000:01:00.0: fifo: sw engine fault on channel 8, recovering...
Feb 2 20:36:22 snorkack kernel: [83606.583732] nouveau 0000:01:00.0: fifo: runlist 0 update timeout
Feb 2 20:36:24 snorkack kernel: [83608.880576] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Feb 2 20:36:29 snorkack kernel: [83613.175601] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Feb 2 20:36:33 snorkack kernel: [83617.470624] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Feb 2 20:36:37 snorkack kernel: [83621.765648] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Feb 2 20:36:42 snorkack kernel: [83626.060672] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
...repeats many times...

I could still log in via SSH but could not unhang the system, so I rebooted.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xserver-xorg-video-nouveau 1:1.0.12-1build2
ProcVersionSignature: Ubuntu 4.4.0-62.83-generic 4.4.40
Uname: Linux 4.4.0-62-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: KDE
Date: Thu Feb 2 23:20:22 2017
InstallationDate: Installed on 2016-09-25 (131 days ago)
InstallationMedia: Kubuntu 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
SourcePackage: xserver-xorg-video-nouveau
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Daniel Barrett (dbarrett-m) wrote :
Revision history for this message
Daniel Barrett (dbarrett-m) wrote :

This crash is now happening daily, ever since the latest plasma upgrade.

Revision history for this message
Daniel Barrett (dbarrett-m) wrote :

I switched from nouveau to the proprietary nvidia driver (nvidia-375), and the crashes have stopped.

Revision history for this message
Miroslav Zaťko (mirec-z) wrote :

same problem here. System freezes completely(except, I can move mouse pointer. Just move, no click) and after restart buch of "nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]" in syslog. ubuntu 16.04, 4.4.0-78-generic #99-Ubuntu SMP, Lenovo P50.
I cannot switch to nvidia-XXX driver as it is unusable in multiple monitors configuration.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xserver-xorg-video-nouveau (Ubuntu):
status: New → Confirmed
Revision history for this message
vans163 (vans-163) wrote :

After running the system for a week:

Aug 6 10:46:15 vessel kernel: [313879.612598] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
Aug 6 10:46:15 vessel kernel: [313879.612608] nouveau 0000:01:00.0: fifo: gr engine fault on channel 5, recovering...
Aug 6 10:46:15 vessel kernel: [313879.612853] nouveau 0000:01:00.0: fifo: PBDMA0: 01000000 [] ch 5 [007f337000 systemd-logind[580]] subc 0 mthd 0ff4 data 02c90000
Aug 6 10:46:15 vessel kernel: [313879.612870] nouveau 0000:01:00.0: fifo: PBDMA0: 01000000 [] ch 5 [007f337000 systemd-logind[580]] subc 0 mthd 0ff8 data 03620000

Debian Stretch

Linux vessel 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux

GNOME Shell 3.22.3

Wayland Session

[ 859.763] (II) LoadModule: "nouveau"
[ 859.763] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 859.763] (II) Module nouveau: vendor="X.Org Foundation"
[ 859.764] (II) [drm] nouveau interface version: 1.3.1
[ 859.764] (II) [drm] nouveau interface version: 1.3.1
[ 860.188] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
[ 860.188] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
[ 860.206] (II) NOUVEAU(1): [DRI2] DRI driver: nouveau
[ 860.206] (II) NOUVEAU(1): [DRI2] VDPAU driver: nouveau
[ 860.263] (II) AIGLX: Loaded and initialized nouveau
[ 860.285] (II) AIGLX: Loaded and initialized nouveau

Revision history for this message
Konstantin Janojlic (candysavage) wrote :

Has anyone managed to solve this?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.