I had same problem:
"Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so" (returned -1)
I tryied to fix this
When I used:
"cd ~
sudo mkdir Builds
cd Builds
sudo apt-get build-dep libva1
git clone git://anongit.freedesktop.org/vaapi/libva
cd libva
git checkout vaapi-ext
sudo ./autogen.sh --prefix=/usr
sudo make
sudo make install
cd.."
from
http://www.mythtv.org/wiki/VAAPI
the vainfo now showes:
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/i386-linux-gnu/dri/fglrx_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.34 (libva 1.0.16.pre1)
vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
My lspci:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Pitcairn PRO [Radeon HD 7850] (prog-if 00 [VGA controller])
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 2730
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at e0000000 (64-bit, prefetchable) [size=256M]
Memory at f7e00000 (64-bit, non-prefetchable) [size=256K]
I/O ports at e000 [size=256]
Expansion ROM at f7e40000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: fglrx_pci
Which means that still I have got only "256MB" RAM (shound be 2GB!:( )
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libva in Ubuntu.
https://bugs.launchpad.net/bugs/974205
Title:
VA API doesn't work with fglrx driver from restricted repos
Status in “libva” package in Ubuntu:
Fix Released
Bug description:
1)
Description: Ubuntu precise (development branch)
Release: 12.04
2)
$ apt-cache policy libva-dev libva-egl1 libva-glx1 libva-tpi1 libva-x11-1
libva1 vainfo fglrx
libva-dev:
Installed: 1.0.15-4
Candidate: 1.0.15-4
Version table:
*** 1.0.15-4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
libva-egl1:
Installed: 1.0.15-4
Candidate: 1.0.15-4
Version table:
*** 1.0.15-4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
libva-glx1:
Installed: 1.0.15-4
Candidate: 1.0.15-4
Version table:
*** 1.0.15-4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
libva-tpi1:
Installed: 1.0.15-4
Candidate: 1.0.15-4
Version table:
*** 1.0.15-4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
libva-x11-1:
Installed: 1.0.15-4
Candidate: 1.0.15-4
Version table:
*** 1.0.15-4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
libva1:
Installed: 1.0.15-4
Candidate: 1.0.15-4
Version table:
*** 1.0.15-4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
100 /var/lib/dpkg/status
vainfo:
Installed: 1.0.15-4
Candidate: 1.0.15-4
Version table:
*** 1.0.15-4 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/universe amd64
Packages
100 /var/lib/dpkg/status
fglrx:
Installed: 2:8.960-0ubuntu1
Candidate: 2:8.960-0ubuntu1
Version table:
*** 2:8.960-0ubuntu1 0
500 http://de.archive.ubuntu.com/ubuntu/ precise/restricted amd64
Packages
100 /var/lib/dpkg/status
3)
vainfo should report something like this:
vainfo: Supported profile and entrypoints
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
4)
instead I get this, vainfo exits with error:
$ vainfo
libva: VA-API version 0.32.0
Xlib: extension "XFree86-DRI" missing on display ":0.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 -1
vaInitialize failed with error code -1 (unknown libva error),exit
$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6310 Graphics
OpenGL version string: 4.2.11627 Compatibility Profile Context
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: vainfo 1.0.15-4
ProcVersionSignature: Ubuntu 3.2.0-21.34-generic 3.2.13
Uname: Linux 3.2.0-21-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0-0ubuntu2
Architecture: amd64
Date: Thu Apr 5 14:19:23 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64
(20120224)
ProcEnviron:
TERM=xterm
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: libva
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libva/+bug/974205/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp