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)



- grad - 2012-01-05

fritsch Wrote:Okay. As we also want to have a fluent mpeg-2 playback for our users and mpeg-2 is really important for pvr users, I would take a xbmc.log never the less. Cause this error must be somewhere else in xbmc.

I have sent you a PM with a link to min.us where you can fetch a .tgz with two xbmc logs. One with an mpeg2 file recorded with mythtv, and one with a xvid encoded file.

I did notice also that, while in the menu, when switching to an from fullscreen using \, I also briefly see artifacts. Its as if xbmc has trouble repainting the GL window. I don't know if this is related though.

Thanks for your continued efforts (on all fronts) guys, I'm sure everbody around here appreciates that!


- kobik - 2012-01-05

I'm confused...
On the testing version where did the LiveTV is gone?


- fritsch - 2012-01-05

kobik Wrote:I'm confused...
On the testing version where did the LiveTV is gone?

Should be there. Please give the output of:

dpkg -l |grep xbmc
and
apt-cache policy xbmc

What about your audio issue?


- kobik - 2012-01-05

Seems that suddenly it's not the default repo, how do I set it back to be the default?

Code:
xbmc:
  Installed: 2:11.0~git20120103.da19280-0ubuntu1~ppa1~oneiric
  Candidate: 2:11.0~git20120103.da19280-0ubuntu1~ppa1~oneiric
  Version table:
*** 2:11.0~git20120103.da19280-0ubuntu1~ppa1~oneiric 0
        500 http://ppa.launchpad.net/wsnipex/xbmc-xvba-testing/ubuntu/ oneiric/main amd64 Packages
        100 /var/lib/dpkg/status

Code:
ii  xbmc                                   2:11.0~git20120103.da19280-0ubuntu1~ppa1~oneiric XBMC Media Center PVR Xvba Edition (arch-independent data package)
ii  xbmc-bin                               2:11.0~git20120103.da19280-0ubuntu1~ppa1~oneiric XBMC Media Center PVR Xvba Edition (binary data package)

Regarding the audio
aplay -L
http://paste.ubuntu.com/794095/

I think it was muted for some reason, I'll try again after I'll fix this xbmc repo thing.


- fritsch - 2012-01-05

The repo is okay. This is our testing packages repo. Installed version is also fine.

For your sound configuration:
Quote:plughw:CARD=SB,DEV=1
HDA ATI SB, ALC892 Digital
Hardware device with all software conversions
iec958:CARD=SB,DEV=0
HDA ATI SB, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
Have a look with alsamixer -c0 to unmute spdif output.

The above ones are your are the devices in question - if you do not use hdmi.


- kobik - 2012-01-05

Sorry, I don't understand what you mean.
What do I set in XBMC to enable SPDIF?
Can I enable both SPDIF and HDMI? Or do I need to switch between them every time?

alsamixer -c0
Image


- fritsch - 2012-01-05

How do you connect your speakers?
Through hdmi or per (optical) cable directly at the spdif out?

If it is unmuted just try the devices you find in xbmc settings.


- CK1one - 2012-01-05

is the e350 powerful enough for lancoz3 upscaling of 720p sources?


- mkone - 2012-01-06

fritsch Wrote:I tried the nodm approach and had a bad crash concerning audio device at first. After this i used console kit to start it.

I do not know if it is better, though you can try it out...

I also tried nodm and until now it works. But I have to do more testing (no time today, because I still don't have my Technotrend USB S2-3600 running smoothly with Oneiric *grrrr*).
No crashes until now. But I have to mention that I disabled vdr since it stalled cpu lately.

Oops: and there it is, my first nodm-crash. But music plays on - I can even use my remote to pause/play/etc., only the GUI disappeared (instead black monitor with the X mouse pointer). And xbmc-standalone, xbmc and xbmc.bin processes are still running. No xbmc_crashlog written. I only found the following error in the .xsession_errors file:

Code:
Xsession: X session started for xbmc at Fr 6. Jan 00:44:30 CET 2012
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
sh: sensors: not found
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
- ALSA error resolved with creating a .asoundrc file setting HDMI output as default
- sensors error resolved by installing lm-sensors package

Btw: I updated xbmc from your testing repo to the newest version (apt-get upgrade) and now my changes in /usr/share/xbmc/system/Lircmap.xml are gone. Is there a way to make these changes permanent? (Sorry for OT question) - okay, found out by myself - just use Lircmap.xml in userdata folder (e.g. /home/xbmc/.xbmc/userdata/)


- kobik - 2012-01-06

fritsch Wrote:How do you connect your speakers?
Through hdmi or per (optical) cable directly at the spdif out?

If it is unmuted just try the devices you find in xbmc settings.

I have my TV connected through HDMI and a receiver connected through an optical cable.
Though it SPDIF was muted, but it was just the Auto-Mute.
I disabled it anyway Auto-Mute anyway.

Image


- fritsch - 2012-01-06

You could just select: Optical in xbmc and choose spdif. This should work fine.
Perhaps you need a .asoundrc which directly maps to your spdif.

pcm.!default spdif

Remember only one audio source at a time will be hearable. Should be good enough for xbmc.


Build instructions - grad - 2012-01-06

I want to try marrying the new cmyth based MythTV PVR with xvba.

What do I need to recompile FernetMenta's git? I tried apt-get build-dep XBMC via the wsnipex ppa, which failed due to unresolvable build dependencies (eg. libcec-dev). I then tried to add-apt-repository the "XBMC Build Dependencies" from Nathan, but that threw me a log of python errors while adding.

bootstrap / configure also complained about a missing -lGL.so. Am I supposed to compile against the mesa-dev packages?

I tried the configure line wnsnipex posted earlier in this thread, is this sill valid? No additional LDFLAGS, CFLAGS etc?


- wsnipex - 2012-01-06

Grad, how do you plan on "marrying" those 2 different branches? Do you know how to find the specific cmyth parts on the MythTV branch and port it over to the Xvba branch?
If you can do that, you shouldn't have to ask how to compile it.

Your best bet is to wait until(if) the cmyth part makes it into Lars PVR branch, then it will pop up in FernetMentas too.


- grad - 2012-01-06

wsnipex Wrote:Grad, how do you plan on "marrying" those 2 different branches? Do you know how to find the specific cmyth parts on the MythTV branch and port it over to the Xvba branch?

Afaict the the cmyth addon is pretty well isolated and identifiable in tsp42's git. How easy it'll actually be I can obviously not tell yet.

wsnipex Wrote:If you can do that, you shouldn't have to ask how to compile it.

Well I just want to know the exact build-deps, because for some odd reason Nathan's ppa listed on your ppa site threw lots of Python errors. I have never experienced that before, so I thought I asked before wasting time on a known issue. I think manually resolving the ./configure dependencies shouldn't be necessary.

So, can you help me here a little bit?


- wsnipex - 2012-01-06

I use those 2 ppas for build deps:
https://launchpad.net/~nathan-renniewaldock/+archive/xbmc-build-deps
https://launchpad.net/~pulse-eight/+archive/libcec

What python errors do you get?