home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TBS: CI/CAM support and other improvements
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mm1352000" data-source="post: 1134323" data-attributes="member: 82144"><p>Thanks, got 'em. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /></p><p></p><p>First, apologies for the length of this response. The TV service logs are complex and need a full response.</p><p></p><p>At 8:48 the PC resumes for the first time after sleeping overnight.</p><p>[2015-04-25 22:22:11,450] [Log ] [PowerEventThread] [DEBUG] - PS: Send "EnteringStandby" event</p><p>...</p><p>[2015-04-26 08:47:51,268] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic</p><p></p><p>After approximately one minute I see that the TV service is stopped. There were no attempts to tune any channels between resume and stop. If you were having a problem at that time it must have been a MediaPortal [client side] problem. Unfortunately those MediaPortal log files are not preserved so I can't investigate further.</p><p>[2015-04-26 08:49:48,780] [Log ] [TVService] [INFO ] - TV Service: stopped</p><p></p><p>TV service is started again:</p><p>[2015-04-26 08:50:28,160] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p></p><p>You try to tune AXN several times:</p><p>[collapse]</p><p>[2015-04-26 08:50:52,210] [Log ] [12 ] [INFO ] - Controller: find free card for channel AXN</p><p>[2015-04-26 08:50:52,210] [Log ] [12 ] [INFO ] - Controller: find card for channel AXN</p><p>[2015-04-26 08:50:52,220] [Log ] [12 ] [INFO ] - Controller: got 1 tuning details for AXN</p><p>[2015-04-26 08:50:52,220] [Log ] [12 ] [INFO ] - Controller: channel #1 DVBC:tv:Biatv AXN Freq:402000 ONID:1 TSID:543 SID:301 PMT:0x50 FTA:True LCN:6 SymbolRate:6952 Modulation:Mod256Qam</p><p>[2015-04-26 08:50:52,220] [Log ] [12 ] [INFO ] - Controller: card:1 type:RadioWebStream cannot tune to channel</p><p>[2015-04-26 08:50:52,230] [Log ] [12 ] [INFO ] - Controller: card:2 type<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" />vbIP cannot tune to channel</p><p>[2015-04-26 08:50:52,230] [Log ] [12 ] [INFO ] - Controller: found 0 card(s) for channel[/collapse]</p><p></p><p>The tuner is not available so it fails. Perhaps you had disabled the driver and forgot to enable it, I don't know. This is not TV Server's problem though.</p><p></p><p>TV service is stopped and started again:</p><p>[2015-04-26 08:51:38,944] [Log ] [TVService] [INFO ] - TV Service: stopped</p><p>...</p><p>[2015-04-26 08:52:21,321] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p></p><p>This time the tuner is detected:</p><p>[2015-04-26 08:52:31,977] [Log ] [TVService] [INFO ] - Detected new digital BDA tuner device TBS 6618 BDA DVBC Tuner @device<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />np:\\?\pci#ven_1131&dev_7160&subsys_00016618&rev_03#4&3036a63b&0&00a8#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{353e20b5-4b13-4db0-b84e-1e6f00040000}</p><p></p><p>You successfully tune AXN and AXN Black:</p><p>[2015-04-26 08:53:25,765] [Log ] [26 ] [INFO ] - Controller: find free card for channel AXN</p><p>...</p><p>[2015-04-26 08:53:26,565] [Log ] [26 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.02 seconds</p><p>...</p><p>[2015-04-26 08:53:39,449] [Log ] [26 ] [INFO ] - Controller: find free card for channel AXN Black</p><p>...</p><p>[2015-04-26 08:53:40,299] [Log ] [26 ] [INFO ] - card: WaitForFile - video and audio are seen after 0 seconds</p><p></p><p>You suspend and resume the PC:</p><p>[2015-04-26 08:53:59,620] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend</p><p>...</p><p>[2015-04-26 08:54:14,030] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic</p><p></p><p>You try to tune AXN White, but the tuner has not been detected so it fails:</p><p>[collapse]</p><p>[2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: find free card for channel AXN White</p><p>[2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: find card for channel AXN White</p><p>[2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: got 1 tuning details for AXN White</p><p>[2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: channel #1 DVBC:tv:Biatv AXN White Freq:402000 ONID:1 TSID:543 SID:303 PMT:0x51 FTA:True LCN:7 SymbolRate:6952 Modulation:Mod256Qam</p><p>[2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: found 0 card(s) for channel[/collapse]</p><p></p><p>The tuner was not detected until this time:</p><p>[2015-04-26 08:54:29,127] [Log ] [PowerEventThread] [INFO ] - Detected new digital BDA tuner device TBS 6618 BDA DVBC Tuner @device<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite7" alt=":p" title="Stick Out Tongue :p" loading="lazy" data-shortname=":p" />np:\\?\pci#ven_1131&dev_7160&subsys_00016618&rev_03#4&3036a63b&0&00a8#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{353e20b5-4b13-4db0-b84e-1e6f00040000}</p><p></p><p>That's because you've added a 10 second delay for tuner detection:</p><p>[2015-04-26 08:54:19,097] [Log ] [PowerEventThread] [INFO ] - Controller: delaying device detection for 10 second(s)</p><p></p><p>So, you need to be more patient. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite2" alt=";)" title="Wink ;)" loading="lazy" data-shortname=";)" /></p><p></p><p>Shortly after, you try to tune AXN Black successfully... which shows there was nothing wrong with the tuner or TV service:</p><p>[2015-04-26 08:54:29,837] [Log ] [27 ] [INFO ] - Controller: find free card for channel AXN Black</p><p>...</p><p>[2015-04-26 08:54:30,927] [Log ] [27 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.1100002 seconds</p><p></p><p>Then there's a 5 minute gap in the logs. The next thing I see is TV service restarting:</p><p>[2015-04-26 08:59:20,469] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p>...</p><p>[2015-04-26 08:59:43,479] [Log ] [TVService] [INFO ] - TV Service: stopped</p><p>...</p><p>[2015-04-26 09:00:08,372] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p></p><p>You try to tune DOQ:</p><p>[2015-04-26 09:00:33,532] [Log ] [7 ] [INFO ] - Controller: find free card for channel DOQ</p><p></p><p>This fails with a generic error:</p><p>[2015-04-26 09:00:33,582] [Log ] [7 ] [INFO ] - dvb: RunGraph returns: 0x8007001F</p><p></p><p>I presume this error comes from the driver because it doesn't come from TV Server. There's nothing more that I can say about it, so if you want to know more you'll have to ask TBS.</p><p></p><p>Same error for TV2 and Spektrum... so you enable preloading (IMHO a bad idea) and restart the TV service:</p><p>[2015-04-26 09:01:14,362] [Log ] [7 ] [INFO ] - Controller: Initializing TVServer</p><p>...</p><p>[2015-04-26 09:01:24,532] [Log ] [7 ] [INFO ] - Controller: preloading device</p><p></p><p>Tuning DOQ still fails with the same tuner driver error:</p><p>[2015-04-26 09:01:31,972] [Log ] [7 ] [INFO ] - Controller: find free card for channel DOQ</p><p>...</p><p>[2015-04-26 09:01:32,022] [Log ] [7 ] [INFO ] - dvb: RunGraph returns: 0x8007001F</p><p></p><p>Same for M2 HD.</p><p></p><p>Another 30 second gap in the log files and TV service is starting again:</p><p>[2015-04-26 09:02:29,604] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p></p><p>You try to tune AXN White, but still the same tuner driver error:</p><p>[2015-04-26 09:02:53,124] [Log ] [12 ] [INFO ] - Controller: find free card for channel AXN White</p><p>...</p><p>[2015-04-26 09:02:53,184] [Log ] [12 ] [INFO ] - dvb: RunGraph returns: 0x8007001F</p><p></p><p>After this you check the CAM menu:</p><p>[2015-04-26 09:03:38,024] [Log ] [7 ] [DEBUG] - Turbosight: enter menu</p><p></p><p>There's no problem with that, so you restart the TV service again (...or maybe you restart the PC or tuner driver):</p><p>[2015-04-26 09:05:25,264] [Log ] [TVService] [INFO ] - TV Service: stopped</p><p>...</p><p>[2015-04-26 09:08:43,768] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p></p><p>Now tuning DOQ is successful:</p><p>[2015-04-26 09:09:02,748] [Log ] [24 ] [INFO ] - Controller: find free card for channel DOQ</p><p>...</p><p>[2015-04-26 09:09:03,568] [Log ] [24 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.0200001 seconds</p><p></p><p>Spektrum and Film+ are also fine, so you try to suspend and resume again:</p><p>[2015-04-26 09:11:53,400] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend</p><p>...</p><p>[2015-04-26 09:12:02,732] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic</p><p></p><p>Film+ fails with a PMT error:</p><p>[2015-04-26 09:12:26,037] [Log ] [26 ] [INFO ] - Controller: find card for channel Film+</p><p>...</p><p>[2015-04-26 09:12:34,675] [Log ] [31 ] [DEBUG] - WaitForPMT: Timed out waiting for PMT after 4.0012289 seconds. Increase the PMT timeout value?</p><p></p><p>I can only guess that the tuner was not delivering a stream or your timeout value is too low.</p><p></p><p>Tuning of CNBC Europe is successful after one timeout:</p><p>[2015-04-26 09:12:42,255] [Log ] [7 ] [INFO ] - Controller: find card for channel CNBC Europe</p><p>...</p><p>[2015-04-26 09:12:47,005] [Log ] [7 ] [DEBUG] - WaitForPMT: Timed out waiting for PMT after 4.0000056 seconds. Increase the PMT timeout value?</p><p>...</p><p>[2015-04-26 09:12:49,855] [Log ] [7 ] [DEBUG] - WaitForPMT: Found PMT after 2.8500039 seconds.</p><p>...</p><p>[2015-04-26 09:12:50,045] [Log ] [7 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.1700002 seconds</p><p></p><p>Another gap in the logs and TV service is restarted again:</p><p>[2015-04-26 09:13:55,150] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p>...</p><p>[2015-04-26 09:15:21,340] [Log ] [TVService] [INFO ] - TV Service: stopped</p><p>...</p><p>[2015-04-26 09:15:43,260] [Log ] [8 ] [INFO ] - TV Service: Starting</p><p></p><p>Tuning AXN Black is successful:</p><p>[2015-04-26 09:16:05,910] [Log ] [7 ] [INFO ] - Controller: find free card for channel AXN Black</p><p>...</p><p>[2015-04-26 09:16:06,860] [Log ] [7 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.1000001 seconds</p><p></p><p>Film+ is good:</p><p>[2015-04-26 09:16:57,180] [Log ] [9 ] [INFO ] - Controller: find free card for channel Film+</p><p>...</p><p>[2015-04-26 09:16:58,040] [Log ] [9 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.0300001 seconds</p><p></p><p>This corresponds with the first tune request in the MediaPortal log:</p><p>[2015-04-26 09:16:57,090] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=Film+</p><p>...</p><p>[2015-04-26 09:17:00,451] [Log ] [52 ] [DEBUG] - ViewModeSwitcher: OnVideoReceived()</p><p></p><p>A final suspend + resume:</p><p>[2015-04-26 09:17:15,638] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend</p><p>...</p><p>[2015-04-26 09:17:29,749] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic</p><p></p><p>...and now we see the final Film+ test:</p><p>[2015-04-26 09:17:53,825] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=Film+</p><p></p><p>[2015-04-26 09:17:53,825] [Log ] [24 ] [INFO ] - Controller: find free card for channel Film+</p><p>...</p><p>[2015-04-26 09:17:54,615] [Log ] [4 ] [DEBUG] - WaitForPMT: Waiting for PMT 5A</p><p></p><p>MediaPortal locks up because the TV service crashes during the tune request. The Windows application event log shows the crash and the cause:</p><p>[collapse]</p><p>"4/26/2015 9:17:56 AM";".NET Runtime";"(0)";"Error";"Application: TVService.exe</p><p>Framework Version: v4.0.30319</p><p>Description: The process was terminated due to an unhandled exception.</p><p>Exception Info: exception code c0000005, exception address 06721B8C</p><p>";"1026"</p><p>"4/26/2015 9:17:57 AM";"Application Error";"Application Crashing Events";"Error";"Faulting application name: TVService.exe, version: 1.10.0.0, time stamp: 0x548c1072 Faulting module name: TBSCiApi0.dll, version: 1.0.1.4, time stamp: 0x52a03063 Exception code: 0xc0000005 Fault offset: 0x00011b8c Faulting process id: 0x16e4 Faulting application start time: 0x01d07ff0ce8d8f80 Faulting application path: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\TVService.exe Faulting module path: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\TBSCiApi0.dll Report Id: 5c4e37de-ebe4-11e4-90fe-08606e7042fa";"1000"</p><p>"4/26/2015 9:17:57 AM";"Windows Error Reporting";"(0)";"Information";"Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: TVService.exe P2: 1.10.0.0 P3: 548c1072 P4: TBSCiApi0.dll P5: 1.0.1.4 P6: 52a03063 P7: c0000005 P8: 00011b8c P9: P10: Attached files: These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TVService.exe_1e5396df96b3f8e5bee03bafcb5da08bbd6435ce_056c5763 Analysis symbol: Rechecking for solution: 0 Report Id: 5c4e37de-ebe4-11e4-90fe-08606e7042fa Report Status: 4";"1001"</p><p>"4/26/2015 9:18:02 AM";"Windows Error Reporting";"(0)";"Information";"Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: TVService.exe P2: 1.10.0.0 P3: 548c1072 P4: TBSCiApi0.dll P5: 1.0.1.4 P6: 52a03063 P7: c0000005 P8: 00011b8c P9: P10: Attached files: These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TVService.exe_1e5396df96b3f8e5bee03bafcb5da08bbd6435ce_056c5763 Analysis symbol: Rechecking for solution: 0 Report Id: 5c4e37de-ebe4-11e4-90fe-08606e7042fa Report Status: 0";"1001"[/collapse]</p><p></p><p>Note the source of the crash is in TBSCiApi0.dll, which is the TBS DLL for CI support. We have no control over the code in that DLL so in most cases you would need to get help from TBS if there are problems with it. The only hint I can offer is that I've seen crashes with that DLL before, and they were caused by the way that the TV service was reinitialised/started/stopped. The DLL fails to unload itself properly in certain cases. You could try to use the attached DLL instead of the one that was included with the patch. If this doesn't help then the problem will have to be raised with TBS.</p><p></p><p>Regards,</p><p>mm</p></blockquote><p></p>
[QUOTE="mm1352000, post: 1134323, member: 82144"] Thanks, got 'em. :) First, apologies for the length of this response. The TV service logs are complex and need a full response. At 8:48 the PC resumes for the first time after sleeping overnight. [2015-04-25 22:22:11,450] [Log ] [PowerEventThread] [DEBUG] - PS: Send "EnteringStandby" event ... [2015-04-26 08:47:51,268] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic After approximately one minute I see that the TV service is stopped. There were no attempts to tune any channels between resume and stop. If you were having a problem at that time it must have been a MediaPortal [client side] problem. Unfortunately those MediaPortal log files are not preserved so I can't investigate further. [2015-04-26 08:49:48,780] [Log ] [TVService] [INFO ] - TV Service: stopped TV service is started again: [2015-04-26 08:50:28,160] [Log ] [8 ] [INFO ] - TV Service: Starting You try to tune AXN several times: [collapse] [2015-04-26 08:50:52,210] [Log ] [12 ] [INFO ] - Controller: find free card for channel AXN [2015-04-26 08:50:52,210] [Log ] [12 ] [INFO ] - Controller: find card for channel AXN [2015-04-26 08:50:52,220] [Log ] [12 ] [INFO ] - Controller: got 1 tuning details for AXN [2015-04-26 08:50:52,220] [Log ] [12 ] [INFO ] - Controller: channel #1 DVBC:tv:Biatv AXN Freq:402000 ONID:1 TSID:543 SID:301 PMT:0x50 FTA:True LCN:6 SymbolRate:6952 Modulation:Mod256Qam [2015-04-26 08:50:52,220] [Log ] [12 ] [INFO ] - Controller: card:1 type:RadioWebStream cannot tune to channel [2015-04-26 08:50:52,230] [Log ] [12 ] [INFO ] - Controller: card:2 type:DvbIP cannot tune to channel [2015-04-26 08:50:52,230] [Log ] [12 ] [INFO ] - Controller: found 0 card(s) for channel[/collapse] The tuner is not available so it fails. Perhaps you had disabled the driver and forgot to enable it, I don't know. This is not TV Server's problem though. TV service is stopped and started again: [2015-04-26 08:51:38,944] [Log ] [TVService] [INFO ] - TV Service: stopped ... [2015-04-26 08:52:21,321] [Log ] [8 ] [INFO ] - TV Service: Starting This time the tuner is detected: [2015-04-26 08:52:31,977] [Log ] [TVService] [INFO ] - Detected new digital BDA tuner device TBS 6618 BDA DVBC Tuner @device:pnp:\\?\pci#ven_1131&dev_7160&subsys_00016618&rev_03#4&3036a63b&0&00a8#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{353e20b5-4b13-4db0-b84e-1e6f00040000} You successfully tune AXN and AXN Black: [2015-04-26 08:53:25,765] [Log ] [26 ] [INFO ] - Controller: find free card for channel AXN ... [2015-04-26 08:53:26,565] [Log ] [26 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.02 seconds ... [2015-04-26 08:53:39,449] [Log ] [26 ] [INFO ] - Controller: find free card for channel AXN Black ... [2015-04-26 08:53:40,299] [Log ] [26 ] [INFO ] - card: WaitForFile - video and audio are seen after 0 seconds You suspend and resume the PC: [2015-04-26 08:53:59,620] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend ... [2015-04-26 08:54:14,030] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic You try to tune AXN White, but the tuner has not been detected so it fails: [collapse] [2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: find free card for channel AXN White [2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: find card for channel AXN White [2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: got 1 tuning details for AXN White [2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: channel #1 DVBC:tv:Biatv AXN White Freq:402000 ONID:1 TSID:543 SID:303 PMT:0x51 FTA:True LCN:7 SymbolRate:6952 Modulation:Mod256Qam [2015-04-26 08:54:20,347] [Log ] [26 ] [INFO ] - Controller: found 0 card(s) for channel[/collapse] The tuner was not detected until this time: [2015-04-26 08:54:29,127] [Log ] [PowerEventThread] [INFO ] - Detected new digital BDA tuner device TBS 6618 BDA DVBC Tuner @device:pnp:\\?\pci#ven_1131&dev_7160&subsys_00016618&rev_03#4&3036a63b&0&00a8#{71985f48-1ca1-11d3-9cc8-00c04f7971e0}\{353e20b5-4b13-4db0-b84e-1e6f00040000} That's because you've added a 10 second delay for tuner detection: [2015-04-26 08:54:19,097] [Log ] [PowerEventThread] [INFO ] - Controller: delaying device detection for 10 second(s) So, you need to be more patient. ;) Shortly after, you try to tune AXN Black successfully... which shows there was nothing wrong with the tuner or TV service: [2015-04-26 08:54:29,837] [Log ] [27 ] [INFO ] - Controller: find free card for channel AXN Black ... [2015-04-26 08:54:30,927] [Log ] [27 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.1100002 seconds Then there's a 5 minute gap in the logs. The next thing I see is TV service restarting: [2015-04-26 08:59:20,469] [Log ] [8 ] [INFO ] - TV Service: Starting ... [2015-04-26 08:59:43,479] [Log ] [TVService] [INFO ] - TV Service: stopped ... [2015-04-26 09:00:08,372] [Log ] [8 ] [INFO ] - TV Service: Starting You try to tune DOQ: [2015-04-26 09:00:33,532] [Log ] [7 ] [INFO ] - Controller: find free card for channel DOQ This fails with a generic error: [2015-04-26 09:00:33,582] [Log ] [7 ] [INFO ] - dvb: RunGraph returns: 0x8007001F I presume this error comes from the driver because it doesn't come from TV Server. There's nothing more that I can say about it, so if you want to know more you'll have to ask TBS. Same error for TV2 and Spektrum... so you enable preloading (IMHO a bad idea) and restart the TV service: [2015-04-26 09:01:14,362] [Log ] [7 ] [INFO ] - Controller: Initializing TVServer ... [2015-04-26 09:01:24,532] [Log ] [7 ] [INFO ] - Controller: preloading device Tuning DOQ still fails with the same tuner driver error: [2015-04-26 09:01:31,972] [Log ] [7 ] [INFO ] - Controller: find free card for channel DOQ ... [2015-04-26 09:01:32,022] [Log ] [7 ] [INFO ] - dvb: RunGraph returns: 0x8007001F Same for M2 HD. Another 30 second gap in the log files and TV service is starting again: [2015-04-26 09:02:29,604] [Log ] [8 ] [INFO ] - TV Service: Starting You try to tune AXN White, but still the same tuner driver error: [2015-04-26 09:02:53,124] [Log ] [12 ] [INFO ] - Controller: find free card for channel AXN White ... [2015-04-26 09:02:53,184] [Log ] [12 ] [INFO ] - dvb: RunGraph returns: 0x8007001F After this you check the CAM menu: [2015-04-26 09:03:38,024] [Log ] [7 ] [DEBUG] - Turbosight: enter menu There's no problem with that, so you restart the TV service again (...or maybe you restart the PC or tuner driver): [2015-04-26 09:05:25,264] [Log ] [TVService] [INFO ] - TV Service: stopped ... [2015-04-26 09:08:43,768] [Log ] [8 ] [INFO ] - TV Service: Starting Now tuning DOQ is successful: [2015-04-26 09:09:02,748] [Log ] [24 ] [INFO ] - Controller: find free card for channel DOQ ... [2015-04-26 09:09:03,568] [Log ] [24 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.0200001 seconds Spektrum and Film+ are also fine, so you try to suspend and resume again: [2015-04-26 09:11:53,400] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend ... [2015-04-26 09:12:02,732] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic Film+ fails with a PMT error: [2015-04-26 09:12:26,037] [Log ] [26 ] [INFO ] - Controller: find card for channel Film+ ... [2015-04-26 09:12:34,675] [Log ] [31 ] [DEBUG] - WaitForPMT: Timed out waiting for PMT after 4.0012289 seconds. Increase the PMT timeout value? I can only guess that the tuner was not delivering a stream or your timeout value is too low. Tuning of CNBC Europe is successful after one timeout: [2015-04-26 09:12:42,255] [Log ] [7 ] [INFO ] - Controller: find card for channel CNBC Europe ... [2015-04-26 09:12:47,005] [Log ] [7 ] [DEBUG] - WaitForPMT: Timed out waiting for PMT after 4.0000056 seconds. Increase the PMT timeout value? ... [2015-04-26 09:12:49,855] [Log ] [7 ] [DEBUG] - WaitForPMT: Found PMT after 2.8500039 seconds. ... [2015-04-26 09:12:50,045] [Log ] [7 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.1700002 seconds Another gap in the logs and TV service is restarted again: [2015-04-26 09:13:55,150] [Log ] [8 ] [INFO ] - TV Service: Starting ... [2015-04-26 09:15:21,340] [Log ] [TVService] [INFO ] - TV Service: stopped ... [2015-04-26 09:15:43,260] [Log ] [8 ] [INFO ] - TV Service: Starting Tuning AXN Black is successful: [2015-04-26 09:16:05,910] [Log ] [7 ] [INFO ] - Controller: find free card for channel AXN Black ... [2015-04-26 09:16:06,860] [Log ] [7 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.1000001 seconds Film+ is good: [2015-04-26 09:16:57,180] [Log ] [9 ] [INFO ] - Controller: find free card for channel Film+ ... [2015-04-26 09:16:58,040] [Log ] [9 ] [INFO ] - card: WaitForFile - video and audio are seen after 0.0300001 seconds This corresponds with the first tune request in the MediaPortal log: [2015-04-26 09:16:57,090] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=Film+ ... [2015-04-26 09:17:00,451] [Log ] [52 ] [DEBUG] - ViewModeSwitcher: OnVideoReceived() A final suspend + resume: [2015-04-26 09:17:15,638] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: Suspend ... [2015-04-26 09:17:29,749] [Log ] [PowerEventThread] [DEBUG] - OnPowerEvent: PowerStatus: ResumeAutomatic ...and now we see the final Film+ test: [2015-04-26 09:17:53,825] [Log ] [MPMain ] [INFO ] - TVHome.ViewChannelAndCheck(): View channel=Film+ [2015-04-26 09:17:53,825] [Log ] [24 ] [INFO ] - Controller: find free card for channel Film+ ... [2015-04-26 09:17:54,615] [Log ] [4 ] [DEBUG] - WaitForPMT: Waiting for PMT 5A MediaPortal locks up because the TV service crashes during the tune request. The Windows application event log shows the crash and the cause: [collapse] "4/26/2015 9:17:56 AM";".NET Runtime";"(0)";"Error";"Application: TVService.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: exception code c0000005, exception address 06721B8C ";"1026" "4/26/2015 9:17:57 AM";"Application Error";"Application Crashing Events";"Error";"Faulting application name: TVService.exe, version: 1.10.0.0, time stamp: 0x548c1072 Faulting module name: TBSCiApi0.dll, version: 1.0.1.4, time stamp: 0x52a03063 Exception code: 0xc0000005 Fault offset: 0x00011b8c Faulting process id: 0x16e4 Faulting application start time: 0x01d07ff0ce8d8f80 Faulting application path: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\TVService.exe Faulting module path: C:\Program Files (x86)\Team MediaPortal\MediaPortal TV Server\TBSCiApi0.dll Report Id: 5c4e37de-ebe4-11e4-90fe-08606e7042fa";"1000" "4/26/2015 9:17:57 AM";"Windows Error Reporting";"(0)";"Information";"Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: TVService.exe P2: 1.10.0.0 P3: 548c1072 P4: TBSCiApi0.dll P5: 1.0.1.4 P6: 52a03063 P7: c0000005 P8: 00011b8c P9: P10: Attached files: These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TVService.exe_1e5396df96b3f8e5bee03bafcb5da08bbd6435ce_056c5763 Analysis symbol: Rechecking for solution: 0 Report Id: 5c4e37de-ebe4-11e4-90fe-08606e7042fa Report Status: 4";"1001" "4/26/2015 9:18:02 AM";"Windows Error Reporting";"(0)";"Information";"Fault bucket , type 0 Event Name: APPCRASH Response: Not available Cab Id: 0 Problem signature: P1: TVService.exe P2: 1.10.0.0 P3: 548c1072 P4: TBSCiApi0.dll P5: 1.0.1.4 P6: 52a03063 P7: c0000005 P8: 00011b8c P9: P10: Attached files: These files may be available here: C:\ProgramData\Microsoft\Windows\WER\ReportQueue\AppCrash_TVService.exe_1e5396df96b3f8e5bee03bafcb5da08bbd6435ce_056c5763 Analysis symbol: Rechecking for solution: 0 Report Id: 5c4e37de-ebe4-11e4-90fe-08606e7042fa Report Status: 0";"1001"[/collapse] Note the source of the crash is in TBSCiApi0.dll, which is the TBS DLL for CI support. We have no control over the code in that DLL so in most cases you would need to get help from TBS if there are problems with it. The only hint I can offer is that I've seen crashes with that DLL before, and they were caused by the way that the TV service was reinitialised/started/stopped. The DLL fails to unload itself properly in certain cases. You could try to use the attached DLL instead of the one that was included with the patch. If this doesn't help then the problem will have to be raised with TBS. Regards, mm [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
TBS: CI/CAM support and other improvements
Contact us
RSS
Top
Bottom