xvba-va-driver broken dependency

Bug #753443 reported by bwat47
134
This bug affects 27 people
Affects Status Importance Assigned to Milestone
xvba-video (Ubuntu)
Fix Released
Undecided
Andrew Hunter

Bug Description

I am using natty 64 bit beta 1, with all updates installed as of today 4/7/2011

I have the catalyst pre-release driver available in the natty repos installed and working, but if I attempt to install the "xvba-va-driver" package I get this error:

The following packages have unmet dependencies:
xvba-va-driver : Depends: fglrx-driver (>= 1:10-9) but it is not installable
E: Broken packages
brandon@brandon-M-6862:~$

xvba-va-driver:
  Installed: (none)
  Candidate: 0.7.7-1
  Version table:
     0.7.7-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/multiverse amd64 Packages

Revision history for this message
Andrew Hunter (rexbron) wrote :

More specifically:

xvba-va-driver: Depends: libc6 (>= 2.3.2) but 2.13-0ubuntu13 is to be installed
                Depends: fglrx-driver (>= 1:10-9) but it is not going to be installed

Revision history for this message
Andrew Hunter (rexbron) wrote :

Confirmed in Ubuntu 11.04 final.

Changed in xvba-video (Ubuntu):
status: New → Confirmed
Andrew Hunter (rexbron)
Changed in xvba-video (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Andrew Hunter (rexbron)
Andrew Hunter (rexbron)
Changed in xvba-video (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Thank you for fix!

Revision history for this message
petanek (ppp-centrum) wrote :

But it still doesn't work,... Do I have to do anything more what I didn't noticed?

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Fix commited, but not release yet.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Sorry, I mean "released".

Revision history for this message
petanek (ppp-centrum) wrote :

I got it several seconds after I posted it. Apologize. But I really look forward for the fix.

Revision history for this message
Andrew Hunter (rexbron) wrote :

I'm changing this back to In Progress as I'm still waiting for a review from ubuntu-sru.

Changed in xvba-video (Ubuntu):
status: Fix Committed → In Progress
Revision history for this message
Alfred (alfred-egger) wrote :

The problem exists until now.

Die folgenden Pakete haben nicht erfüllte Abhängigkeiten:

xvba-va-driver: Depends: libc6 (>= 2.3.2) aber 2.13-0ubuntu13 soll installiert werden
                Depends: fglrx-driver (>= 1:10-9) aber es soll nicht installiert werden

Revision history for this message
Andrew Hunter (rexbron) wrote :

I've uploaded a fixed package to my ppa. It's expected to build in about 10 hours.

Please test and confirm that it fixes the bug.

https://launchpad.net/~rexbron/+archive/bugfixes

Revision history for this message
bwat47 (bwat47) wrote :

Fixed here

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

I also confirm.

Revision history for this message
petanek (ppp-centrum) wrote :

It works. But I don't try play video. I just have installed the package. So I hope it'll work,...

Revision history for this message
Alfred (alfred-egger) wrote :

I installed it and tried vainfo and I am getting a access violation.

~$ vainfo
libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
Speicherzugriffsfehler

Revision history for this message
Andrew Hunter (rexbron) wrote : Re: [Bug 753443] Re: xvba-va-driver broken dependency

That is a different bug I will look into.

On Thu, May 5, 2011 at 2:46 PM, Alfred <email address hidden> wrote:
> I installed it and tried vainfo and I am getting a access violation.
>
> ~$ vainfo
> libva: libva version 0.31.1
> Xlib:  extension "XFree86-DRI" missing on display ":0.0".
> libva: va_getDriverName() returns 0
> libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
> Speicherzugriffsfehler
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/753443
>
> Title:
>  xvba-va-driver broken dependency
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/xvba-video/+bug/753443/+subscribe
>

Revision history for this message
Andrew Hunter (rexbron) wrote :

I've updated to a newer version of the lib and it should be working now. I've uploaded a fixed package to my ppa, so watch out for 0.7.8

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

Revision history for this message
Vincenzo (vincenzov72) wrote :

Hello,my name vincenzo.
vincenzo@AthlonII:~$ vainfo
libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD

Perfect thanks, but vaapi not play anything.
Sorry for my english.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Like first time, dependencies is fixed. vainfo is also works. But VLC is segfault when I try to playback video.

Revision history for this message
fnu (fnu) wrote :

Where to find xvba-va-driver=0.7.8? In proposed updates?

0.7.7 with the wrong dependencies is still part of main repository?

Revision history for this message
Vincenzo (vincenzov72) wrote :

Where to find xvba-va-driver=0.7.8? In proposed updates?

0.7.7 with the wrong dependencies is still part of main repository?

https://launchpad.net/~rexbron/+archive/bugfixes

Revision history for this message
Alfred (alfred-egger) wrote :

It installs, vaapi shows no error, but VLC does if started with hardware accleration and trying to open a video.

~$ vlc --ffmpeg-hw
VLC media player 1.1.9 The Luggage (revision exported)
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0xbec120] main libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden.
Blocked: call to setlocale(6, "")
Warning: call to srand(1304747643)
Warning: call to rand()
Blocked: call to setlocale(6, "")

(process:16990): Gtk-WARNING **: Locale not supported by C library.
 Using the fallback 'C' locale.
Blocked: call to setlocale(6, "")
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
Speicherzugriffsfehler

~$ vainfo
libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD

Revision history for this message
Alfred (alfred-egger) wrote :
Revision history for this message
Vincenzo (vincenzov72) wrote :

libva: libva version 0.31.1
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD

vincenzo@AthlonII:/media/sda3$ mplayer -vo vaapi:gl -va vaapi 1.mp4
MPlayer SVN-r32819-4.5.2 (C) 2000-2011 MPlayer Team
mplayer: could not open config files /home/vincenzo/.lircrc and /etc/lirc/lirc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.

Playing 1.mp4.
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
VIDEO: [H264] 1280x720 24bpp 23.976 fps 1710.0 kbps (208.7 kbyte/s)
Clip info:
 major_brand: isom
 minor_version: 1
 compatible_brands: isom
 creation_time: 2010-10-14 14:12:22
Load subtitles in ./
Error opening/initializing the selected video_out (-vo) device.
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, s16le, 160.0 kbit/10.42% (ratio: 19998->192000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...

i use fglrx 11.5=11.4 problem.

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

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

---------------
xvba-video (0.7.8-1ubuntu1) oneiric; urgency=low

  * Fix debian/control to use ubuntu fglrx versioning. (LP: #753443)
 -- Andrew Hunter <email address hidden> Mon, 30 May 2011 09:28:03 +0200

Changed in xvba-video (Ubuntu):
status: In Progress → Fix Released
Revision history for this message
Ari (ari-reads) wrote :

@ Andrew:

I'm using your PPA & still get crashes everytime xbmc attempts to play any h265 content using vaapi.

I notice that your vainfo output (above) is:

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

Mine is:
DISPLAY=:0.0 vainfo
libva: libva version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.0".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/dri/fglrx_drv_video.so
libva: va_openDriver() returns 0
vainfo: VA API version: 0.32
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
      VAProfileH264High : VAEntrypointVLD
      VAProfileVC1Advanced : VAEntrypointVLD

I can see that xvba backend is there all right, as well as libva1. However, vainfo in my case is missing the following line:

*** libva: User requested driver 'fglrx' ***

In my case I get ***libva: va_getDriverName() returns 0*** instead.

I have catalyst 11.5 installed from the x-updates ppa. Any clue of what could be happening? Many people are reporting the same issue. At this point it is unclear where is the issue (libva, xbva, fglrx)

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

You can get VLC playback video using VA-API? I can't. Still segfault. Even fresh 1.10.

> In my case I get ***libva: va_getDriverName() returns 0*** instead.
Catalyst 11.5, xvba-va-driver 0.7.8 from PPA, same here. Also looks like there is error message:
> Xlib: extension "XFree86-DRI" missing on display ":0.0".

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Ari, please look into this bugreport: https://bugs.launchpad.net/libva/+bug/800022

Revision history for this message
Ari (ari-reads) wrote :

Actually the package from Andrew does work. What is not needed are the packages from splitted desktop.

@RussianNeuroMancer: saw your bug report - I think you may be missing the last step below (system variables).

Here's how I got vaapi to work on Natty / AMD64 / Catalyst 11.5 from x-updates:

- Install libva1 and libva-dev after adding the x-udpates PPA
                     https://launchpad.net/~ubuntu-x-swat/+archive/x-updates?field.series_filter=natty

- use the latest xvba-va-video package (this is the equivalent of libvdpau in Nvidia), that provides the ATI XVBA backend to the VAAPI library, from here:
        https://launchpad.net/~rexbron/+archive/bugfixes
        (fixes a problem in splitted-desktop xvba-video package; do not use the one from splitted-desktop)
        sudo apt-get install xvba-video

- add the following to /etc/environment (and then reboot)

LIBVA_DRIVERS_PATH=/usr/lib/dri
LIBVA_DRIVER_NAME=fglrx

After this, vainfo output should show something like the below (note the fglrx reference):

$ DISPLAY=:0.0 vainfo

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

This is working fine with XBMC.

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

> I think you may be missing the last step below (system variables).
Isn't this system variables should be changed automatically while fglrx or xvba-va-driver package installation?

Revision history for this message
Jochen Fahrner (jofa) wrote :

Status is "Fix released", but I still get the broken dependency. Is the status wrong?

Revision history for this message
Amun Hateb (amunhateb) wrote :

You are right there is no fixed package available in default repos.

Revision history for this message
Amun Hateb (amunhateb) wrote :

But you can download Oneric package here It seems that this package is fixed.
https://launchpad.net/ubuntu/+source/xvba-video/0.7.8-1ubuntu1/+build/2535154

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

It's possible to backport fixed package to Natty repos?

Revision history for this message
Lorenzo Pistone (mrpisto) wrote :

it works fine, but even if i add the ppa I can't install the xvba-video package through the package manager, instead I have to manually download it.
Also, is it correct that for my card, Modility Radeon HD 4650, vainfo displays only VAProfileH264High and VAProfileVC1Advanced?

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

Can someone of developers look into this bug?
https://bugs.launchpad.net/xvba-video/+bug/800022

> Also, is it correct that for my card, Modility Radeon HD 4650, vainfo displays only VAProfileH264High and VAProfileVC1Advanced?
Yes.

Revision history for this message
Maarten Bezemer (veger) wrote :

I would like to have the fix backported to natty as well

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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