Bug 105940

Summary: Display freeze caused by nouveau
Product: xorg Reporter: Stefano Biagiotti <stefano.biagiotti>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: stefano.biagiotti
Version: 7.7 (2012.06)   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=1564759
https://bugs.freedesktop.org/show_bug.cgi?id=110572
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
journalctl -k -b -1 --no-pager --no-hostname
none
Output of journalctl -k -b -1 --no-pager --no-hostname
none
Output of journalctl -k -b -1 --no-pager --no-hostname
none
Output of journalctl -k -b -1 --no-pager --no-hostname none

Description Stefano Biagiotti 2018-04-07 12:57:19 UTC
Created attachment 138676 [details]
journalctl -k -b -1 --no-pager --no-hostname

On my Fedora 27 system, display often freezes unpredictably. Mouse and keyboard don't work, but system is pingable and I can login using ssh.

I actually use kernel-4.15.14-300.fc27.x86_64, xorg-x11-drv-nouveau-1.0.15-3.fc27.x86_64. 

I have two monitors connected to the display adapter. Hardware is (from lspci):
01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 320] (rev a2)

Excerpt of journalctl (full journalctl in attachment):

apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH TLB flush idle timeout fail
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_STATUS 00be0003 [BUSY DISPATCH ENG2D RMASK TPC_RAST TPC_PROP TPC_TEX TPC_MP]
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS0: 00000000 []
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS1: 0000106d [TPC_TEX TPC_MP]
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS2: 00148000 [ENG2D]
apr 07 12:51:35 kernel: ------------[ cut here ]------------
apr 07 12:51:35 kernel: nouveau 0000:01:00.0: timeout
apr 07 12:51:35 kernel: WARNING: CPU: 3 PID: 1929 at drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c:171 g84_gr_tlb_flush+0x2ce/0x360 [nouveau]
a
Comment 1 Stefano Biagiotti 2018-04-15 12:26:55 UTC
Created attachment 138846 [details]
Output of journalctl -k -b -1 --no-pager --no-hostname

Bug still present with kernel-4.15.15-300.fc27.x86_64.
Comment 2 Stefano Biagiotti 2018-04-21 07:51:23 UTC
Created attachment 138975 [details]
Output of journalctl -k -b -1 --no-pager --no-hostname

Bug still present with kernel-4.15.17-300.fc27.x86_64.
Comment 3 Stefano Biagiotti 2019-11-10 20:51:48 UTC
Created attachment 145931 [details]
Output of journalctl -k -b -1 --no-pager --no-hostname

Bug still present with kernel-5.3.8-200.fc30.x86_64.

$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 320] (rev a2)

Excerpt of attachment.

nov 10 17:50:06 kernel: nouveau 0000:01:00.0: NVIDIA GT215 (0a3100a2)
nov 10 17:50:06 kernel: nouveau 0000:01:00.0: bios: version 70.15.27.00.06
nov 10 17:50:06 kernel: nouveau 0000:01:00.0: fb: 1024 MiB DDR3

[...]

nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 0: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 1: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 2: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: 00200000 [] ch 6 [003f5b8000 systemd-logind[906]] subc 3 class 8597 mthd 1b0c data 1000f010
nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 0: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 1: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 2: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:32 kernel: nouveau 0000:01:00.0: gr: 00200000 [] ch 6 [003f5b8000 systemd-logind[906]] subc 3 class 8597 mthd 1b0c data 1000f010

[...]

nov 10 18:11:34 kernel: nouveau 0000:01:00.0: gr: 00200000 [] ch 6 [003f5b8000 systemd-logind[906]] subc 3 class 8597 mthd 1b0c data 1000f010
nov 10 18:11:34 kernel: nouveau 0000:01:00.0: gr: PGRAPH TLB flush idle timeout fail
nov 10 18:11:34 kernel: nouveau 0000:01:00.0: gr: PGRAPH_STATUS 01bffd01 [BUSY CTXPROG CCACHE_PREGEOM STRMOUT_VATTR_POSTGEOM VCLIP RATTR_APLANE TRAST CLIPID ZCULL ENG2D RMASK TPC_RAST TPC_PROP TPC_TEX ]
nov 10 18:11:34 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS0: 00045008 [CCACHE VCLIP]
nov 10 18:11:34 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS1: 0000106d [TPC_TEX TPC_MP]
nov 10 18:11:34 kernel: nouveau 0000:01:00.0: gr: PGRAPH_VSTATUS2: 0034db43 [ENG2D ROP]

[...]

nov 10 18:11:36 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 0: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:36 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 1: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:36 kernel: nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 1 MP 2: 00000008 [TIMEOUT] at 07ff20 warp 31, opcode 82020814 c0010a04
nov 10 18:11:36 kernel: nouveau 0000:01:00.0: gr: 00200000 [] ch 6 [003f5b8000 systemd-logind[906]] subc 3 class 8597 mthd 1b0c data 1000f010
nov 10 18:11:36 kernel: ------------[ cut here ]------------
nov 10 18:11:36 kernel: nouveau 0000:01:00.0: timeout
nov 10 18:11:36 kernel: WARNING: CPU: 1 PID: 2384 at drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c:168 g84_gr_tlb_flush+0x2e2/0x2f0 [nouveau]
Comment 4 Martin Peres 2019-12-04 09:37:52 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/421.

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.