Kodi Community Forum
How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: How to Install XBMC PVR Xvba for AMD/Nvidia/Intel GPUs (/showthread.php?tid=116996)



RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-10-14

@gfisher:
Have a look in LinuxRendererGL.cpp at approx Line 1700. Also look at the Prepare Code.

I see two possibilities, where this can be done:
a) CLinuxRendererGL::UploadXVBATexture
b) CLinuxRendererGL::RenderXVBA


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - gfisher - 2012-10-14

@fritsch. Thanks. If I get it working I will report back.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - skyhigh12 - 2012-10-14

I'm trying to update to 12.9 Quantal driver (following guimxm's guide) but it appears there is an unmet dependency on xorg-video-abi-11 but there is no installation candidate (it says package not available on http://packages.ubuntu.com/quantal/fglrx). I'm very new to this, any help appreciated Smile


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-10-14

@skyhigh12:
http://packages.ubuntu.com/quantal/fglrx it exists.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - skyhigh12 - 2012-10-14

This is the error i get when installing the driver:

dpkg: dependency problems prevent configuration of fglrx:
fglrx depends on xserver-xorg-core (>= 2:1.10.99.901); however:
Version of xserver-xorg-core on system is 2:1.10.4-1ubuntu4.2.
fglrx depends on xorg-video-abi-11 | xorg-video-abi-12 | xorg-video-abi-13; however:
Package xorg-video-abi-11 is not installed.
Package xorg-video-abi-12 is not installed.
Package xorg-video-abi-13 is not installed.

And when i try to install it:

sudo apt-get install xorg-video-abi-11
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xorg-video-abi-11 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'xorg-video-abi-11' has no installation candidate



RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-10-14

@skyhigh12:

Oh man - you are directly installing the fglrx deb you got from this page :-( It is _not_ compatible with precise without rebuilding ... just click three pages back and you see how to do it.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - skyhigh12 - 2012-10-14

Those are the steps i followed, i basically did this:

sudo apt-get install xserver-xorg-dev
mkdir catalyst_12.9_quantal_ubuntu3 && cd catalyst_12.9_quantal_ubuntu3
mkdir tmp && cd tmp
wget http://archive.ubuntu.com/ubuntu/pool/restricted/f/fglrx-installer/fglrx-installer_9.000.orig.tar.gz
wget http://archive.ubuntu.com/ubuntu/pool/restricted/f/fglrx-installer/fglrx-installer_9.000-0ubuntu3.debian.tar.gz
tar xvfz fglrx-installer_9.000.orig.tar.gz
tar xvfz fglrx-installer_9.000-0ubuntu3.debian.tar.gz
mv *.tar.gz ../
dpkg-buildpackage -us -uc
cd ../
sudo dpkg -i *.deb


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-10-14

@skyhigh12:
lsb_release -a
uname -a

what do they tell?


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - skyhigh12 - 2012-10-14

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10 - XBMCbuntu
Release: 11.10
Codename: oneiric

Linux xbmc 3.0.0-26-generic-pae #43-Ubuntu SMP Tue Sep 25 17:39:44 UTC 2012 i686 athlon i386 GNU/Linux

Thanks for your help, i'm guessing i've messed something up here!


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-10-14

@skyhigh12:

This won't work on oneiric. The howto was written for Precise. I made that clear with editing the post.

in order to recover, try:

sudo apt-get -f install


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - skyhigh12 - 2012-10-15

@fritsch, sorry, my mistake! Thanks again for your help Smile


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - guilmxm - 2012-10-15

@skyhigh12: i added a mention to clarify building and installing 12.9 catalyst from Quantal sources is only compatible with Precise Wink


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - KRA77 - 2012-10-16

will you pull the pvr api updates for the testing ppa soon ?


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - fritsch - 2012-10-16

@KRA77:
Testing packages have been updated two days ago. Remember those packages are there for testing xvba / vdpau implementation and new patches. Currently there is no need to rebuild the ppa as nothing relevant for this testing has been added. Also there has not been an API bump on mainline since last build.


RE: Howto Install XBMC PVR Xvba for AMD Radeon/Fusion and Nvidia GPUs - KRA77 - 2012-10-16

@fritsch

I believe the testing build is on PVR api 1.3 while the master is 1.5 or maybe even higher ?

This is required for some pvr plugins.