xvba-va-driver broken

Bug #969579 reported by Miguel
28
This bug affects 10 people
Affects Status Importance Assigned to Milestone
xvba-video (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After installing the latest fglrx driver in the repository and installing the xvba-va-driver, I write vainfo in a terminal and it returns the following error:

libva: VA-API version 0.32.0
libva: User requested driver 'xvba LIBVA_DRIVERS_PATH=/usr/lib/va/drivers'
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/xvba LIBVA_DRIVERS_PATH=/usr/lib/va/drivers_drv_video.so
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

It doesn't work either when using vlc.

Thank you for your help!

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xvba-va-driver 0.7.8-1ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-20.33-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0-0ubuntu1
Architecture: amd64
Date: Fri Mar 30 22:35:30 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120301)
SourcePackage: xvba-video
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Miguel (legolin) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xvba-video (Ubuntu):
status: New → Confirmed
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Do you try workaround from bug 800022?

Revision history for this message
Miguel (legolin) wrote :

Thank you for pointing me to that other bug, I seem to have solved the problem using the following workaround:

1)create a symlink with sudo ln -s /usr/lib/va/drivers/fglrx_drv_video.so /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so

2)Add the line LIBVA_DRIVER_NAME="fglrx" to /etc/environment.

Now vainfo returns the following:

libva: VA-API version 0.32.0
libva: User requested driver 'fglrx'
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA-API version: 0.32 (libva 1.0.15)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD

And opening a video with vlc returns:

MKV/Ebml Parser: m_el[mi_level] == NULL
MKV/Ebml Parser: Up cannot escape itself
MKV/Ebml Parser: m_el[mi_level] == NULL
libva: VA-API version 0.32.0
libva: User requested driver 'fglrx'
libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
MKV/Ebml Parser: Up cannot escape itself
libva: va_openDriver() returns 0
xvba_video: XVBA_GetSurface(): status 2
[0x7febe4c579e8] avcodec decoder: Using VA API version 0.32 for hardware decoding.

Is it working properly now? (I don't really know).

Revision history for this message
Krzysztof Klimonda (kklimonda) wrote :

Package installs libraries in the wrong location, not taking multiarch into consideration. It's too late in the cycle to sync with Debian (fixing bug #809765) because the debian package FTBFS due to the missing header file. But we can fix the current package so it installs libraries in the correct location, by changing debian/rules a bit. Attached is the debdiff for the version currently waiting for the approval.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xvba-video - 0.7.8-1ubuntu3

---------------
xvba-video (0.7.8-1ubuntu3) precise; urgency=low

  * debian/rules, debian/install.in:
    - Add support for the multiarch paths to the packaging and install VA-API
      driver in the correct location. (LP: #969579)
 -- Krzysztof Klimonda <email address hidden> Thu, 19 Apr 2012 19:45:19 +0200

Changed in xvba-video (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.