Bug 89572

Summary: [NV86] Video playback corruption with nouveau, vdpau
Product: xorg Reporter: Matthias Blankertz <matthias>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: sebastien.picavet
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
screenshot of corrupted video
none
dmesg w/ errors
none
output of vdpauinfo
none
contents of Xorg.0.log none

Description Matthias Blankertz 2015-03-13 18:36:41 UTC
Created attachment 114290 [details]
screenshot of corrupted video

Using archlinux x86_64 with the current mainline kernel (4.0rc3), xorg 1.17.1, mesa-vdpau 10.4.6, nouveau-fw 325.15, xf86-video-nouveau 1.0.11.

Playing back a h264 video file (test file big buck bunny, http://blender-mirror.kino3d.org/peach/bigbuckbunny_movies/big_buck_bunny_720p_h264.mov) causes major graphical corruption in the video playback (see attachment). Several errors appear in the kernel log. The playback is done using "mplayer -vo vdpau -vc ffh264vdpau -fs".   (mplayer 37379)

Playing back the same file without acceleration ("mplayer -vo vdpau -fs") works perfectly.

I have had similiar problems in the past, so this is (probably) not a new problem of the current 4.0 development kernel.
Comment 1 Matthias Blankertz 2015-03-13 18:37:08 UTC
Created attachment 114291 [details]
dmesg w/ errors
Comment 2 Matthias Blankertz 2015-03-13 18:37:41 UTC
Created attachment 114292 [details]
output of vdpauinfo
Comment 3 Matthias Blankertz 2015-03-13 18:42:54 UTC
Created attachment 114293 [details]
contents of Xorg.0.log
Comment 4 Matthias Blankertz 2015-03-13 18:43:46 UTC
The machine on which the error occurs is a Thinkpad T61 with a Nvidia Quadro NVS140M GPU w/ 128 MiB of video memory.
Comment 5 Ilia Mirkin 2015-03-13 18:49:34 UTC
Unlikely that the errors are related to the corruption, but... possible. There has always been some corruption in some h264 videos with VP2, but your screenshot is rather extreme -- the one I'm thinking of is a few macroblocks being wrong. For you it's like *all* macroblocks being wrong :) FTR your sample video displays fine on my VP4.2 GF108 (nvc1).

Unfortunately I don't really have the {time,motivation,interest,your-choice-of-excuse} to track this down, but if that's something you'd be interested in, come over to #nouveau on freenode for some advice on how to proceed.
Comment 6 Sébastien P. 2015-03-21 17:33:46 UTC
Same thing on NV96.

Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 0 - RT_FAULT - Address 002048c080
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 07a40020, e20: 00001100, e24: 00030000
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 1 - RT_FAULT - Address 002048c0c0
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 1 - e0c: 00000000, e18: 00000000, e1c: 07a40030, e20: 00001100, e24: 00030000
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] ch 6 [0x001f622000 mplayer[21538]] subc 3 class 0x8297 mthd 0x1b0c data 0x1000f010
Mar 21 18:13:20 fixe kernel: nouveau E[     PFB][0000:02:00.0] trapped write at 0x002048c0c0 on channel 0x0001f622 [mplayer[21538]] PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 0 - RT_FAULT - Address 002047c080
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 06a40020, e20: 00001100, e24: 00030000
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 1 - RT_FAULT - Address 002047c0c0
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 1 - e0c: 00000000, e18: 00000000, e1c: 06a40030, e20: 00001100, e24: 00030000
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] ch 6 [0x001f622000 mplayer[21538]] subc 3 class 0x8297 mthd 0x1b0c data 0x1000f010
Mar 21 18:13:20 fixe kernel: nouveau E[     PFB][0000:02:00.0] trapped write at 0x002047c0c0 on channel 0x0001f622 [mplayer[21538]] PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
Mar 21 18:13:20 fixe kernel: nouveau E[     PFB][0000:02:00.0] trapped write at 0x0020539080 on channel 0x0001f622 [mplayer[21538]] PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
Mar 21 18:13:20 fixe kernel: nouveau E[     PFB][0000:02:00.0] trapped write at 0x00410a00c0 on channel 0x0001f622 [mplayer[21538]] PGRAPH/PROP/RT0 reason: PAGE_NOT_PRESENT
Comment 7 Sébastien P. 2015-03-21 19:42:13 UTC
Matthias, du you encounter hang like bug 89572 with vdpau?
Comment 8 Sébastien P. 2015-03-21 19:47:36 UTC
(In reply to Sébastien P. from comment #7)
> Matthias, du you encounter hang like bug 89572 with vdpau?

Bug 82835
Comment 9 marthasimons2 2019-03-26 13:56:19 UTC
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 0 - RT_FAULT - Address 002048c080 
Mar 21 18:13:20 fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 0 - e0c: 00000000, e18: 00000000, e1c: 07a40020 , e20: 00001100, e24: 00030000
Mar 21 18:13:20 https://goo.gl/nuKiGX fixe kernel: nouveau E[  PGRAPH][0000:02:00.0] TRAP_PROP - TP 1 - RT_FAULT - Address 002048c0c0
Comment 10 Martin Peres 2019-12-04 08:57:25 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/177.

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.