Bug 79211 - [VP4.2] Video playback using vdpau unusably slow
Summary: [VP4.2] Video playback using vdpau unusably slow
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-25 13:56 UTC by Marcel Dopita
Modified: 2019-12-04 08:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
dmesg (86.56 KB, text/plain)
2014-05-25 13:56 UTC, Marcel Dopita
no flags Details
mplayer log (94.98 KB, text/plain)
2014-05-25 13:57 UTC, Marcel Dopita
no flags Details
vlc log (1.29 MB, text/plain)
2014-05-25 13:57 UTC, Marcel Dopita
no flags Details

Description Marcel Dopita 2014-05-25 13:56:58 UTC
Created attachment 99768 [details]
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
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.