[VP4.2] Video playback using vdpau unusably slow
Submitted by Marcel Dopita
Assigned to Nouveau Project
Description
Created attachment 99768
dmesg
Hardware: Motherboard Asus P8Z77 Pro Thunderbolt, CPU Intel i7-3770K, GPU Gigabyte GTX 560 Ti Ultra Durable, RAM 32 GB, SSD Intel
Software: EFISTUB booting, Arch Linux 3.14.4 x64, XFCE
$ pacman -Q | grep nouveau
lib32-nouveau-dri 10.1.4-1
nouveau-dri 10.1.4-1
nouveau-fw 325.15-1
xf86-video-nouveau 1.0.10-2
I noticed slight performance issue when playing recorded TV show (720x576 MPEG2 in TS) and also deinterlacing and display compositing (Compton because of vsync) turned on. Because of that I decided to try using vdpau which I noticed is somehow supported (http://nouveau.freedesktop.org/wiki/VideoAcceleration/).
While vdpau works for some videos, it fails to play smoothly higher quality/bitrate streams. Vdpau output is choppy and with artifacts in both mplayer and VLC. (Display compositing is turned off)
I used Nvidia libs for vdpau from AUR package nouveau-fw but I experienced the same result when extracting manualy with extract_firmware.py and Nvidia drivers version 331.67.
Videos play fine when using first party nvidia drivers and using vdpau (ok in both mplayer/VLC).
Videos also run flawlessly on Windows when using vdpau (CPU stays at 1% when playing).
(Other video drivers such as xv, gl play videos fine.)
Here're samples where chopping is clearly visible. First few second from Lord of the rings and Blender Foundation "Sintel.2010.1080p.mkv".
http://smartmadsoft.com/temp/video/sample-lotr.mkv
http://smartmadsoft.com/temp/video/sample-sintel.mkv
Attachment 99768, "dmesg":
dmesg.txt