Bug 79211

Summary: [VP4.2] Video playback using vdpau unusably slow
Product: xorg Reporter: Marcel Dopita <mdop>
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   
i915 platform: i915 features:
Description Flags
mplayer log
vlc log none

Description Marcel Dopita 2014-05-25 13:56:58 UTC
Created attachment 99768 [details]

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".

Comment 1 Marcel Dopita 2014-05-25 13:57:15 UTC
Created attachment 99769 [details]
mplayer log
Comment 2 Marcel Dopita 2014-05-25 13:57:36 UTC
Created attachment 99770 [details]
vlc log
Comment 3 Martin Peres 2019-12-04 08:45:34 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/109.

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.