Bug 110748

Summary: [NVC1] [optimus] fifo: read fault at 0000000000 engine 00 [PGRAPH] client 00 [] reason 02 [PAGE_NOT_PRESENT]
Product: xorg Reporter: Dominik 'Rathann' Mierzejewski <dominik>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Dominik 'Rathann' Mierzejewski 2019-05-23 17:10:11 UTC
When trying to play a video using mpv with VDPAU hardware acceleration on a GF108M/GeForce GT 525M (second GPU in Optimus configuration on this machine):

DRI_PRIME=1 mpv -vo=gpu --hwdec=vdpau any_h264_video.mp4

Xorg starts using 100% of one core and the following can be seen in the logs:

May 21 14:41:21 kernel: nouveau 0000:01:00.0: fifo: read fault at 0000000000 engine 00 [PGRAPH] client 00 [] reason 02 [PAGE_NOT_PRESENT] on channel 2 [003fc12000 Xorg[2935]]
May 21 14:41:21 kernel: nouveau 0000:01:00.0: fifo: gr engine fault on channel 2, recovering...
May 21 14:41:21 kernel: nouveau 0000:01:00.0: fifo: INTR 00800000
May 21 14:41:21 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:21 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
[...]
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: ------------[ cut here ]------------
May 21 14:41:25 kernel: nouveau 0000:01:00.0: timeout
May 21 14:41:25 kernel: WARNING: CPU: 0 PID: 5655 at drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c:82 gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 21 14:41:25 kernel: Modules linked in: nouveau mxm_wmi ttm sunrpc fuse snd_hda_codec_hdmi uvcvideo videobuf2_vmalloc videobuf2_memops snd_hda_codec_realtek arc4 videobuf2_v4l2 snd_hda_codec_generic intel_rapl videobuf2_common snd_hd>
May 21 14:41:25 kernel: CPU: 0 PID: 5655 Comm: mpv Not tainted 5.0.16-300.fc30.x86_64 #1
May 21 14:41:25 kernel: Hardware name: Dell Inc.          Dell System XPS L502X/0YR8NN, BIOS A06 07/20/2011
May 21 14:41:25 kernel: RIP: 0010:gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 21 14:41:25 kernel: Code: 40 10 48 8b 78 10 48 8b 6f 50 48 85 ed 75 04 48 8b 6f 10 e8 62 b7 71 e0 48 89 ea 48 c7 c7 62 19 04 c1 48 89 c6 e8 1f 9a 1c e0 <0f> 0b 41 8b 45 48 85 c0 75 1e 4c 89 ff 41 bd 92 ff ff ff e8 f8 ce
May 21 14:41:25 kernel: RSP: 0018:ffffbad7025dfc78 EFLAGS: 00010286
May 21 14:41:25 kernel: RAX: 0000000000000000 RBX: ffffa034f1a0e000 RCX: 0000000000000006
May 21 14:41:25 kernel: RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffffa035ba2168c0
May 21 14:41:25 kernel: RBP: ffffa035b8f8df10 R08: 0000000000000001 R09: 00000000000012e7
May 21 14:41:25 kernel: R10: 000000000003bc20 R11: 0000000000000003 R12: 0000000000000250
May 21 14:41:25 kernel: R13: ffffa035a3bebc00 R14: ffffa0351beac600 R15: ffffa035a3bebc28
May 21 14:41:25 kernel: FS:  00007f4949f3af00(0000) GS:ffffa035ba200000(0000) knlGS:0000000000000000
May 21 14:41:25 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 21 14:41:25 kernel: CR2: 00007fd899fcf700 CR3: 0000000072bc2001 CR4: 00000000000606f0
May 21 14:41:25 kernel: Call Trace:
May 21 14:41:25 kernel:  nvkm_fifo_chan_child_fini+0x62/0xe0 [nouveau]
May 21 14:41:25 kernel:  nvkm_oproxy_fini+0x2c/0x90 [nouveau]
May 21 14:41:25 kernel:  nvkm_object_fini+0xbc/0x150 [nouveau]
May 21 14:41:25 kernel:  nvkm_ioctl_del+0x2f/0x50 [nouveau]
May 21 14:41:25 kernel:  nvkm_ioctl+0xde/0x180 [nouveau]
May 21 14:41:25 kernel:  ? nvkm_ioctl+0x71/0x180 [nouveau]
May 21 14:41:25 kernel:  usif_ioctl+0x33d/0x700 [nouveau]
May 21 14:41:25 kernel:  nouveau_drm_ioctl+0xa8/0xb0 [nouveau]
May 21 14:41:25 kernel:  do_vfs_ioctl+0x405/0x660
May 21 14:41:25 kernel:  ksys_ioctl+0x5e/0x90
May 21 14:41:25 kernel:  __x64_sys_ioctl+0x16/0x20
May 21 14:41:25 kernel:  do_syscall_64+0x5b/0x170
May 21 14:41:25 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 21 14:41:25 kernel: RIP: 0033:0x7f494f39f03b
May 21 14:41:25 kernel: Code: 0f 1e fa 48 8b 05 4d de 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1d de 0c 00 f7 d8 64 89 01 48
May 21 14:41:25 kernel: RSP: 002b:00007ffeba992ae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 21 14:41:25 kernel: RAX: ffffffffffffffda RBX: 00007ffeba992b30 RCX: 00007f494f39f03b
May 21 14:41:25 kernel: RDX: 00007ffeba992b30 RSI: 00000000c0186447 RDI: 0000000000000010
May 21 14:41:25 kernel: RBP: 00000000c0186447 R08: 0000000000000000 R09: 0000000000000007
May 21 14:41:25 kernel: R10: 000055983dd90bb0 R11: 0000000000000246 R12: 0000000000000003
May 21 14:41:25 kernel: R13: 0000000000000010 R14: 000055983db62db8 R15: 000055983db62db8
May 21 14:41:25 kernel: ---[ end trace c64308a1ea709e8f ]---
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: channel 4 [mpv/vo[5662]] kick timeout
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau: mpv/vo[5662]:00000000:0000906f: detach mspdec failed, -110
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
May 21 14:41:25 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
[...]
May 21 14:41:27 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:27 kernel: ------------[ cut here ]------------
May 21 14:41:27 kernel: nouveau 0000:01:00.0: timeout
May 21 14:41:27 kernel: WARNING: CPU: 2 PID: 5655 at drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c:82 gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 21 14:41:27 kernel: Modules linked in: nouveau mxm_wmi ttm sunrpc fuse snd_hda_codec_hdmi uvcvideo videobuf2_vmalloc videobuf2_memops snd_hda_codec_realtek arc4 videobuf2_v4l2 snd_hda_codec_generic intel_rapl videobuf2_common snd_hd>
May 21 14:41:27 kernel: CPU: 2 PID: 5655 Comm: mpv Tainted: G        W         5.0.16-300.fc30.x86_64 #1
May 21 14:41:27 kernel: Hardware name: Dell Inc.          Dell System XPS L502X/0YR8NN, BIOS A06 07/20/2011
May 21 14:41:27 kernel: RIP: 0010:gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 21 14:41:27 kernel: Code: 40 10 48 8b 78 10 48 8b 6f 50 48 85 ed 75 04 48 8b 6f 10 e8 62 b7 71 e0 48 89 ea 48 c7 c7 62 19 04 c1 48 89 c6 e8 1f 9a 1c e0 <0f> 0b 41 8b 45 48 85 c0 75 1e 4c 89 ff 41 bd 92 ff ff ff e8 f8 ce
May 21 14:41:27 kernel: RSP: 0018:ffffbad7025dfc78 EFLAGS: 00010286
May 21 14:41:27 kernel: RAX: 0000000000000000 RBX: ffffa034f1a0e000 RCX: 0000000000000006
May 21 14:41:27 kernel: RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffffa035ba2968c0
May 21 14:41:27 kernel: RBP: ffffa035b8f8df10 R08: 0000000000000001 R09: 000000000000192d
May 21 14:41:27 kernel: R10: 0000000000026020 R11: 0000000000000003 R12: 0000000000000260
May 21 14:41:27 kernel: R13: ffffa035a3bebc00 R14: ffffa0351beac600 R15: ffffa035a3bebc28
May 21 14:41:27 kernel: FS:  00007f4949f3af00(0000) GS:ffffa035ba280000(0000) knlGS:0000000000000000
May 21 14:41:27 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 21 14:41:27 kernel: CR2: 00007fd89c139000 CR3: 0000000072bc2002 CR4: 00000000000606e0
May 21 14:41:27 kernel: Call Trace:
May 21 14:41:27 kernel:  nvkm_fifo_chan_child_fini+0x62/0xe0 [nouveau]
May 21 14:41:27 kernel:  nvkm_oproxy_fini+0x2c/0x90 [nouveau]
May 21 14:41:27 kernel:  nvkm_object_fini+0xbc/0x150 [nouveau]
May 21 14:41:27 kernel:  nvkm_ioctl_del+0x2f/0x50 [nouveau]
May 21 14:41:27 kernel:  nvkm_ioctl+0xde/0x180 [nouveau]
May 21 14:41:27 kernel:  ? nvkm_ioctl+0x71/0x180 [nouveau]
May 21 14:41:27 kernel:  usif_ioctl+0x33d/0x700 [nouveau]
May 21 14:41:27 kernel:  nouveau_drm_ioctl+0xa8/0xb0 [nouveau]
May 21 14:41:27 kernel:  do_vfs_ioctl+0x405/0x660
May 21 14:41:27 kernel:  ksys_ioctl+0x5e/0x90
May 21 14:41:27 kernel:  __x64_sys_ioctl+0x16/0x20
May 21 14:41:27 kernel:  do_syscall_64+0x5b/0x170
May 21 14:41:27 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 21 14:41:27 kernel: RIP: 0033:0x7f494f39f03b
May 21 14:41:27 kernel: Code: 0f 1e fa 48 8b 05 4d de 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1d de 0c 00 f7 d8 64 89 01 48
May 21 14:41:27 kernel: RSP: 002b:00007ffeba992ae8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 21 14:41:27 kernel: RAX: ffffffffffffffda RBX: 00007ffeba992b30 RCX: 00007f494f39f03b
May 21 14:41:27 kernel: RDX: 00007ffeba992b30 RSI: 00000000c0186447 RDI: 0000000000000010
May 21 14:41:27 kernel: RBP: 00000000c0186447 R08: 0000000000000000 R09: 0000000000000007
May 21 14:41:27 kernel: R10: 000055983dd90bb0 R11: 0000000000000246 R12: 0000000000000003
May 21 14:41:27 kernel: R13: 0000000000000010 R14: 000055983db62db8 R15: 000055983db62db8
May 21 14:41:27 kernel: ---[ end trace c64308a1ea709e90 ]---
May 21 14:41:27 kernel: nouveau 0000:01:00.0: fifo: channel 4 [mpv/vo[5662]] kick timeout
May 21 14:41:27 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
May 21 14:41:27 kernel: nouveau: mpv/vo[5662]:00000000:0000906f: detach msppp failed, -110
May 21 14:41:27 kernel: nouveau 0000:01:00.0: fifo: INTR 00010000: 00000002
[...]
and so on.

