bugzilla-daemon at freedesktop.org
2017-Jan-05 19:48 UTC
[Nouveau] [Bug 99289] New: Display freezes after "gr: TRAP ch 6"
https://bugs.freedesktop.org/show_bug.cgi?id=99289 Bug ID: 99289 Summary: Display freezes after "gr: TRAP ch 6" Product: xorg Version: unspecified Hardware: Other OS: All Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau at lists.freedesktop.org Reporter: afn2 at cornell.edu QA Contact: xorg-team at lists.x.org Created attachment 128783 --> https://bugs.freedesktop.org/attachment.cgi?id=128783&action=edit dmesg showing error Intermittently (a few times a day), my display will completely freeze and doesn't recover. Although the kernel doesn't hang and I can ssh in, I can't chvt to a non-graphical VT. Whenever this occurs, I see a message like this in dmesg: [12535.260195] nouveau 0000:01:00.0: gr: TRAP ch 6 [007f778000 Xwayland[854]] [12535.260211] nouveau 0000:01:00.0: gr: GPC0/TPC1/MP trap: global 00000000 [] warp 3d0001 [STACK_ERROR] [12539.595312] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT] [12539.595318] nouveau 0000:01:00.0: fifo: gr engine fault on channel 5, recovering... Despite the "recovering..." message it never actually recovers and only a reboot solves the problem. I'm using GNOME on Wayland, and I'm typically running gnome-terminal, Firefox, and/or Chromium. So far I haven't identified any specific action that triggers this failure. My computer is a mid-2014 Macbook Pro with a GeForce 750M (GK107). I'm running nouveau with "nouveau.nofbaccel=1". I've tried adding "nouveau.config=NvGrUseFW=1" but it complains about not finding /lib/firmware/nvidia/gk107/fecs_inst.bin. Is there an external firmware blob available for this card? I recently updated my kernel and several relevant packages, and have seen no difference in behavior. I'm running linux 4.9.0, and the latest version of mesa from git (36b5f1d200). See my attached dmesg output. Is there any debug flag I can enable to shed more light on the situation? Thanks! Tony -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170105/cf392326/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jan-05 20:00 UTC
[Nouveau] [Bug 99289] Display freezes after "gr: TRAP ch 6"
https://bugs.freedesktop.org/show_bug.cgi?id=99289 --- Comment #1 from Ilia Mirkin <imirkin at alum.mit.edu> --- To answer your immediate question about firmware, you can get blob firmware by following the insturctions at https://nouveau.freedesktop.org/wiki/VideoAcceleration/#firmware to the letter. Unfortunately I think that linux 4.9 wants some of these to be renamed, but there's a patch to fix it to look for the "old" names as well: https://github.com/skeggsb/linux/commit/e137040e0d0376b404fc5155eba44ea07126e3bd.patch Should be included in a later 4.9.x release. However I'm only aware of the blob firmware fixing issues for some GTX 660 owners. nofbaccel=1 is unlikely to be of much help - that disables acceleration of the fbdev device for your terminals. Note that there are additional patches in Linux 4.10-rc1+ which are likely to improve stability, such as https://github.com/skeggsb/linux/commit/b27add13f500469127afdf011dbcc9c649e16e54.patch and you might also want this one, although it'll be a little annoying to apply to upstream tree: https://github.com/skeggsb/nouveau/commit/b3816f34944ad4824d345b98c323a30710f492d4.patch -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170105/ce02d3fa/attachment.html>
bugzilla-daemon at freedesktop.org
2017-Jan-05 20:28 UTC
[Nouveau] [Bug 99289] Display freezes after "gr: TRAP ch 6"
https://bugs.freedesktop.org/show_bug.cgi?id=99289 --- Comment #2 from afn2 at cornell.edu --- Thanks for the quick reply! That's all very informative, especially the bit about the firmware filenames. (I was wondering why the filenames in /lib/firmware/nouveau were so different from the ones in /lib/firmware/nvidia!) I'll give those patches a shot and follow up with an update soon. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20170105/c1ee6276/attachment.html>
bugzilla-daemon at freedesktop.org
2019-Dec-04 09:22 UTC
[Nouveau] [Bug 99289] Display freezes after "gr: TRAP ch 6"
https://bugs.freedesktop.org/show_bug.cgi?id=99289 Martin Peres <martin.peres at free.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |MOVED Status|NEW |RESOLVED --- Comment #3 from Martin Peres <martin.peres at free.fr> --- -- 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/313. -- You are receiving this mail because: You are the assignee for the bug. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20191204/951c7016/attachment.html>
Seemingly Similar Threads
- [Bug 95054] New: KDE 5 / Plasma crashes with nouveau "fifo: gr engine fault on channel 2, recovering" or "gr: TRAP ch 2"
- [Bug 99954] New: Errors when using VirtualBox with 3D acceleration: gr: ILLEGAL_CLASS ch 6 [007f7f8000 VirtualBox[5063]] subc 0 class c000 mthd 2390 data 00000000
- [Bug 79611] New: [NVC0] TRAP ch 4 [0x003fa28000 bzflag]
- [PATCH] drm/nv50/gr: decode texture trap status code
- [Bug 106077] New: gr: TRAP DISPATCH_QUERY