TV Server sometimes not working (2 Viewers)

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Hey all,

I've been using TV Server quite a while now and love what it can do, it totally rocks, no other tool's getting close but...
Getting everything solid and stable as a rock is quite hard I think, at least for me or my current setup (see specs below)

I have a HVR 2200, like the card, pretty good analog quality (I just use analog no DVB-T). However sometimes TV Server has problem finding the cards or something. I have not pinpointed an exact occurence it just happens from time to time, mostly after long periods (well long, say a day or so) without reboots. At first I suspected my S3 standby but just testing going to stanby and then waking the server with wol and watching the tv goes great, also after a longer period of standby (tested it immediatly and after say half an hour),
Since I don't use the DVB-t part of this card I guess I do not need to setup the hybrid groups right? I tried but didn't really seem to help.
I also updated to latest WinTV drivers just now, got a bit problematic afterwards with tv server but it seems like it's running smooth (well as smooth as it was) again.

The error that are in log differ (see 2 log files attached as Archive.zip), sometimes it gets a nullref when finding the card (? might be driver related) but also sometimes it says this
[collapse]2009-10-04 20:37:34.625000 [4]: TVController:ValidateTvControllerParams - incorrect parameters used! cardId 2 _cards.ContainsKey(cardId) == False CardPresent False
2009-10-04 20:37:34.625000 [4]: bij TvService.TVController.ValidateTvControllerParams(Int32 cardId, Boolean checkCardPresent)
bij TvService.TVController.CardName(Int32 cardId)
bij System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
bij System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)
bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg, Int32 methodPtr, Boolean fExecuteInContext)
bij System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
bij System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage(IMessage reqMsg)
bij System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage(IMessage reqMsg)
bij System.Runtime.Remoting.Channels.CrossContextChannel.SyncProcessMessageCallback(Object[] args)
bij System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage(IServerChannelSinkStack sinkStack, IMessage msg, IMessage& replyMsg)
bij System.Runtime.Remoting.Channels.DispatchChannelSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
bij System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders, Stream& responseStream)
bij System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.ServiceRequest(Object state)
bij System.Runtime.Remoting.Channels.SocketHandler.ProcessRequestNow()
bij System.Runtime.Remoting.Channels.RequestQueue.ProcessNextRequest(SocketHandler sh)
bij System.Runtime.Remoting.Channels.SocketHandler.BeginReadMessageCallback(IAsyncResult ar)
bij System.Net.LazyAsyncResult.Complete(IntPtr userToken)
bij System.Net.ContextAwareResult.CompleteCallback(Object state)
bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bij System.Net.ContextAwareResult.Complete(IntPtr userToken)
bij System.Net.LazyAsyncResult.ProtectedInvokeCallback(Object result, IntPtr userToken)
bij System.Net.Sockets.BaseOverlappedAsyncResult.CompletionPortCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* nativeOverlapped)
bij System.Threading._IOCompletionCallback.PerformIOCompletionCallback(UInt32 errorCode, UInt32 numBytes, NativeOverlapped* pOVERLAP)[/collapse]
I'm kinda clueless. Oh right, finally I also sometimes have error log entries that says it can't connect to MySQL but that's always after reboot when MySQL is still firing up and I guess TV Server is already running.

Any help would be awesome !

MediaPortal Version: 1.1.0 beta1
MediaPortal Skin: StreamedMP
Windows Version: Windows XP SP3 (x86)
CPU Type: AMD E5050 @ stock
HDD: Samsung F2 1,5TB + Samsung F1 1TB
Memory: OCZ Titanium XTC 4GB DDR2-800 CL4 kit | 4-4-5-15 | 1,8v
Motherboard: MSI KA780G
Video Card: Sapphire Radeon HD 4670 Ultimate 512MB
Video Card Driver: 9.9
Sound Card: Creative X-Fi ExtremeMusic
Sound Card AC3: no AC3
Sound Card Driver: latest non-beta
1. TV Card: Hauppauge HVR 2200
1. TV Card Type: Analog
1. TV Card Driver: 7.6.27.27223 (WinTV package 7.1.2)
MPEG2 Video Codec: ffdshow
MPEG2 Audio Codec: ffdshow
h.264 Video Codec: MPC-HD
Satelite/CableTV Provider: UPC
HTPC Case: Thermaltake DH101 Black
Cooling: 2x Papst 612FL 60mm (outtake), 1x Scythe Kaze Jyu Slim 100mm 1000rpm (CPU), 1x 120mm fan (intake)
Power Supply: OCZ StealthXStream 400W
Remote: Harmony One + MS IR receiver
TV: Sharp Aquos
TV - HTPC Connection: HDMI
 

Attachments

  • Archive.zip
    30.6 KB

frenzy

Portal Pro
April 29, 2008
228
10
Home Country
France France
I have the same problem and the same error log file. Looking at the windows event viewer I see that the vbicodec.ax is pinpointed as the culprit so I suspect it has something to do with the teletext of one or more channels. Can you confirm? I know it has been a long time but if you would be kind enough to search your event viewer for entries made the time when the error log was produced , I would appreciate it.
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
Sure I most definetely will.
I do check eventlogs from time to time and haven't seen that one mentioned yet.

I also dump the logs from time to time so I'll have to wait I think a bit till the next problem occurs.
Teletext being the culprit could be. I know my signal is not really good enough to have decent teletext all of the time so it might choke on a bad signal or something?
 

frenzy

Portal Pro
April 29, 2008
228
10
Home Country
France France
I have a bad signal on a channel too and seeing the vbicodec I thought it could be something like that. What is strange is that if it was teletext related theoretically it would choke intermittently but for me it looks like it does that every 36-48hrs (without reboot, just sleep). Meanwhile I'll unregister vbicodec for a couple of days to see what happens. Hope it's not required for mediaportal...

Meanwhile I'll unregister vbicodec for a couple of days to see what happens. Hope it's not required for mediaportal...

Nope, can't view analog without vbicodec
 

frenzy

Portal Pro
April 29, 2008
228
10
Home Country
France France
Issue solved (at least till now) by disabling teletext subtitles. Kinda sucks, but what can you do...
 

joz

Portal Pro
March 17, 2008
1,353
306
Home Country
Netherlands Netherlands
How do I disable subs?
Or is this part of new mp development progress?
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    How do I disable subs?
    Or is this part of new mp development progress?

    Not a new area, I think last code changes to teletext subtitle support has been done few years ago. So, please provide good bugreports and hopefully someone will investigate the issue.

    btw. disabling teletext subtitles causes only minor changes to code that is run.
     

    joz

    Portal Pro
    March 17, 2008
    1,353
    306
    Home Country
    Netherlands Netherlands
    tourettes:

    I will post my log when I have reproduced the error again, I believe I did post this before (another thread, I believe somewhere in the bugforums). On this thread are also my logs attached but I will do it again thru the proper channels (read the bug sub forum)
     

    Users who are viewing this thread

    Top Bottom