MP1.10 Bug Radio bug (1 Viewer)

JDWestoby

MP Donator
  • Premium Supporter
  • April 9, 2008
    265
    32
    68
    Poltimore, Devon
    Home Country
    United Kingdom United Kingdom
    Installed MP 1.10, seems OK (wish my TV cards would stop blue screening though).

    But after it has been on a while (probably after it has been used to watch/record) I will try a radio channel and it says 'no free tuner' available.

    I have two dual TBS tuners - 6289 & 6982 (4 in all, 2 freesat, 2 freeview). Not thing is going on and most oddly I CAN still tune into TV channels.

    So there is something smelly about radio!

    I exited MP and tried to restart TVService - no dice, wouldn't stop.

    A reboot "sorts" it out but that isn't a solution. This did not happen on previous versions (definitely 1.8 and I'm fairly sure not in 1.9 either)

    I run a client server system, this also kills my clients which having tried to load a radio channel and just stuck and need to be killed using Task manager.

    I will try to put up logs, but as it isn't obvious until it happens I tend to try to fix it (and it's too late by then - twit!).
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    wish my TV cards would stop blue screening though
    Hmm, BSODs are not a healthy sign. Are you 100% sure it is the tuner driver(s) triggering them? I take it you've checked heat levels, updated all drivers and BIOS etc.? Might be a good idea to try the tuners in another PC if possible.

    Not thing is going on and most oddly I CAN still tune into TV channels.
    So there is something smelly about radio!
    At face value this doesn't make sense to me. From a code perspective there's almost no difference between tuning digital radio and TV channels. I wonder whether you've mapped/linked your radio channels to all available tuners?

    I exited MP and tried to restart TVService - no dice, wouldn't stop.
    Which probably means a deadlock, maybe related to tuner(s) instability.

    I will try to put up logs...
    Yeah, logs, dates and times really needed to even begin to assist.
     

    JDWestoby

    MP Donator
  • Premium Supporter
  • April 9, 2008
    265
    32
    68
    Poltimore, Devon
    Home Country
    United Kingdom United Kingdom
    Definitely NOT a cooling issue it's in a Silverstone case without the top on and it has the CPU fan and a case fan pointing at the Norhtbridge.

    (Course could have a garbage CPU/block join, but it will often go for days, so I'm guessing probably not.)

    BSOD does reference the TV card even when it isn't in use (watching a recording) but I've got the latest drivers. (In fact I bought a new FreeSat card simply because I wasn't sure.)

    However onto the main topic.

    Here are some logs!

    It had recorded some thing slast night, I tried the TV channel this morning and that was fine (nothing recording/no streams active). Tried the Radio channel (a combined FreeSat/FreeView Radio 2) and it stuck!

    I waited for a few minutes and then dragged up Task manager and killed MP. Also lost the task bar here too.

    Changed the config to NOT start MP on boot and rebooted.

    Brought up the watchdog and exported the files.

    Haven't even looked them myself - I was so gung-ho about making sure I got them.

    As I say I have two dual TBS tuners so 4 tuners in all.

    If anyone has an idea (and I would absolutely HATE trying to work this out just from logs, so you have not just my sympathy but my sincere apologies for not providing more) I'm all ears.

    Thank you.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    Hello again

    Definitely NOT a cooling issue
    Okay.

    BSOD does reference the TV card
    Okay.

    It had recorded some thing slast night, I tried the TV channel this morning and that was fine (nothing recording/no streams active). Tried the Radio channel (a combined FreeSat/FreeView Radio 2) and it stuck!
    I assume by "this morning" you mean 13 December? Here in NZ it is already 14 December. ;)

    First comment:
    [collapse]
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: find free card for channel BBC Radio 2
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: find card for channel BBC Radio 2
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: got 2 tuning details for BBC Radio 2
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: channel #1 DVBT:radio: BBC Radio 2 Freq:514000 ONID:9018 TSID:4162 SID:6784 PMT:0x44C FTA:True LCN:702 BandWidth:8
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:1 type:RadioWebStream cannot tune to channel
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:2 type:DvbIP cannot tune to channel
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:3 type:DvbS cannot tune to channel
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:4 type:DvbS cannot tune to channel
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:5 type:DvbT can tune to channel
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:6 type:DvbT channel not mapped
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: channel #2 DVBS:radio:BSkyB BBC R2 Freq:10803000 ONID:2 TSID:2047 SID:6452 PMT:0x109 FTA:True LCN:10000 SymbolRate:22000 Modulation:ModNotSet Polarisation:LinearH InnerFecRate:Rate5_6 DisEqc:None band:Universal Pilot:NotSet RollOff:NotSet
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:1 type:RadioWebStream cannot tune to channel
    [2014-12-13 08:46:29,839] [Log ] [24 ] [INFO ] - Controller: card:2 type:DvbIP cannot tune to channel
    [2014-12-13 08:46:29,849] [Log ] [24 ] [INFO ] - Controller: card:3 type:DvbS can tune to channel
    [2014-12-13 08:46:29,850] [Log ] [24 ] [INFO ] - Controller: card:4 type:DvbS channel not mapped
    [2014-12-13 08:46:29,850] [Log ] [24 ] [INFO ] - Controller: card:5 type:DvbT cannot tune to channel
    [2014-12-13 08:46:29,850] [Log ] [24 ] [INFO ] - Controller: card:6 type:DvbT cannot tune to channel[/collapse]

    In other words, this BBC Radio 2 channel has 1 DVB-T tuning detail and 1 DVB-S tuning detail. However, TV Server can only use 2 of your 4 tuners - the first DVB-T tuner and the first DVB-S tuner - to tune it. That's because the channel is only mapped to the previously mentioned tuners (as I previously suspected might be the case). This is a bit unusual. The vast majority of people map all channels to all tuners to enable TV Server to perform the maximum number of simultaneous recording and/or timeshifting sessions with the available tuners.

    Second comment:
    [collapse]
    [2014-12-12 23:28:46,656] [Log ] [DVB EPG timer] [INFO ] - card: Tune on card 3 to subchannel CBeebies HD
    [2014-12-12 23:28:46,656] [Log ] [DVB EPG timer] [DEBUG] - card: user: epg:3:-1 tune DVBS:tv:BSkyB CBeebies HD Freq:11023000 ONID:2 TSID:2061 SID:8932 PMT:0x105 FTA:True LCN:10000 SymbolRate:23000 Modulation:Mod8Psk Polarisation:LinearH InnerFecRate:Rate2_3 DisEqc:None band:Universal Pilot:On RollOff:ThirtyFive
    [2014-12-12 23:28:46,666] [Log ] [DVB EPG timer] [INFO ] - dvbs: Tune:DVBS:tv:BSkyB CBeebies HD Freq:11023000 ONID:2 TSID:2061 SID:8932 PMT:0x105 FTA:True LCN:10000 SymbolRate:23000 Modulation:Mod8Psk Polarisation:LinearH InnerFecRate:Rate2_3 DisEqc:None band:Universal Pilot:On RollOff:ThirtyFive
    [2014-12-12 23:28:46,666] [Log ] [DVB EPG timer] [INFO ] - dvbs: Tune:DVBS:tv:BSkyB CBeebies HD Freq:11023000 ONID:2 TSID:2061 SID:8932 PMT:0x105 FTA:True LCN:10000 SymbolRate:23000 Modulation:Mod8Psk Polarisation:LinearH InnerFecRate:Rate2_3 DisEqc:None band:Universal Pilot:On RollOff:ThirtyFive
    [2014-12-12 23:28:46,666] [Log ] [DVB EPG timer] [INFO ] - dvb:GetNewSubChannel:0 #0
    [2014-12-12 23:28:46,666] [Log ] [DVB EPG timer] [INFO ] - TvDvbChannel ctor new subchIndex:0
    [2014-12-12 23:28:46,666] [Log ] [DVB EPG timer] [INFO ] - card: AddTuneEvent card: 3 / subch: 0
    [2014-12-12 23:28:46,676] [Log ] [DVB EPG timer] [INFO ] - LNB low:9750 hi:10600 switch:11700
    [2014-12-12 23:28:46,676] [Log ] [DVB EPG timer] [INFO ] - dvbs:channel modulation is set to Mod8Psk
    [2014-12-12 23:28:46,676] [Log ] [DVB EPG timer] [INFO ] - dvbs:channel FECRate is set to Rate2_3
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - dvb:confused:ubmiting tunerequest Channel:CBeebies HD subChannel:0
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - dvb:using existing subchannel:0
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - dvb:confused:ubmit tunerequest size:1 new:0
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - subch:0 OnBeforeTune
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - dvb:confused:ubmit tunerequest calling put_TuneRequest
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - dvb:confused:ubmit tunerequest done calling put_TuneRequest
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - subch:0 OnAfterTune
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - RunGraph
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - subch:0 OnGraphStart
    [2014-12-12 23:28:46,776] [Log ] [DVB EPG timer] [INFO ] - dvb: RunGraph
    [2014-12-12 23:28:46,996] [Log ] [DVB EPG timer] [INFO ] - dvb: LockInOnSignal ok
    [2014-12-12 23:28:46,996] [Log ] [DVB EPG timer] [INFO ] - subch:0 OnGraphStarted
    [2014-12-12 23:28:46,996] [Log ] [DVB EPG timer] [INFO ] - subch:0 SetupPmtGrabber:pid 105 sid:22E4
    [2014-12-12 23:28:46,996] [Log ] [DVB EPG timer] [INFO ] - subch:0 set pmt grabber pmt:105 sid:22E4
    [2014-12-12 23:28:46,996] [Log ] [DVB EPG timer] [DEBUG] - WaitForPMT: Waiting for PMT 105
    [2014-12-12 23:28:56,996] [Log ] [DVB EPG timer] [DEBUG] - WaitForPMT: Timed out waiting for PMT after 10 seconds. Increase the PMT timeout value?
    [2014-12-12 23:28:56,996] [Log ] [DVB EPG timer] [DEBUG] - Setting to 0 to search for new PMT.
    [2014-12-12 23:28:56,996] [Log ] [DVB EPG timer] [INFO ] - subch:0 SetupPmtGrabber:pid 0 sid:22E4
    [2014-12-12 23:28:56,996] [Log ] [DVB EPG timer] [INFO ] - subch:0 set pmt grabber pmt:0 sid:22E4
    [2014-12-12 23:28:56,996] [Log ] [DVB EPG timer] [DEBUG] - WaitForPMT: Waiting for PMT 0
    [2014-12-12 23:28:59,396] [Log ] [24 ] [DEBUG] - Debug: SSDPClientController: Problem parsing incoming multicast UDP packet. Error message: 'Invalid HTTP header line '''
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [DEBUG] - WaitForPMT: Timed out waiting for PMT after 10 seconds. Increase the PMT timeout value?
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [DEBUG] - Setting to 0 to search for new PMT.
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [INFO ] - tvcard:FreeSubChannel: subchannels count 1 subch#0
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [INFO ] - DVB subch:0 Decompose()
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [INFO ] - FreeSubChannel CA: freeing sub channel : 0
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [INFO ] - tvcard:FreeSubChannel : no subchannels present, pausing graph
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [INFO ] - dvb:confused:topGraph called
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [INFO ] - tvcard:FreeAllSubChannels
    [2014-12-12 23:29:06,996] [Log ] [DVB EPG timer] [INFO ] - dvb:confused:topGraph
    [2014-12-12 23:29:30,098] [Log ] [5 ] [DEBUG] - Debug: SSDPClientController: Problem parsing incoming multicast UDP packet. Error message: 'Invalid HTTP header line '''
    [/collapse]

    Without getting into the nitty gritty details, this means that tuner 3 is deadlocked from that point on. Any attempts to timeshift or record TV or radio with tuner 3 will fail. MP will lock up and you'll have to kill it with the task manager etc. Your attempt to start "Dave" prior to "Radio 2" only succeeded because TV Server used tuner 5 and avoided tuner 3.

    Now the reason for the deadlock, and the solution to the problem (hopefully!) is to follow the same advice given here:
    https://forum.team-mediaportal.com/threads/recording-failed-to-start.128150/#post-1106639

    The specific list of channels in that post doesn't apply to you, but everything else - especially the principle of not using non-24 hour channels like CBeebies for EPG grabbing - does. CBeebies happened to be the trigger for deadlock this time around, but it could just as easily have been BBC 4 etc.

    Regards,
    mm
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,849
    1,771
    Southampton
    Home Country
    United Kingdom United Kingdom
    BSOD does reference the TV card even when it isn't in use (watching a recording) but I've got the latest drivers. (In fact I bought a new FreeSat card simply because I wasn't sure.)
    The posters to the following thread have had problems with BSODs involving the TBS 6281 dual-tuner DVB-T2 card, and also its predecessor the TBS 6280 card:

    http://www.tbsdtv.com/forum/viewtopic.php?f=162&t=9157

    From your earlier post, it is not clear which TBS cards you have (I have not heard of a TBS 6289 card), and your system specs seem to be out of date. It might be worthwhile adding your experiences to that TBS thread; the more people that report a problem, the more chance that TBS will take the problem seriously. Alternatively, you may get more attention if you raise the issue with TBS Support (I get the impression that monitoring the TBS forum is quite low priority for them).

    I have two TBS 6284 quad-tuner DVB-T2 cards, and don't have any problems with BSODs.

    -- from CyberSimian in the UK
     

    JDWestoby

    MP Donator
  • Premium Supporter
  • April 9, 2008
    265
    32
    68
    Poltimore, Devon
    Home Country
    United Kingdom United Kingdom
    Hello mm<some infeasibly large number>.

    First thank you for the reply. It's not MY fault you're on the other side of the world ;) (or should that be..... never mind).

    I thought I HAD duplicated the mappings to the cards (just copied over from the one scan for terrestrial and one for satellite) - obviously not!

    Next, didn't know about the problem with grabbing EPG from non 24 hour channel - VERY useful information (and makes it a bit more of a pain - ho hum).


    Lastly (for you) at least stop being so clever, working from logs:D.

    Now CyberSimian (nice image), hadn't heard of any problems with TBS cards and my original (on my specs) satellite card had been fine for ages, hence I bought the new one (and hadn't updated my specs yet - too many things to remember/do).

    Ta muchly for the link - I will look at this and see what it all means for my setup.

    I leave my PC on 24/7 - the motherboard had SO many issues recovering from hibernation (wouldn't do standby darn it) that I eventually gave up trying.

    Anyway, it houses my Home Automation (HomeSeer 3) system now so it has to be on all the time.

    It's always annoying that as soon as a card is 'out the door' the manufacturers seem to lose interest in it - trying to get us to buy the next (better?) one.

    Thanks to all. Just paid my dues to MP so I feel vindicated in part......
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    <some infeasibly large number>
    LOL, it is a date (2000-05-13) that I signed up for a certain account... and the handle just stuck for some reason.

    Next, didn't know about the problem with grabbing EPG from non 24 hour channel - VERY useful information (and makes it a bit more of a pain - ho hum).
    Rather than trying to untick the 24 hour channels (which would be a pain), I'd try the approach of unticking all channels - both TV and radio - and tick the few that you actually need. For example, for Freesat EPG you need only tick the one radio channel called something like "EPG Background Audio". The EPG for all Freesat channels is carried on that channel's transponder. CyberSimian may be able to help you with the Freeview side of things. I'd expect it is much the same.
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,849
    1,771
    Southampton
    Home Country
    United Kingdom United Kingdom
    I leave my PC on 24/7 - the motherboard had SO many issues recovering from hibernation (wouldn't do standby darn it) that I eventually gave up trying.
    My HTPC (a Dell XPS 420) also has problems waking from sleep (one of the TBS tuner cards disappears from "Device Manager" on wake from sleep), but luckily the system works quite reliably using hibernation in place of sleep. (Getting it to wake from hibernation using the remote control is a bit convoluted, but now that I have it all set up, it works well.)

    It is a bit depressing that it seems impossible to predict whether two pieces of computer equipment will work correctly together. I am fairly certain that my problem is due to an error in the motherboard BIOS, for which (of course) there is now no support from Dell (it is not a current system). :(

    -- from CyberSimian in the UK
     

    CyberSimian

    Test Group
  • Team MediaPortal
  • June 10, 2013
    2,849
    1,771
    Southampton
    Home Country
    United Kingdom United Kingdom
    I'd try the approach of unticking all channels - both TV and radio - and tick the few that you actually need. .... CyberSimian may be able to help you with the Freeview side of things. I'd expect it is much the same.
    I initially set-up my EPG grabbing to grab only from selected channels, and only for selected channels, not really understanding the implications. That lead to the problems that were described in the thread that mm mentioned (now fixed with help from mm :)).

    For Freeview I would suggest this approach:

    (1) Google for a utility called "ScanChannelsBDA_UK.exe". You should be able to find somewhere to download it. If not, I have three different versions that I can let you have. Run this utility from the command line when none of the tuners is in use. The utility will scan the entire DVB-T/T2 spectrum, and display details about the MUXes that you can receive at your location (which will be different from the ones that I can receive). The utility will also display the channels that are broadcast in each MUX (except for the DVB-T2 MUXes).

    (2) For each MUX, choose one channel that you know is broadcast 24 hours per day. I would pick channels from the major broadcasters, i.e. ones that are less likely to cease broadcasting in 6 months time. Then, in "TV Server Config", select to grab from those channels, and deselect the option to grab only for selected channels. With that combination, MP will grab the EPG for all channels in each MUX, both TV channels and radio channels.

    (3) In the other thread, mm suggested that it might be possible to pick only one channel to grab the EPG for all MUXes. I have not tried this, but it might work. However:

    (a) You would have to pick a channel in a DVB-T2 MUX (e.g. "BBC One HD"). This is because the EPG broadcast in the DVB-T MUXes does not include the EPG for the HD channels, but the EPG broadcast in the DVB-T2 MUXes does include the EPG for the SD MUXes (at least, I think that that is how it works).

    (b) When I tried Windows 7 Media Center for a few days some time ago, I found that it would often populate the EPG for the MUXes that you were tuned to quite quickly, but not populate the EPG for channels in other MUXes. This may be a result of the way that the EPG is transmitted in the UK -- each MUX favours its own channels, and broadcasts the EPG for those channels much more frequently than the EPG for channels in other MUXes. So, if you opt for the "single channel for all MUXes" solution, you might find that the EPG for some channels takes a long time to populate (because those channels are in MUXes that you do not often watch or record).

    -- from CyberSimian in the UK
     
    Last edited:

    JDWestoby

    MP Donator
  • Premium Supporter
  • April 9, 2008
    265
    32
    68
    Poltimore, Devon
    Home Country
    United Kingdom United Kingdom
    EPG MUCH happier now, just ticked a few channels and it doesn't lock out the tuners (how are some people SO clever...!).

    Also, for interest mainly.

    I've turned my PC into a server only set up and since then (as far as I can tell) it seems to have avoided BSOD's.

    Odd, considering that I got them even when NOT using the card, just viewing.

    Now have a nice Lenovo Flex as the TV client and the original PC is a server with MP and HomeSeer on it - super fast especially with the SSD and SuperSpeed RamDisk for the temporary files.

    Big thanks to all who helped - or even thought about it.
     

    Users who are viewing this thread

    Top Bottom