•   
  • 1
  • 66
  • 67
  • 68(current)
  • 69
  • 70
  • 148
  •   
New MythTV add-on using libcmyth
Also, i have read most of the thread and can't find a definitive answer for the status of channel icons. Mine don't show up and I am wondering if there is something that needs to be configured or if they aren't currently working.
Reply
Hi,

I have had a working mythtv and xbmc setup for several years. I have been using mythfrontend for my pvr needs and xbmc for all other media.

I thought it was about time I gave this a try, but I've hit a snag with dependencies. I've pulled the source from git, then following the instructions in the readme added the unstable ppa to my sources. I did have to change the version from precise to oneiric. Then when I try to build the dependencies I get:
Code:
[email protected]:~$ sudo apt-get build-dep xbmc
[sudo] password for phil:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following packages have unmet dependencies:
libbluray-dev : Depends: libbluray1 (= 1:0.2.1+git20111208.63e308d-3) but 1:0.2.2-1~natty1 is to be installed
E: Build-dependencies for xbmc could not be satisfied.

I don't seem to be able to get any further until this is sorted. Any ideas?
Im on mythbuntu 12.04.

Any thoughts?
Cheers Phil
Reply
Just an update to my post #1005 I still don't have any channels higher than 550 listed under liveTV, I also did a second install using the ION build listed in this thread and it also only shows channels up to 550. Anyone know where the channel config lives, or what process runs to set up the channel list?
Reply
(2012-05-25, 06:25)KeithLM Wrote: Well while following different suggestions I've found that the upgrade from 11.10 to 12.04 actually commented out a number of my sources in apt. I have to look further into that as some of them are for apps I'm using regularly. Still, I believe I've fixed my problem. Part of it was that there appears to be an issue with one of the packages, I was getting this error from apt-get:
librtmp-dev : Depends: librtmp0 (= 2.4~20110711.gitc28f1bab-1) but 2.4~20110711.gitc28f1bab-1ubuntu0~ppa2~natty2

There was more to it, I didn't get it all copied out of the console. But it appears that something may not have the librtmp0 version right. Or else there's some other more significant issue with my system. I used apt-get to download librtmp-dev and the curl library, and then used dpkg to force installs of those, as I do have librtmp0 on my system, and apt claims it's the latest. I have no idea how I got into this mess or why, perhaps something bad occurred with the upgrade from 11.10 to 12.04, I have no clue.

It's compiling now, so I'll see what happens.

So after not having touched this in a while I decided to go back and revisit building on my main system. Found out I was back in this state with librtmp0 and librtmp-dev being unable to install. I did some more searching and finally found a way to fix it that might stick.
apt-get install librtmp0=2.4~20110711.gitc28f1bab-1

That forced an install of the proper version, and it appears ok. Last time I did all sorts of searching on forcing installs with apt and never found the right combination. This time I found it in the third or fourth search result.
Reply
I'm a long time MythTV user, probably 6-7 years or something. But already then when i started with MythTV i thought that the frontend was pretty old looking. And since it haven't happened much that is visible(much have changed behind the scenes) during the time i've used MythTV, the frontend is really outdated.

I've always knew that XBMC was around and was really good looking, but with the lack of TV and recordings it was never a alternative for me. But today, once again, i was tired of the MythTV frontend and started looking around. I was very happy when i found out that there are work in progress to make it possible to use the backend with XBMC.

But i wonder how far you are going to take this? I've seen some movies of other pvr plugins but thought i should make some questions anyway.

How well incorporated will the TV functions be in XBMC, and how well supported will the Myth frontend TV/recordings features be in XBMC? Is it only the basic functions, all functions, or even make XBMC with MythTV addon to be better and exceed the MythTV frontend? Don't know what kind of features that could be, but i have understood that there are some really good developers working with XBMC and also the addons. So i wouldn't be surprised if this could be what the MythTV frontend should have been.

So to me this seems to be a perfect merge of two good things, the Myth backend and XBMC. I really hope the work progress and we'll see some really good and stable release with most of the features of the MythTV frontend.
Reply
(2012-08-24, 02:06)KeithLM Wrote:
(2012-05-25, 06:25)KeithLM Wrote: Well while following different suggestions I've found that the upgrade from 11.10 to 12.04 actually commented out a number of my sources in apt. I have to look further into that as some of them are for apps I'm using regularly. Still, I believe I've fixed my problem. Part of it was that there appears to be an issue with one of the packages, I was getting this error from apt-get:
librtmp-dev : Depends: librtmp0 (= 2.4~20110711.gitc28f1bab-1) but 2.4~20110711.gitc28f1bab-1ubuntu0~ppa2~natty2

