Bug 89572 - [NV86] Video playback corruption with nouveau, vdpau
Summary: [NV86] Video playback corruption with nouveau, vdpau
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-13 18:36 UTC by Matthias Blankertz
Modified: 2019-03-26 13:56 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
screenshot of corrupted video (43.88 KB, image/png)
2015-03-13 18:36 UTC, Matthias Blankertz
no flags Details
dmesg w/ errors (74.64 KB, text/plain)
2015-03-13 18:37 UTC, Matthias Blankertz
no flags Details
output of vdpauinfo (3.60 KB, text/plain)
2015-03-13 18:37 UTC, Matthias Blankertz
no flags Details
contents of Xorg.0.log (29.74 KB, text/plain)
2015-03-13 18:42 UTC, Matthias Blankertz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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


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.