Kodi Community Forum
Linux Install XBMC PVR Xvba from source - 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: Linux Install XBMC PVR Xvba from source (/showthread.php?tid=139570)

Pages: 1 2


Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

I want to install XBMC PVR Xvba for AMD/ATI Radeon and Fusion GPUs from source (https://github.com/FernetMenta/xbmc/commits/master)
then:

. / bootstrap
. / configure - what options ??

Any help?


RE: Install XBMC PVR Xvba from source - fritsch - 2012-09-02

Update: Currently we cannot build packages from latest master in wsnipex xbmc-xvba-testing, cause of a new dependency to libtag 1.8 - which is not that easy to solve - In order to get bleeding edge new versions completely self build follow this howto:

testing ppa is online again - big thx to wsnipex libtag can now be installed next to the existing version.

You can install the dependencies (that are a lot) by doing (on Ubuntu Systems):
Code:
sudo apt-add-repository ppa:wsnipex/xvba-dev
sudo apt-get update
sudo apt-get build-dep xbmc
For more questions, join #xbmc-xvba

Since some time, there is a libtag 1.8 dependency. We cannot provide this one as a ubuntu package, as we would need to rebuild / port all programs in ubuntu, which is not possible.

Code:
git clone https://github.com/FernetMenta/xbmc.git
cd xbmc
git checkout master
./bootstrap
./configure --disable-pulse --disable-vdpau --disable-vaapi --enable-xvba (--disable-debug)
# also add a new remote, to be able to upgrade fast forward
# from your xbmc git directory do
git remote add fernetmenta https://github.com/FernetMenta/xbmc.git
# to upadate, do:
git clean -xfd
git reset --hard
git fetch fernetmenta
git reset --hard fernetmenta/master
git submodule update

This is the master branch and is likely to fail sometimes.

A highly suggest for non-dev users: Please use the ppa of wsnipex. He is building packages after every big change. These packages can be installed easily, are tested and so on ...

xvba-installation thread: http://forum.xbmc.org/showthread.php?tid=116996
xvba-sdk: http://developer.amd.com/zones/opensource/Pages/default.aspx



RE: Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

Thx fritsch !
pvr is enable by default ?


RE: Install XBMC PVR Xvba from source - fritsch - 2012-09-02

If you are in need of the pvr plugins, add xbmc-pvr-addons as a git submodul:

From your xbmc git repo, do:
Code:
rm -rf pvr-addons
git rm pvr-addons
git submodule add https://github.com/opdenkamp/xbmc-pvr-addons.git pvr-addons
cd pvr-addons
git pull
(git checkout master)
cd ..
git submodule update

Rerun bootstrap and configure afterwards. There is currently only a master branch, so the checkout is not needed.
@limahlowski:
Yes, pvr is enabled by default, but the plugins have been taken out of tree. See the above howto on how to reintegrate them via git submodule. bootstrape finds them automatically and does build them automatically.


RE: Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

I want compile xbmc because i want one thing:
in / xbmc / linux / XLCDproc.cpp
i want to comment line:
StringToLCDCharSet (strLineLong);
thats all, and how much trouble...



RE: Install XBMC PVR Xvba from source - fritsch - 2012-09-02

@limahlowski:
I have no clue of XLCDproc. If it is an issue, please open a bug at trac. What is wrong with that one?

Btw: I have edited the howto some times, to get a smoother build process. So if you are on Ubuntu, it should be straight forward now :-)


RE: Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

ubuntu 11.04 (my driver tvsat sucks on 12.04)
i want comment this line because on my vfd charset is bad
i'm from Poland...


RE: Install XBMC PVR Xvba from source - fritsch - 2012-09-02

@limahlowski:
Shouldn't that all be UTF-8? File a bug anyways on trac.xbmc.org


RE: Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

HD44780 LCD controller and LCDproc does not support UTF-8 (I think)




RE: Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

./configure --disable-pulse --disable-vdpau --disable-vaapi --enable-xvba
------------------------
XBMC Configuration:
------------------------
Debugging: Yes
Profiling: No
Optimization: Yes
Crosscomp.: No
target ARCH: no
target CPU: no
OpenGL: Yes
ALSA: Yes
DBUS: Yes
VDPAU: No
VAAPI: No
CrystalHD: No
XVBA: Yes
VDADecoder: No
VTBDecoder: No
OpenMax: No
Joystick: Yes
XRandR: Yes
GOOM: No
RSXS: Yes
ProjectM: Yes
Skin Touched: No
X11: Yes
Bluray: No
TexturePacker:Yes
MID Support: No
ccache: No
ALSA Support: Yes
PulseAudio: No
HAL Support: Yes
DVDCSS: Yes
Avahi: Yes
Non-free: Yes
ASAP Codec: No
MySQL: Yes
Webserver: Yes
libRTMP support: No
libsmbclient support: Yes
libnfs client support:No
libafpclient support: No
AirPlay support: Yes
AirTunes support: No
Optical drive: Yes
libudev support: Yes
libusb support: No
libcec support: No
libmp3lame support: No
libvorbisenc support: Yes
libcap support: Yes
additional players: No
External FFmpeg: No
PVR add-ons: Yes
prefix: /usr/local
------------------------
this is OK ? ;-)


RE: Install XBMC PVR Xvba from source - fritsch - 2012-09-02

@limahlowski: If you don't need airtunes support, it sounds good. If you need Airtunes support:
Code:
sudo apt-get install libshairport-dev libshairport0

Please join irc - private forum session sucks.
Update: Stay here, chances are good, that I only have to answer such questions once :-)


RE: Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

AirTunes is unnecessary
Now just apt-get remove xbmc xbmc-bin and make && make install
and all ... ?


RE: Install XBMC PVR Xvba from source - fritsch - 2012-09-02

Jep - uninstall the package xbmc xbmc-bin

Code:
make -j3
sudo make install

To be able to login via lightdm and additional symlink is needed after the make install.
Code:
sudo cp /usr/local/share/xsession/XBMC.desktop /usr/share/xsessions/XBMC-local.desktop
sudo edit /usr/share/xsessions/XBMC-local.desktop
# change Name to xbmc-local
# change xbmc-standalone to /usr/local/bin/xbmc-standalone
# we do this to not break the ppa if you want to go back



RE: Install XBMC PVR Xvba from source - limahlowski - 2012-09-02

OK works !!!
xvba - OK, no polish charset on VFD - OK
THX fritsch !
;-)


RE: Install XBMC PVR Xvba from source - fritsch - 2012-09-02

@limahlowski:
Remember to do the right settings for XVBA, i repeat them here, to save trouble.

Assuming: HDMI Audio:

Audio Settings:

Speakers: 5.1 (if you have 5.1 speakers, choose 2.0 instead, don't choose 7.1 fglrx cannot do)
Play stereo on all speakers: false
Boost volume when downmix: true
DTS: check (if receiver supports)
AC3: check (if receiver supports)
Truehd: disabled (fglrx limitation)
DTS-HD:disabled (fglrx limitation)
LPCM: disabled (problems with the speaker numbers), enabled (when speaker number is 2.0)

Video Settings:
Adjust Refresh Rate to match video: On start / On Stop or Always Enabled or Yes (old version)(*)
Sync Playback to Display: Yes(*)
Method: Video Clock (Drop / Dup)

Make sure to always enable:
Vertical Sync Blank Synchronization: Always enabled (System -> Settings -> System -> Video Hardware)


If your TV does only support 60hz, don't enable both of those settings marked with (*), as syncing 24p to 60hz is a bad idea.