There was more to it, I didn't get it all copied out of the console. But it appears that something may not have the librtmp0 version right. Or else there's some other more significant issue with my system. I used apt-get to download librtmp-dev and the curl library, and then used dpkg to force installs of those, as I do have librtmp0 on my system, and apt claims it's the latest. I have no idea how I got into this mess or why, perhaps something bad occurred with the upgrade from 11.10 to 12.04, I have no clue.

It's compiling now, so I'll see what happens.

So after not having touched this in a while I decided to go back and revisit building on my main system. Found out I was back in this state with librtmp0 and librtmp-dev being unable to install. I did some more searching and finally found a way to fix it that might stick.
apt-get install librtmp0=2.4~20110711.gitc28f1bab-1

That forced an install of the proper version, and it appears ok. Last time I did all sorts of searching on forcing installs with apt and never found the right combination. This time I found it in the third or fourth search result.

Great work. That fixed my problem also (a couple of posts back).

Now to compile!
Reply
Ok, I have been running this for a few months now and the instability is starting to annoy me. Not sure if it is the openelec or xbmc that is causing the problems. The biggest issue is the time to tune a channel. On mythtv this is down to 2-3 seconds which is acceptable. In xbmc this is literally close to 20 seconds, not so much acceptable. Then there is the random stoppage of livetv. This is really bothersome while watching baseball as the live feed will tend and then there is a 20 second delay in starting back up, sometimes you miss a big play etc. Then there is the loss of EPG data and/or the system restarting and the system clock has been moved forward 5-6 hours which really screws up the EPG.

Is anyone else experiencing these issues?

I am running these on zotac zboxes using a netboot from a common server, the server get its tv signal thru a ceton cable card tuner.

Reply
(2012-08-28, 16:47)kburkart Wrote: Ok, I have been running this for a few months now and the instability is starting to annoy me. Not sure if it is the openelec or xbmc that is causing the problems. The biggest issue is the time to tune a channel. On mythtv this is down to 2-3 seconds which is acceptable. In xbmc this is literally close to 20 seconds, not so much acceptable. Then there is the random stoppage of livetv. This is really bothersome while watching baseball as the live feed will tend and then there is a 20 second delay in starting back up, sometimes you miss a big play etc. Then there is the loss of EPG data and/or the system restarting and the system clock has been moved forward 5-6 hours which really screws up the EPG.

Is anyone else experiencing these issues?

I am running these on zotac zboxes using a netboot from a common server, the server get its tv signal thru a ceton cable card tuner.

Came here today to post about the same channel tune issue. Mine takes roughly 20sec when using xbmc and 2-3 sec when using mythtv. I actually opened a ticket a week ago on github but havent heard anything back.
Do you get random menu freezes when navigating XBMC? Almost like the computer hangs for 1-2 seconds?

Also regarding your random stoppage of live tv, I get the same thing, but it coincides with the end of a TV show. If one episode of sports center ends at 10pm Livetv stops at 10 then I have to restart to watch the next episode.
Reply
(2012-08-28, 16:47)kburkart Wrote: Then there is the random stoppage of livetv. This is really bothersome while watching baseball as the live feed will tend and then there is a 20 second delay in starting back up, sometimes you miss a big play etc. Then there is the

I have a similar situation with stop every five minutes, while the CPU on the f/e is doing some intense work. More disturbingly one of the b/e cores also bottoms outs, which I believe is the root cause of this. This happens when the client tries to refresh the timers and recordings lists, so clearly some of the code there is not playing nice with the rest of the system. I have played around with it a bit and found that the GetStorageGroupFileList call is a real trouble maker, perhaps because I have about 300 recordings stored. IIRC this call is responsible for getting the fanart/channel icons and what not to the f/e. As a quick fix, I have changed fileOps.cc to check for new media once a day, rather than every 30 seconds by changing the following line (about line 103 in eden branch):

