[Oneiric] Video acceleration doesn't work with fglrx

Bug #901863 reported by Adam Niedling
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
fglrx-installer (Ubuntu)
Fix Released
Undecided
Unassigned
libva (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I have Ubuntu 11.10 with an ATI HD 4330 and the following packages (all from official Ubuntu repo):
libva1: 1.0.12-2; libva-dev: 1.0.12-2; xvba-va-driver: 0.7.8-1ubuntu1; fglrx: 2:8.881-0ubuntu4.1

$ 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
Xlib: extension "XFree86-DRI" missing on display ":0.0".
xvba_video: XVBA_CreateContext(): status 11
libva error: /usr/lib/dri/fglrx_drv_video.so init failed
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

I was able to make video acceleration work with packages from www.splitted-desktop.com so this is not a hardware problem.

Bug #773466 and bug #642907 are similar but they are related to the nvidia driver.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libva1 1.0.12-2
ProcVersionSignature: Ubuntu 3.0.0-13.22-generic 3.0.6
Uname: Linux 3.0.0-13-generic i686
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CheckboxSubmission: 0ff88a863b7c71874159c799a79ffb9c
CheckboxSystem: c69722ecac764861be52925fa50b4dcc
Date: Thu Dec 8 21:34:42 2011
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 PATH=(custom, no user)
 LANG=hu_HU.UTF-8
 SHELL=/bin/bash
SourcePackage: libva
UpgradeStatus: Upgraded to oneiric on 2011-10-13 (56 days ago)

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

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

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

Looks like fglrx package doesn't create symbolic link from /usr/lib/dri/fglrx_drv_video.so to ../va/drivers/fglrx_drv_video.so in your case. So probably fglrx bug.

Revision history for this message
Adam Niedling (krychek) wrote :

RussianNeuroMancer: that is not the case:
$ ls -l /usr/lib/dri/fglrx_drv_video.so
lrwxrwxrwx 1 root root 32 2011-05-30 09:32 /usr/lib/dri/fglrx_drv_video.so -> ../va/drivers/fglrx_drv_video.so

(However when I installed fglrx with apt-get in the command line even glxgears didn't work. Had to use the additional drivers tool. This does not concern this bug because glxgears does work now.)

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

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

Changed in fglrx-installer (Ubuntu):
status: New → Confirmed
Changed in libva (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Adam Niedling (krychek) wrote :

There was no explanation why this is a duplicate of bug #821691. I just upgraded to Precise and this is still an issue:

libva1: 1.0.15-4; libva-dev: 1.0.15-4; xvba-va-driver: 0.7.8-1ubuntu3; fglrx-updates: 2:8.960-0ubuntu1

$ vainfo
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":1".
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
Xlib: extension "XFree86-DRI" missing on display ":1".
xvba_video: XVBA_CreateContext(): status 11
libva error: /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so init failed
libva: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

$ ls -l /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
lrwxrwxrwx 1 root root 17 ápr 21 20:50 /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so -> xvba_drv_video.so

$ ls -l /usr/lib/i386-linux-gnu/dri/xvba_drv_video.so
-rw-r--r-- 1 root root 114480 ápr 21 20:50 /usr/lib/i386-linux-gnu/dri/xvba_drv_video.so

Changed in libva (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
Adam Niedling (krychek) wrote :

I made a clean installation of Precise x64 and video acceleration is working now:

$ vainfo
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0".
libva: va_getDriverName() returns 0
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

Changed in libva (Ubuntu):
status: Confirmed → Fix Released
Changed in fglrx-installer (Ubuntu):
status: Confirmed → Fix Released
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.