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.
Created attachment 114291 [details] dmesg w/ errors
Created attachment 114292 [details] output of vdpauinfo
Created attachment 114293 [details] contents of Xorg.0.log
The machine on which the error occurs is a Thinkpad T61 with a Nvidia Quadro NVS140M GPU w/ 128 MiB of video memory.
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.
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
Matthias, du you encounter hang like bug 89572 with vdpau?
(In reply to Sébastien P. from comment #7) > Matthias, du you encounter hang like bug 89572 with vdpau? Bug 82835
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
-- 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.