Code:
if (m_SGFilelist.count(Get_What)==0||((int)curTime - m_lastSGupdate.at(Get_What)) > 30) { // Limit storage group updates to once every 30 seconds
to
Code:
if (m_SGFilelist.count(Get_What)==0||((int)curTime - m_lastSGupdate.at(Get_What)) > 24*3600) { // Limit storage group updates to once every day

This gets rid of the total stream stop for me, there is still some stuttering during the updates.

/D
Reply
tsp42: ping? Just wondering if you were planning to merge with odk upstream any time soon as per your previous post?
Reply
dodoadoodoo wrote:
Quote:I have a similar situation with stop every five minutes, while the CPU on the f/e is doing some intense work. More disturbingly one of the b/e cores also bottoms outs, which I believe is the root cause of this.
Code:
if (m_SGFilelist.count(Get_What)==0||((int)curTime - m_lastSGupdate.at(Get_What)) > 30) { // Limit storage group updates to once every 30 seconds
to
Code:
if (m_SGFilelist.count(Get_What)==0||((int)curTime - m_lastSGupdate.at(Get_What)) > 24*3600) { // Limit storage group updates to once every day

This gets rid of the total stream stop for me, there is still some stuttering during the updates.

Thank you, one of my major problems was the stream stoppage. I had also noticed high cpu usage on only one core, in fact I would have to reset XBMC to get it back to normal. I plan to implement your fix this weekend. That was the show stopper for me also. Checking once a day for media rather than every 30 seconds will be a bonus even on network usage especially with two to 3 htpc's running this add-on.
Reply
No Audio with xbmc-tsp

Hi everybody,

I don't know if this is the right place to post my question but I currently don't know of any better...

I'm pulling my hairs trying to get audio to work with xbmc-tsp (last checkout from 2012-08-26).

Hardware:
---------
Shuttle XS35GTV2 Barebone
with NVIDIA ION2
with Sound via HDMI Output to my Receiver.

Software:
---------
Ubuntu 11.10
with either
xbmc via software-repository (apt-get install xbmc)
xbmc-tsp via git (git clone https://github.com/tsp/xbmc.git)

and either
pulseaudio installed
pulseaudio removed (alsa only)


when using the xbmc-version from the repository, I can choose from the following possibilities
in (System -> Settings -> System -> Audio Output) (with pulseaudio already uninstalled)

- Defaults (ALSA)
- iec958 (ALSA)
- hdmi (ALSA)
- HDA Intel - default - 0 (ALSA)
- HDA Intel - iec958 - 0 (ALSA)
- HDA Intel - hdmi - 0 (ALSA)
- HDA Intel - default - 3 (ALSA)
- HDA Intel - iec958 - 3 (ALSA)
- HDA Intel - hdmi - 3 (ALSA)
- HDA Intel - default - 7 (ALSA)
- HDA Intel - iec958 - 7 (ALSA)
- HDA Intel - hdmi - 7 (ALSA)
- HDA Intel - default - 8 (ALSA)
- HDA Intel - iec958 - 8 (ALSA)
- HDA Intel - hdmi - 8 (ALSA)
- HDA Intel - default - 9 (ALSA)
- HDA Intel - iec958 - 9 (ALSA)
- HDA Intel - hdmi - 9 (ALSA)
- Custom


when using xbmc-tsp I can only choose:

- HDA Intel, STAC92xx Analog
- HDA NVidia, HDMI 0
- HDA NVidia, HDMI 0
- HDA NVidia, HDMI 0
- HDA NVidia, HDMI 0


Using the XBMC from the repository, I choose custom and enter "plughw:1,7" and the sound works perfectly (with and without pulseaudio).
Then I uninstalled xbmc (purge) and build xbmc-tsp (up to make, no make install) . No sound in whatever
configuration. I deinstalled pulseaudio but no change. I reinstalled xbmc via apt-get, configured the sound
correctly (plughw:1,7) tested it and closed xbmc again.

Then I started xbmc-tsp from the make directory. Now I see an "Audio output device" "custom", but cannot change
the entry. Furthermore, the sound still does not work.

I'm running out of ideas, can anyone help?


Thanks in advance,

Soc

Reply
Try this and reboot, then run aplay -l and build a /home/usr_dir/.asoundrc file with settings from aplay -l cmd output. Where usr_dir is your home directory.

echo "options snd-hda-intel model=6stack-digout " | sudo tee -a /etc/modprobe.d/alsa-base.conf

Then run sudo usermod -a -G audio Your_User_Name

If above doesn't try this. I have above working on ion and 8200/9300 NVIDIA chipsets as well as this working on my ion2's.

sudo nano /etc/modprobe.d/alsa-base.conf ###Remove above entry and add one below

options snd-hda-intel enable_msi=0 probe_mask=0xfff2

PS Make sure you have alsa-utils and alsa-tools installed

ctrl o/enter/ctrl x

Either reboot or run sudo /etc/init.d/alsa-utils restart

Good Luck
Reply
For those interested: OpenELEC 2.0b7 with tsp's Eden-PVR version of XBMC:
ION 64-bit
Ultra 64-bit
Reply
Hi speed32219,

thank you for your very early reply (!)

I tried to follow your steps closely but still no sound. Let my show you what I've done,
since the error is usually located between keyboard and chair :-)

1.)

Code:
sudo cp alsa-base.conf alsa-base.conf.orig
echo "options snd-hda-intel model=6stack-digout " | sudo tee -a /etc/modprobe.d/alsa-base.conf

[email protected]:/etc/modprobe.d$ diff alsa-base.conf alsa-base.conf.orig
44d43
< options snd-hda-intel model=6stack-digout

Seems to have worked out.


Then you asked me to:

(2012-09-02, 05:55)speed32219 Wrote: then run aplay -l and build a /home/usr_dir/.asoundrc file with settings from aplay -l cmd output. Where usr_dir is your home directory.

So I've checked http://wiki.ubuntuusers.de/.asoundrc and came up with the following:

Code:
[email protected]:~$ cat .asoundrc
pcm.nvidia_sound {
        type hw
        card 1
        device 7
}

ctl.nvidia_sound {
        type hw
        card 1
        device 7
}

# Das dmix-Plugin wird definiert.
pcm.dmixer {
    type dmix
    ipc_key 1024
    ipc_perm 0666       # Andere Benutzer können ebenfalls dmix gleichzeitig nutzen
    slave.pcm "nvidia_sound"
    slave {
        ### buffer_size kann bei Problemen der jeweiligen Karte angepasst werden.
        period_time 0
        period_size 1024
        buffer_size 4096
        ### bei Störungen kann die Konvertierung auf die Rate 44100 eingeschaltet werden.
        # rate 44100
        ### einige Soundkarten benötigen das exakte Datenformat (zB ice1712)
        # format S32_LE
        ### Verfügbare Formate: S8 U8 S16_LE S16_BE U16_LE U16_BE S24_LE S24_BE U24_LE U24_BE
        ###               S32_LE S32_BE U32_LE U32_BE FLOAT_LE FLOAT_BE FLOAT64_LE FLOAT64_BE
        ###               IEC958_SUBFRAME_LE IEC958_SUBFRAME_BE MU_LAW A_LAW IMA_ADPCM MPEG GSM
        ### Anzahl channels muss mit den bindings übereinstimmen
        channels 2
    }
    bindings {
        0 0
        1 1
    }
}

# Das dsnoop-Plugin, welches es erlaubt, mehrere Programme gleichzeitig aufnehmen zu lassen.
pcm.dsnooper {
    type dsnoop
    ipc_key 2048
    ipc_perm 0666
    slave.pcm "nvidia_sound"
    slave
    {
        period_time 0
        period_size 1024
        buffer_size 4096
        # bei Störungen kann die Konvertierung auf die Rate 44100 eingeschaltet werden.
        # rate 44100
        # einige Soundkarten benötigen das exakte Datenformat (zB ice1712)
        # format S32_LE
        ### Anzahl channels muss mit den bindings übereinstimmen
        channels 2
    }
    bindings {
        0 0
        1 1
    }
}

# Dies definiert unser Fullduplex-Plugin als Standard für alle ALSA-Programme.
pcm.duplex {
    type asym
    playback.pcm "dmixer"
    capture.pcm "dsnooper"
}

pcm.!default {
    type plug
    slave.pcm "duplex"
}
[email protected]:~$

(Oh ... sorry, I've just realized the ubuntu .asound page is in german, not english... )

Anyway, rebooted and tried every "HDA NVidia, HDMI 0" in xbmc-tsp with no luck.

Then I went on with your advice:

Code:
[email protected]:/etc/modprobe.d$ tail -f alsa-base.conf
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2
# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388
# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2
# Keep snd-usb-audio from beeing loaded as first soundcard
options snd-usb-audio index=-2
#options snd-hda-intel model=6stack-digout
options snd-hda-intel enable_msi=0 probe_mask=0xfff2

When I tried to run "/etc/init.d/alsa-utils restart" it cannot find alsa-utils.


Code:
[email protected]:~$ ll /etc/init.d/ |grep alsa
lrwxrwxrwx   1 root root    21 2011-10-11 09:28 alsa-restore -> /lib/init/upstart-job*
lrwxrwxrwx   1 root root    21 2011-10-11 09:28 alsa-store -> /lib/init/upstart-job*


[email protected]:~$ dpkg -la |grep alsa
ii  alsa-base                            1.0.24+dfsg-0ubuntu2                             ALSA driver configuration files
ii  alsa-tools                           1.0.24.1-0ubuntu1                                Console based ALSA utilities for specific hardware
ii  alsa-utils                           1.0.24.2-0ubuntu8.1                              Utilities for configuring and using ALSA
ii  gstreamer0.10-alsa                   0.10.35-1                                        GStreamer plugin for ALSA
rc  libsdl1.2debian-alsa                 1.2.14-6.1ubuntu4                                Simple DirectMedia Layer (with X11 and ALSA options)
ii  libsox-fmt-alsa                      14.3.2-1ubuntu1                                  SoX alsa format I/O library
[email protected]:~$


Very strange.


On the bright side, I now can use "aplay file.wav" instead of "aplay -D plughw:1,7 file.wav"


Any further thoughts on how to get sound in xbmc-tsp to work?


kind regards,

Soc



Reply
  •   
  • 1
  • 66
  • 67
  • 68(current)
  • 69
  • 70
  • 148
  •   



Logout Mark Read Team Forum Stats Members Help
New MythTV add-on using libcmyth8
This forum uses Lukasz Tkacz MyBB addons.