MP stops responding when watching TV (2 Viewers)

MPM

MP Donator
  • Premium Supporter
  • August 9, 2007
    70
    3
    Home Country
    Sweden Sweden
    Few weeks ago I started using DVBSBridge as my main TV source and have since then had some annoying issues with TV watching... Every now and then I lose control of MP. At first it seemed like the remote didn't work at all, but then I realized that only commands that still worked were rewinding and fast forwarding, i.e. navigating within the time-shift buffer with left and right arrow. All other commands and remote buttons are completely ignored and nothing is displayed in the GUI. Only way out is restarting MP...

    I have verified that this only happens when using DVBSBridge as TV source, but DVBSBridge itself seems to be working fine when this happens so I'm trying to understand where the week link is.

    I can see from the log files that something's wrong but don't understand what or how to approach it... I've attached log files that seem to reveal something interesting, other log files look fairly normal to me.

    Any hints?

    Regards,
    MPM


    Log from DVBSBridge probably doesn't reveal anything interesting even if it mentions an error. Following two lines are repeated all the time, regardless if I have issues or not:
    Code:
    11/05/09 20:44:59   CDBoxSourceControl::ProcessTransportStream. Error. Transport stream packet does not start with 0x47
    11/05/09 20:44:59   Error. CDBoxStreamHandler::StreamingThread. No 0x47 at the start of received data buffer

    MP's error.log displays following message when MP stops responding:
    Code:
    2009-11-05 18:26:31.259926 [ERROR][26]: render exception:System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    Parameter name: index
       at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
       at System.ThrowHelper.ThrowArgumentOutOfRangeException()
       at System.Collections.Generic.List`1.get_Item(Int32 index)
       at MediaPortal.GUI.Library.GUIListControl.RenderLabel(Single timePassed, Int32 buttonNr, Int32 dwPosX, Int32 dwPosY, Boolean gotFocus)
       at MediaPortal.GUI.Library.GUIListControl.Render(Single timePassed)
       at MediaPortal.GUI.Library.GUIControl.DoRender(Single timePassed, UInt32 currentTime)
       at MediaPortal.GUI.Library.GUIWindow.Render(Single timePassed)
    2009-11-05 20:43:54.025551 [ERROR][MPMain]: Main: Device lost - Error in the application.
    -2005530520 (D3DERR_DEVICELOST)
       at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, IntPtr overrideWindow)
       at Microsoft.DirectX.Direct3D.Device.PresentInternal(tagRECT* sourceRectangle, tagRECT* destRectangle, Control overrideWindow)
       at Microsoft.DirectX.Direct3D.Device.Present()
       at MediaPortalApp.Render(Single timePassed)

    And MP's main log looks like this:
    Code:
    2009-11-05 20:43:52.056801 [Warn.][26]: Main: ***** OnDeviceLost *****
    2009-11-05 20:43:52.056801 [Warn.][26]: Planescene caught DeviceLostException in InternalPresentImage
    2009-11-05 20:43:53.853676 [Warn.][MPMain]: Main: ***** OnDeviceLost *****
    2009-11-05 20:43:54.041176 [Warn.][MPMain]: d3dapp: Resetting DX9 device


    IR Server's log "switches" to "Button not found":
    Code:
    2009-11-05 18:26:59.275551 - Debug:	Pause, remote: Microsoft MCE, device: Microsoft MCE
    2009-11-05 18:26:59.275551 - Info:	Abstract Remote Button mapped: Pause
    2009-11-05 18:26:59.275551 - Debug:	SendToAll(RemoteEvent, Notify)
    2009-11-05 20:31:24.213051 - Debug:	Microsoft MCE generated a remote event: 57408
    2009-11-05 20:31:24.213051 - Info:	Abstract Remote Button not found: Microsoft MCE (57408)
    2009-11-05 20:31:24.213051 - Debug:	SendToAll(RemoteEvent, Notify)
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    2009-11-05 20:43:54.025551 [ERROR][MPMain]: Main: Device lost - Error in the application.
    -2005530520 (D3DERR_DEVICELOST)

    Did display drivers crash or was the HDMI / DVI connection to the monitor / tv closed? DirectX reports device lost in such cases.
     

    MPM

    MP Donator
  • Premium Supporter
  • August 9, 2007
    70
    3
    Home Country
    Sweden Sweden
    My guess would be neither...

    When this happens I can continue watching TV so I assume that both display drivers and HDMI connection are still in order. The only symptom I get is that MP stops responding to all remote input except for left and right arrows.

    Looking at the error.log info, the first error (18:26:31.259926 [ERROR][26]: render exception) is what happens when the described issue occurs. The second error (20:43:54.025551 [ERROR][MPMain]: Main: Device lost) is what happens when the issue has already occurred but I continue trying to "regain" control by pressing remote buttons much harder... :rolleyes:
     

    MPM

    MP Donator
  • Premium Supporter
  • August 9, 2007
    70
    3
    Home Country
    Sweden Sweden
    Yes. I was suspicious about the skin as well, that's why I didn't post before... The included logs are taken when using Blue Wide.

    It may also be interesting to know that this happens every time when I try to watch TV while it's recording and only occasionally without recording.
     

    Users who are viewing this thread

    Top Bottom