Bug 1257

Summary: Missing package vaapi-driver-vdpau (a solution is provided)
Product: Mageia Reporter: Gilles Mouchard <gilles.mouchard>
Component: New RPM package requestAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: http://forums.mageia.org/en/viewtopic.php?f=10&t=230
Whiteboard:
Source RPM: CVE:
Status comment:

Description Gilles Mouchard 2011-05-13 11:41:09 CEST
Description of problem:

Enabling hardware acceleration for video decoding does not work with ffmpeg and vlc with nvidia graphic cards because VAAPI backend driver for VDPAU is missing in the Mageia 1 distribution. A solution is proposed below.

Version-Release number of selected component (if applicable):

0.7.3

How reproducible:

Launch a H264 video in vlc with ffmpeg hardware decoding enabled.

Steps to Reproduce:
1.Launch vlc from a console and enable ffmpeg hardware decoding in settings of vlc (preferences -> All -> Input/Codecs -> Video Codecs -> FFmpeg -> Hardware Decoding).
2.Open a H264 video (Menu -> Media -> Open File) 
3.When appriopriate backend driver is installed, vlc says (on the console) that it is using libva 0.32 for hardware acceleration.

Proposed solution:

You may try to use/modify the spec file below or to import the spec file from Mandriva 2011.0:

%define upstreamname vdpau-video

Name: vaapi-driver-vdpau
Version: 0.7.3
Release: mga1
Summary: VA-API driver for VDPAU interface
Group: Video
License: GPLv2
Url: http://www.splitted-desktop.com/~gbeauchesne/vdpau-video/

Source: %upstreamname-%version.tar.gz

BuildRequires: libvdpau-devel libva-devel

%description
VDPAU driver backend for VA API, a video acceleration API.

%prep
%setup -n %upstreamname-%version

%build
libtoolize
autoreconf
%configure

%make

%install
%make DESTDIR=%buildroot install
rm -f %buildroot%_libdir/dri/vdpau_drv_video.la

%files
%doc AUTHORS NEWS
%_libdir/dri/*.so

%changelog
* Thu May 12 2011 Gilles Mouchard <gilles.mouchard at gmail.com> 0.7.3-mga1
- 0.7.3 release
Comment 1 Ahmad Samir 2011-05-13 18:40:16 CEST
The package was already imported in the Mageia SVN (with the complete svn changelog from Mandriva).

0.7.3 should be on the mirrors soon.

Status: NEW => RESOLVED
Resolution: (none) => FIXED