Machine can be gracefully shut down, though it takes a while. Other than that it becomes almost unusable due to high CPU usage by Xorg.
Comment 1 Ilia Mirkin 2019-05-23 17:14:40 UTC
Is there a -vo=vdpau? If so, that's likely to work better. I suspect vo=gpu becomes GL, and GL + vdpau in separate threads = disaster.
Comment 2 Dominik 'Rathann' Mierzejewski 2019-05-23 23:09:05 UTC
(In reply to Ilia Mirkin from comment #1)
> Is there a -vo=vdpau? If so, that's likely to work better. I suspect vo=gpu
> becomes GL, and GL + vdpau in separate threads = disaster.

Thanks for the tip, but with --vo=vdpau, it's still misbehaving, only a bit different. It displays garbage instead of correct picture in the video window and then times out:

May 23 22:55:37 kernel: Asynchronous wait on fence nouveau:Xorg[849]:b73fb550 timed out (hint:submit_notify+0x0/0x54 [i915])
May 23 22:55:38 kernel: nouveau 0000:01:00.0: mpv/vo[2433]: failed to idle channel 4 [mpv/vo[2433]]
May 23 22:55:48 kernel: Asynchronous wait on fence nouveau:Xorg[849]:b73fb551 timed out (hint:submit_notify+0x0/0x54 [i915])
May 23 22:55:53 kernel: nouveau 0000:01:00.0: mpv/vo[2433]: failed to idle channel 4 [mpv/vo[2433]]
May 23 22:55:55 kernel: nouveau 0000:01:00.0: fifo: runlist update timeout
May 23 22:55:55 kernel: nouveau 0000:01:00.0: fifo: INTR 00000001: 0000000b
May 23 22:55:55 kernel: nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
May 23 22:55:57 kernel: nouveau 0000:01:00.0: fifo: runlist update timeout
May 23 22:58:10 kernel: nouveau 0000:01:00.0: mpv/vo[2619]: failed to idle channel 4 [mpv/vo[2619]]
May 23 22:58:25 kernel: nouveau 0000:01:00.0: mpv/vo[2619]: failed to idle channel 4 [mpv/vo[2619]]
May 23 22:58:27 kernel: nouveau 0000:01:00.0: fifo: runlist update timeout
May 23 22:58:27 kernel: nouveau 0000:01:00.0: fifo: INTR 00000001: 0000000b
May 23 22:59:28 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 22:59:28 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
[...]
May 23 23:01:02 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:02 kernel: ------------[ cut here ]------------
May 23 23:01:02 kernel: nouveau 0000:01:00.0: timeout
May 23 23:01:02 kernel: WARNING: CPU: 1 PID: 2619 at drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c:82 gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 23 23:01:02 kernel: Modules linked in: sunrpc fuse uvcvideo arc4 videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 iwldvm videobuf2_common snd_hda_codec_hdmi mac80211 videodev snd_hda_codec_realtek media snd_hda_codec_generic snd_hd>
May 23 23:01:02 kernel: CPU: 1 PID: 2619 Comm: mpv/vo Not tainted 5.0.16-300.fc30.x86_64 #1
May 23 23:01:02 kernel: Hardware name: Dell Inc.          Dell System XPS L502X/0YR8NN, BIOS A06 07/20/2011
May 23 23:01:02 kernel: RIP: 0010:gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 23 23:01:02 kernel: Code: 40 10 48 8b 78 10 48 8b 6f 50 48 85 ed 75 04 48 8b 6f 10 e8 62 47 fe d8 48 89 ea 48 c7 c7 62 89 77 c0 48 89 c6 e8 1f 2a a9 d8 <0f> 0b 41 8b 45 48 85 c0 75 1e 4c 89 ff 41 bd 92 ff ff ff e8 f8 5e
May 23 23:01:02 kernel: RSP: 0018:ffffbc5588733c78 EFLAGS: 00010286
May 23 23:01:02 kernel: RAX: 0000000000000000 RBX: ffff90b43623c000 RCX: 0000000000000006
May 23 23:01:02 kernel: RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff90b43a4568c0
May 23 23:01:02 kernel: RBP: ffff90b43938dec0 R08: 0000000000000001 R09: 0000000000000628
May 23 23:01:02 kernel: R10: 0000000000025628 R11: 0000000000000003 R12: 0000000000000210
May 23 23:01:02 kernel: R13: ffff90b4328f8000 R14: ffff90b433463480 R15: ffff90b4328f8028
May 23 23:01:02 kernel: FS:  00007f383e522700(0000) GS:ffff90b43a440000(0000) knlGS:0000000000000000
May 23 23:01:02 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 23 23:01:02 kernel: CR2: 00007ffb9c3ce810 CR3: 000000010c14a003 CR4: 00000000000606e0
May 23 23:01:02 kernel: Call Trace:
May 23 23:01:02 kernel:  nvkm_fifo_chan_child_fini+0x62/0xe0 [nouveau]
May 23 23:01:02 kernel:  nvkm_oproxy_fini+0x2c/0x90 [nouveau]
May 23 23:01:02 kernel:  nvkm_object_fini+0xbc/0x150 [nouveau]
May 23 23:01:02 kernel:  nvkm_ioctl_del+0x2f/0x50 [nouveau]
May 23 23:01:02 kernel:  nvkm_ioctl+0xde/0x180 [nouveau]
May 23 23:01:02 kernel:  ? current_time+0x31/0x80
May 23 23:01:02 kernel:  usif_ioctl+0x33d/0x700 [nouveau]
May 23 23:01:02 kernel:  nouveau_drm_ioctl+0xa8/0xb0 [nouveau]
May 23 23:01:02 kernel:  do_vfs_ioctl+0x405/0x660
May 23 23:01:02 kernel:  ? __fput+0x154/0x220
May 23 23:01:02 kernel:  ksys_ioctl+0x5e/0x90
May 23 23:01:02 kernel:  __x64_sys_ioctl+0x16/0x20
May 23 23:01:02 kernel:  do_syscall_64+0x5b/0x170
May 23 23:01:02 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 23 23:01:02 kernel: RIP: 0033:0x7f384636b03b
May 23 23:01:02 kernel: Code: 0f 1e fa 48 8b 05 4d de 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1d de 0c 00 f7 d8 64 89 01 48
May 23 23:01:02 kernel: RSP: 002b:00007f383e521448 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 23 23:01:02 kernel: RAX: ffffffffffffffda RBX: 00007f383e521490 RCX: 00007f384636b03b
May 23 23:01:02 kernel: RDX: 00007f383e521490 RSI: 00000000c0186447 RDI: 0000000000000010
May 23 23:01:02 kernel: RBP: 00000000c0186447 R08: 0000000000000000 R09: 0000000000000007
May 23 23:01:02 kernel: R10: 00007f3828317288 R11: 0000000000000246 R12: 00007f3828360b20
May 23 23:01:02 kernel: R13: 0000000000000010 R14: 000055d8fb40ac18 R15: 000055d8fc826d44
May 23 23:01:02 kernel: ---[ end trace ee9484a5eb356969 ]---
May 23 23:01:02 kernel: nouveau 0000:01:00.0: fifo: channel 3 [mpv/vo[2619]] kick timeout
May 23 23:01:02 kernel: nouveau: mpv/vo[2619]:00000000:0000906f: detach gr failed, -110
May 23 23:01:02 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
[...]
May 23 23:01:04 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:04 kernel: ------------[ cut here ]------------
May 23 23:01:04 kernel: nouveau 0000:01:00.0: timeout
May 23 23:01:04 kernel: WARNING: CPU: 0 PID: 2619 at drivers/gpu/drm/nouveau/nvkm/engine/fifo/gpfifogf100.c:82 gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 23 23:01:04 kernel: Modules linked in: sunrpc fuse uvcvideo arc4 videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 iwldvm videobuf2_common snd_hda_codec_hdmi mac80211 videodev snd_hda_codec_realtek media snd_hda_codec_generic snd_hd>
May 23 23:01:04 kernel: CPU: 0 PID: 2619 Comm: mpv/vo Tainted: G        W         5.0.16-300.fc30.x86_64 #1
May 23 23:01:04 kernel: Hardware name: Dell Inc.          Dell System XPS L502X/0YR8NN, BIOS A06 07/20/2011
May 23 23:01:04 kernel: RIP: 0010:gf100_fifo_gpfifo_engine_fini+0x160/0x1c0 [nouveau]
May 23 23:01:04 kernel: Code: 40 10 48 8b 78 10 48 8b 6f 50 48 85 ed 75 04 48 8b 6f 10 e8 62 47 fe d8 48 89 ea 48 c7 c7 62 89 77 c0 48 89 c6 e8 1f 2a a9 d8 <0f> 0b 41 8b 45 48 85 c0 75 1e 4c 89 ff 41 bd 92 ff ff ff e8 f8 5e
May 23 23:01:04 kernel: RSP: 0018:ffffbc5588733c78 EFLAGS: 00010286
May 23 23:01:04 kernel: RAX: 0000000000000000 RBX: ffff90b43623c000 RCX: 0000000000000006
May 23 23:01:04 kernel: RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff90b43a4168c0
May 23 23:01:04 kernel: RBP: ffff90b43938dec0 R08: 0000000000000001 R09: 000000000000065d
May 23 23:01:04 kernel: R10: 0000000000026a40 R11: 0000000000000003 R12: 0000000000000000
May 23 23:01:04 kernel: R13: ffff90b4328f8000 R14: ffff90b433463480 R15: ffff90b4328f8028
May 23 23:01:04 kernel: FS:  00007f383e522700(0000) GS:ffff90b43a400000(0000) knlGS:0000000000000000
May 23 23:01:04 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 23 23:01:04 kernel: CR2: 00007ffb9c267dc0 CR3: 000000010c14a001 CR4: 00000000000606f0
May 23 23:01:04 kernel: Call Trace:
May 23 23:01:04 kernel:  nvkm_fifo_chan_child_fini+0x62/0xe0 [nouveau]
May 23 23:01:04 kernel:  nvkm_oproxy_fini+0x2c/0x90 [nouveau]
May 23 23:01:04 kernel:  nvkm_object_fini+0xbc/0x150 [nouveau]
May 23 23:01:04 kernel:  nvkm_ioctl_del+0x2f/0x50 [nouveau]
May 23 23:01:04 kernel:  nvkm_ioctl+0xde/0x180 [nouveau]
May 23 23:01:04 kernel:  ? current_time+0x31/0x80
May 23 23:01:04 kernel:  usif_ioctl+0x33d/0x700 [nouveau]
May 23 23:01:04 kernel:  nouveau_drm_ioctl+0xa8/0xb0 [nouveau]
May 23 23:01:04 kernel:  do_vfs_ioctl+0x405/0x660
May 23 23:01:04 kernel:  ? __fput+0x154/0x220
May 23 23:01:04 kernel:  ksys_ioctl+0x5e/0x90
May 23 23:01:04 kernel:  __x64_sys_ioctl+0x16/0x20
May 23 23:01:04 kernel:  do_syscall_64+0x5b/0x170
May 23 23:01:04 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
May 23 23:01:04 kernel: RIP: 0033:0x7f384636b03b
May 23 23:01:04 kernel: Code: 0f 1e fa 48 8b 05 4d de 0c 00 64 c7 00 26 00 00 00 48 c7 c0 ff ff ff ff c3 66 0f 1f 44 00 00 f3 0f 1e fa b8 10 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 1d de 0c 00 f7 d8 64 89 01 48
May 23 23:01:04 kernel: RSP: 002b:00007f383e521448 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
May 23 23:01:04 kernel: RAX: ffffffffffffffda RBX: 00007f383e521490 RCX: 00007f384636b03b
May 23 23:01:04 kernel: RDX: 00007f383e521490 RSI: 00000000c0186447 RDI: 0000000000000010
May 23 23:01:04 kernel: RBP: 00000000c0186447 R08: 0000000000000000 R09: 0000000000000007
May 23 23:01:04 kernel: R10: 00007f3828317288 R11: 0000000000000246 R12: 00007f3828360b20
May 23 23:01:04 kernel: R13: 0000000000000010 R14: 000055d8fb40ac18 R15: 000055d8fc826d44
May 23 23:01:04 kernel: ---[ end trace ee9484a5eb35696a ]---
May 23 23:01:04 kernel: nouveau 0000:01:00.0: fifo: channel 3 [mpv/vo[2619]] kick timeout
May 23 23:01:04 kernel: nouveau: mpv/vo[2619]:00000000:0000906f: detach sw failed, -110
May 23 23:01:04 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
[...]
May 23 23:01:19 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:19 kernel: nouveau 0000:01:00.0: mpv/vo[2619]: failed to idle channel 3 [mpv/vo[2619]]
May 23 23:01:19 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
[...]
May 23 23:01:34 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:34 kernel: nouveau 0000:01:00.0: mpv/vo[2619]: failed to idle channel 3 [mpv/vo[2619]]
May 23 23:01:34 kernel: nouveau 0000:01:00.0: fifo: SCHED_ERROR 0d []
May 23 23:01:35 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:35 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:35 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:35 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:36 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:36 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:36 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
May 23 23:01:36 kernel: nouveau 0000:01:00.0: fifo: runlist update timeout
May 23 23:01:37 kernel: nouveau 0000:01:00.0: Xorg[849]: nv50cal_space: -16
[...]

I will try mplayer next.
Comment 3 Dominik 'Rathann' Mierzejewski 2019-05-24 15:48:27 UTC
With
mplayer -vo vdpau -vc ffh264vdpau
I don't get a corrupted video, but I get the same errors as with
mpv --vo=vdpau --hwdec=vdpau
kernel-5.0.16-300.fc30.x86_64
libdrm-2.4.98-1.fc30.x86_64
libvdpau-1.2-1.fc30.x86_64
mpv-0.29.1-5.fc30.x86_64
mplayer-1.4-1.fc30.x86_64
xorg-x11-drv-nouveau-1.0.15-7.fc30.x86_64
ffmpeg-4.1.3-2.fc30.x86_64
Comment 4 Martin Peres 2019-12-04 09:49:46 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/487.

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.