[Nouveau] [Bug 103721] [GM107] Frequent freezes with nouveau on Thinkpad P50

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Mar 31 00:44:18 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=103721

--- Comment #12 from Goncalo Gomes <gagomes at gmail.com> ---
I've also been experiencing this for at least 2 to 3 years and would love to
help getting to the bottom of it. For a good while, this would only reproduce
every 15 - 40 days. Often during playing of videos, but recently it became 3 -
10 times per day. It's nigh on impossible to do anything productive anymore. 

I run Ubuntu 16.04.2 LTS, with the gnome-panel emulation (+ compiz); I notice
these hangs tend to reproduce far too easily when using anything that is hard
on graphics or makes good use of fullscreen. For example

* google-chrome
* atom
* mplayer / vlc


I am more than happy to help with identify the root cause of the issue as I
seem to be able to replicate it on demand. I'm happy to run developer debug
builds and provide as much input as possible.

>From today:

[Sat Mar 31 01:22:32 2018] nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a
[CTXSW_TIMEOUT]
[Sat Mar 31 01:22:32 2018] nouveau 0000:01:00.0: fifo: runlist 0: scheduled for
recovery
[Sat Mar 31 01:22:32 2018] nouveau 0000:01:00.0: fifo: channel 5: killed
[Sat Mar 31 01:22:32 2018] nouveau 0000:01:00.0: fifo: engine 7: scheduled for
recovery
[Sat Mar 31 01:22:32 2018] nouveau 0000:01:00.0: fifo: engine 0: scheduled for
recovery
[Sat Mar 31 01:22:32 2018] nouveau 0000:01:00.0: compiz[3120]: channel 5
killed!
[Sat Mar 31 01:22:39 2018] [drm:drm_atomic_helper_swap_state [drm_kms_helper]]
*ERROR* [CRTC:38:head-0] hw_done timed out
[Sat Mar 31 01:22:50 2018] [drm:drm_atomic_helper_wait_for_dependencies
[drm_kms_helper]] *ERROR* [CRTC:38:head-0] hw_done timed out
[Sat Mar 31 01:23:00 2018] [drm:drm_atomic_helper_wait_for_dependencies
[drm_kms_helper]] *ERROR* [CRTC:38:head-0] flip_done timed out
[Sat Mar 31 01:25:16 2018] INFO: task kworker/u16:0:21874 blocked for more than
120 seconds.
[Sat Mar 31 01:25:16 2018]       Not tainted 4.13.0-37-generic
#42~16.04.1-Ubuntu
[Sat Mar 31 01:25:16 2018] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[Sat Mar 31 01:25:16 2018] kworker/u16:0   D    0 21874      2 0x80000000
[Sat Mar 31 01:25:16 2018] Workqueue: events_unbound
nv50_disp_atomic_commit_work [nouveau]
[Sat Mar 31 01:25:16 2018] Call Trace:
[Sat Mar 31 01:25:16 2018]  __schedule+0x3d6/0x8b0
[Sat Mar 31 01:25:16 2018]  ? nvkm_ioctl_ntfy_get+0x69/0xb0 [nouveau]
[Sat Mar 31 01:25:16 2018]  schedule+0x36/0x80
[Sat Mar 31 01:25:16 2018]  schedule_timeout+0x1f3/0x360
[Sat Mar 31 01:25:16 2018]  ? nvkm_client_ioctl+0x12/0x20 [nouveau]
[Sat Mar 31 01:25:16 2018]  ? nvif_object_ioctl+0x47/0x50 [nouveau]
[Sat Mar 31 01:25:16 2018]  ? nouveau_bo_rd32+0x2a/0x30 [nouveau]
[Sat Mar 31 01:25:16 2018]  ? nv84_fence_read+0x2e/0x30 [nouveau]
[Sat Mar 31 01:25:16 2018]  dma_fence_default_wait+0x1c5/0x260
[Sat Mar 31 01:25:16 2018]  ? dma_fence_default_wait+0x1c5/0x260
[Sat Mar 31 01:25:16 2018]  ? dma_fence_free+0x20/0x20
[Sat Mar 31 01:25:16 2018]  dma_fence_wait_timeout+0x3f/0x100
[Sat Mar 31 01:25:16 2018]  drm_atomic_helper_wait_for_fences+0x40/0xc0
[drm_kms_helper]
[Sat Mar 31 01:25:16 2018]  nv50_disp_atomic_commit_tail+0x55/0x3b70 [nouveau]
[Sat Mar 31 01:25:16 2018]  nv50_disp_atomic_commit_work+0x12/0x20 [nouveau]
[Sat Mar 31 01:25:16 2018]  process_one_work+0x15b/0x410
[Sat Mar 31 01:25:16 2018]  worker_thread+0x4b/0x460
[Sat Mar 31 01:25:16 2018]  kthread+0x10c/0x140
[Sat Mar 31 01:25:16 2018]  ? process_one_work+0x410/0x410
[Sat Mar 31 01:25:16 2018]  ? kthread_create_on_node+0x70/0x70
[Sat Mar 31 01:25:16 2018]  ret_from_fork+0x35/0x40


root at darkside:/proc/21874# cat stack
[<ffffffff9104d575>] dma_fence_default_wait+0x1c5/0x260
[<ffffffff9104d06f>] dma_fence_wait_timeout+0x3f/0x100
[<ffffffffc0506ba0>] drm_atomic_helper_wait_for_fences+0x40/0xc0
[drm_kms_helper]
[<ffffffffc081f7a5>] nv50_disp_atomic_commit_tail+0x55/0x3b70 [nouveau]
[<ffffffffc08232d2>] nv50_disp_atomic_commit_work+0x12/0x20 [nouveau]
[<ffffffff90aa23ab>] process_one_work+0x15b/0x410
[<ffffffff90aa26ab>] worker_thread+0x4b/0x460
[<ffffffff90aa8b5c>] kthread+0x10c/0x140
[<ffffffff91400485>] ret_from_fork+0x35/0x40
[<ffffffffffffffff>] 0xffffffffffffffff

More than happy to help fixing this issue.

-- 
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/20180331/12ae19d4/attachment.html>


More information about the Nouveau mailing list