[no Bug] LiveTV just stops - out of memory error (1 Viewer)

nicx

Portal Pro
February 1, 2006
387
12
Stuttgart
Home Country
Germany Germany
Hi,

after upgrading RC4 to RC5 LiveTV just stops after a few minutes watching without any error. I can restart livetv, but after some minutes it just stops again.

maybe a powerscheduler problem? attached the logs.

nicx...
 

jameson_uk

Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    Guess this happend because of this
    Code:
    2010-06-25 15:39:47.298094 [DVB EPG timer(11)]: Exception   :System.Runtime.Remoting.RemotingException: Der angeforderte Dienst wurde nicht gefunden

    which according to google translate is "The requested service was not found" but not sure what the equivalent English error is for this. Try changing the EPG settings or stop grabbing EPG data for channels you do not need

    Also you are using MDAPI
    Code:
    2010-06-25 15:39:54.994534 [Info.][FilterChecker(5)]: FilterChecker: Found mdapifilter from 08.12.2009 located at C:\Program Files\Team MediaPortal\MediaPortal TV Server\mdapifilter.ax
    which is not supported so advice is going to limited. If you can replicate this without MDAPI installed then we will be able to look at this more in depth
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    It looks like TVService did restart at 15:39 following the above then you had issues later again

    Code:
    2010-06-25 16:14:16.195845 [Debug][(9)]: System.ArgumentException: Ungültiger Parameter.
       bei System.Drawing.Image.FromStream(Stream stream, Boolean useEmbeddedColorManagement, Boolean validateImageData)
       bei System.Drawing.Image.FromStream(Stream stream)
       bei MediaPortal.FrameGrabber.GetCurrentImage()
    and
    Code:
    2010-06-25 16:15:21.472578 [Debug][(9)]: Fehler in der Anwendung.
    -2147024882 (E_OUTOFMEMORY)
       bei Microsoft.DirectX.Direct3D.SurfaceLoader.SaveSurfaceToStreamInternal(ImageFileFormat destFormat, Surface srcSurface, PaletteEntry[]& sourcePalette, tagRECT* srcRectangle)
       bei Microsoft.DirectX.Direct3D.SurfaceLoader.SaveToStream(ImageFileFormat destFormat, Surface srcSurface)
       bei MediaPortal.FrameGrabber.GetCurrentImage()
    and
    Code:
    2010-06-25 16:15:34.930348 [Warn.][MPMain(1)]: d3dapp: DirectX9Ex is lost or gpu hung --> Reinit of DX9Ex is needed.

    So if you had problems at 15:39 then again at 16:15 these look like different issues (and this second issue looks like a problem with IFC?)
     

    nicx

    Portal Pro
    February 1, 2006
    387
    12
    Stuttgart
    Home Country
    Germany Germany
    ok, i disabled the mdapi, epg grabber and ifc for further testing. but i still have this problem. i will post more logs later because the debug mode is just running now :)

    nicx...
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    d3dapp: DirectX9Ex is lost or gpu hung --> Reinit of DX9Ex is needed.

    This can be caused only by a broken drivers / HW. It tells that DirectX detected GPU hung. Most likely OS managed to restart GPU drivers and MP just reacts to that by restarting Skin Engine. Unfortunately MP1 cannot continue the video playback in such case (maybe MP2 will handle it more graceful, but even the recommendation from Microsoft is that it would be good to close the application, not to continue).
     

    nicx

    Portal Pro
    February 1, 2006
    387
    12
    Stuttgart
    Home Country
    Germany Germany
    hm bad news.. i dont change any drivers, the only change to my system was the update from rc4 to rc5. i will keep an eye on it.

    thanks
    nicx...
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    hm bad news.. i dont change any drivers, the only change to my system was the update from rc4 to rc5. i will keep an eye on it.

    thanks
    nicx...
    If you do manage to get logs of issue can you make a note of what time you saw the issue. If MP logs cover a couple of hours (and TV logs cover a whole day) it can be quite difficult to check. If you can say that TV died on you at xx:xx then this would help a lot :D
     

    nicx

    Portal Pro
    February 1, 2006
    387
    12
    Stuttgart
    Home Country
    Germany Germany
    ok the problem still occurs, attached the logfiles. there are a lot of directx error messages wit out of memory... the time when the livetv stream stops was 16:43.

    thanks!
    nicx...
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    you have other third party plugins here

    Code:
    2010-06-28 16:22:25.928923 [Info.][MPMain(1)]:   Load plugins from : C:\Program Files\Team MediaPortal\MediaPortal\Plugins\process\IntelligentFrameCorrection.dll
    2010-06-28 16:22:25.980926 [Info.][MPMain(1)]:   File Version : 1.0.0.0
    2010-06-28 16:22:25.991926 [Debug][MPMain(1)]: I.F.C.: Config loaded!

    and it looks like the problems start earlier
    Code:
    2010-06-28 16:41:00.562676 [Debug][(8)]: System.OutOfMemoryException: Nicht genügend Arbeitsspeicher.
       bei System.Drawing.Graphics.CheckErrorStatus(Int32 status)
       bei System.Drawing.Graphics.DrawImage(Image image, Int32 x, Int32 y, Int32 width, Int32 height)
       bei System.Drawing.Bitmap..ctor(Image original, Int32 width, Int32 height)
       bei System.Drawing.Bitmap..ctor(Image original)
       bei MediaPortal.FrameGrabber.GetCurrentImage()
    and you system finally gives up and dies
    Code:
    2010-06-28 16:42:37.681231 [Debug][(8)]: Fehler in der Anwendung.
    -2147024882 (E_OUTOFMEMORY)
       bei Microsoft.DirectX.Direct3D.SurfaceLoader.SaveSurfaceToStreamInternal(ImageFileFormat destFormat, Surface srcSurface, PaletteEntry[]& sourcePalette, tagRECT* srcRectangle)

    I am not sure of many things which use FrameGrabber other than IFC and AutoCropper. From your logs it appears you are only using IFC?

    If only IFC then can you try removing it for a few days and see if you still have problems?

    Also you are using the onboard GPU yes? If so how much shared memory is allocated to it and can you increase this?
     

    jameson_uk

    Retired Team Member
  • Premium Supporter
  • January 27, 2005
    7,258
    2,528
    Birmingham
    Home Country
    United Kingdom United Kingdom
    and again MDAPI is there

    Code:
    2010-06-28 16:25:38.715949 [(6)]: mdplug: This MDAPIfilter accept Extend capabilities
    2010-06-28 16:25:38.716950 [(6)]: mdplug: The mdplugin folder for this instance is : MDPlugins\card00
    2010-06-28 16:25:38.717950 [(6)]: mdplugs: add mdapifilter0
    2010-06-28 16:25:38.718950 [(6)]: mdplugs: connect maintee->mdapifilter0
    2010-06-28 16:25:38.720950 [(6)]: mdplugs: connect mdapifilter0->2nd tee
    2010-06-28 16:25:38.721950 [(6)]: mdplugs:  Render [inftee2]->[demux]

    I am not able to re-produce the issues here and for me TV is working fine (but I do not use MDAPI or IFC)

    The only way we can treat this as a bug is if we can confirm it is happening because on MP and no external factors like IFC or MDAPI.

    The only way we are going to be able to help is if you are able to reproduce the error without any extenal plugins (including things like fanarthandler)
     

    Users who are viewing this thread

    Top Bottom