HIBERNATION problem: GUI and ERROR [11] (1 Viewer)

SciDoctor

Retired Team Member
  • Premium Supporter
  • February 2, 2005
    1,465
    139
    England
    MediaPortal Version: since about svn 12000
    MediaPortal Skin: blue 2 /wide and xmas06
    Windows Version:w2ksp4 and xp
    CPU Type: amd MP and intel p3 and opteron
    HDD: 40gb -3TB
    Memory: 512MB -4GB
    Motherboard:
    Motherboard Chipset:
    Motherboard Bios:
    Video Card: Radeon spec
    Video Card Driver: CAT 6.5- 6.11
    Sound Card:
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: nebula dvb-t
    1. TV Card Type: pci and usb
    1. TV Card Driver:
    2. TV Card: nebula
    2. TV Card Type:
    2. TV Card Driver:
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec:cyberlink,dscaler,mpv
    MPEG2 Audio Codec: cyberlink,dscaler,mpv
    Satelite/CableTV Provider:
    HTPC Case:
    Cooling:
    Power Supply:
    Remote:
    TV:
    TV - HTPC Connection:


    I keep getting this error when the PC Hibernates, usualy when the Powerschedular envokes after a recording.

    I can't post the whole log as the size is 250MB (not KB) but it is just the same error repeated until I reboot the PC which in this case was eight hours later.

    06-12-08 03:47:56.640625 [ERROR][11]: Exception :Error in the application.
    2006-12-08 03:47:56.656250 [ERROR][11]: site :Void PresentInternal(Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, IntPtr)
    2006-12-08 03:47:56.656250 [ERROR][11]: source :Microsoft.DirectX.Direct3D
    2006-12-08 03:47:56.671875 [ERROR][11]: stacktrace: 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)
    2006-12-08 03:47:56.796875 [ERROR][11]: Exception :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)


    The error is repeatable across a whole range of PC's using different cpu's memory hardrives, tv cards etc so it MAY be something in the new GUI code.


    The same error also occurs for a different reason when MP is sat in the systray and a DX or OGL program is run then closed and MP is then 'restored' from the systray.

    Makes no difference if the GUI is a seperate thread or not.
     

    Henry Mac

    MP Donator
  • Premium Supporter
  • September 8, 2006
    69
    0
    53
    Schiedam
    Home Country
    Netherlands Netherlands
    MediaPortal Version: 0.2.2.0
    MediaPortal Skin: bluetwo
    Windows Version: xp sp2
    CPU Type: AMD Athlon 64 3500 S939
    HDD: Samsung SP2514N 250gb 7200 rpm 8mb (2x)
    Memory: 1GB DDR 400 (2x 512MB)
    Motherboard: Gigabyte GA-K8NF-9
    Motherboard Chipset: Nforce 4 (4x) chipset
    Motherboard Bios: Award Software International, Inc. F11, 1/13/2006
    Video Card: VGA Radeon X1600 Pro PCI-e
    Video Card Driver: ATI 8.282.0.0
    Sound Card: Juli@
    Sound Card AC3: s/pdif coax
    Sound Card Driver:
    1. TV Card: Technotrend c-1500
    1. TV Card Type: DVB-C
    1. TV Card Driver: BDA-Drivers 4.4.10.18
    2. TV Card: FloppyDTV
    2. TV Card Type: DVB-C
    2. TV Card Driver: 4.2
    3. TV Card:
    3. TV Card Type:
    3. TV Card Driver:
    4. TV Card:
    4. TV Card Type:
    4. TV Card Driver:
    MPEG2 Video Codec: mpa
    MPEG2 Audio Codec: mpv
    Satelite/CableTV Provider: caiway
    HTPC Case: OrigenAE X15e Black
    Cooling: Zalman Cooler 7700-CU
    Power Supply: Silentmaxx Fanless 400 Watt / 460 W Peak PSU
    Remote: Microsoft WinXP MCE Remote
    TV: Jvc Av-32x37s CRT
    TV - HTPC Connection: s-video

    Hi,

    I have the same with 0.2.2.0. Did you find a solution?
     

    chefkoch

    Retired Team Member
  • Premium Supporter
  • October 5, 2004
    3,129
    1,634
    Dresden / Munich / Maastricht
    Home Country
    Germany Germany
    Please post more information, step by step instructions, all log files as attachments in your post.
    You can remove massive duplicated log entries, but keep some of them.

    Tested here the following:
    Started MP > minimized to tray > started Flight Simulator X in fullscreen > closed it > restored MP

    Now there are a few error messages, but i think this is a procedure to keep mp running. After a few seconds i can continue using MP. So all is ok, here. (I think) ;)

    regards
    chefkoch
     

    Peter Pan

    Portal Pro
    April 22, 2004
    119
    3
    Kiel
    Home Country
    Germany Germany
    MediaPortal Version: MP 2.0.0, SVN 12580, TVEngine 3 SVN 12537
    MediaPortal Skin: BlueTwo
    Windows Version: WindowsXP SP2
    CPU Type: Pentium 4 2.8GHz
    HDD: Segate 160GB
    Memory: 512 MB
    Motherboard: Barebone Hermes 651
    Motherboard Chipset: MSI 651
    Motherboard Bios: Newest
    Video Card: Geforce FX 5200
    Video Card Driver: 8.1.9.8
    Sound Card: On Board Realtek ALC650
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Cinergy 12000 DVB-T
    1. TV Card Type: DVB-T
    1. TV Card Driver: 4.8.0.16 (BDA)
    MPEG2 Video Codec: Cyberlink PDVD6
    MPEG2 Audio Codec: Cyberlink PDVD6


    Hi there,

    I have a similar problem.
    Sometime after wakeup from Standby MP only shows up a black screen.

    Code:
    2007-01-11 07:20:37.296875 [Info.][MPMain]: Exception   :Error in the application.
    2007-01-11 07:20:37.296875 [Info.][MPMain]:   site      :Void BeginScene()
    2007-01-11 07:20:37.296875 [Info.][MPMain]:   source    :Microsoft.DirectX.Direct3D
    2007-01-11 07:20:37.296875 [Info.][MPMain]:   stacktrace:   at Microsoft.DirectX.Direct3D.Device.BeginScene()
       at MediaPortalApp.Render(Single timePassed)
    2007-01-11 07:20:37.328125 [Info.][MPMain]: Exception   :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
       at Microsoft.DirectX.Direct3D.Device.BeginScene()
       at MediaPortalApp.Render(Single timePassed)
    2007-01-11 07:20:37.328125 [Info.][MPMain]: Exception   :Error in the application.
    2007-01-11 07:20:37.328125 [Info.][MPMain]:   site      :Void BeginScene()
    2007-01-11 07:20:37.328125 [Info.][MPMain]:   source    :Microsoft.DirectX.Direct3D
    2007-01-11 07:20:37.328125 [Info.][MPMain]:   stacktrace:   at Microsoft.DirectX.Direct3D.Device.BeginScene()
       at MediaPortalApp.Render(Single timePassed)
    2007-01-11 07:20:37.359375 [Info.][MPMain]: Exception   :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
       at Microsoft.DirectX.Direct3D.Device.BeginScene()
       at MediaPortalApp.Render(Single timePassed)
    2007-01-11 07:20:37.359375 [Info.][MPMain]: Exception   :Error in the application.
    2007-01-11 07:20:37.359375 [Info.][MPMain]:   site      :Void BeginScene()
    2007-01-11 07:20:37.359375 [Info.][MPMain]:   source    :Microsoft.DirectX.Direct3D
    2007-01-11 07:20:37.359375 [Info.][MPMain]:   stacktrace:   at Microsoft.DirectX.Direct3D.Device.BeginScene()
    
    .....
       at MediaPortalApp.Render(Single timePassed)

    Attention the uncompress logfiles are over 60MB.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Peter Pan, you can't use PowerScheduler with TVE3 yet.
    Support forum for TVE3 it's lokated here ;)

    Regards
    Roy
     

    Peter Pan

    Portal Pro
    April 22, 2004
    119
    3
    Kiel
    Home Country
    Germany Germany
    Hi,
    Peter Pan, you can't use PowerScheduler with TVE3 yet.
    Support forum for TVE3 it's lokated here ;)

    Regards
    Roy

    Hi ronilse,

    I did not use PowerScheduler.
    I have written a little tool to wake up my TVserver before a recording starts.

    The error is not a problem of the TVEngine3.
     

    SweMart

    MP Donator
  • Premium Supporter
  • March 25, 2006
    359
    11
    46
    Stockholm, Sweden
    Home Country
    Sweden Sweden
    I'm getting the same with 0.2.2.0 on wakeup(S3):

    Code:
    2007-03-21 20:52:53.109375 [Info.][MPMain]: Exception   :Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortalApp.Render(Single timePassed)
    2007-03-21 20:52:53.109375 [Info.][MPMain]: Exception   :Error in the application.
    2007-03-21 20:52:53.109375 [Info.][MPMain]:   site      :Void Clear(Microsoft.DirectX.Direct3D.ClearFlags, Int32, Single, Int32, System.Drawing.Rectangle[])
    2007-03-21 20:52:53.109375 [Info.][MPMain]:   source    :Microsoft.DirectX.Direct3D
    2007-03-21 20:52:58.593750 [Info.][MPMain]:   stacktrace:   at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Int32 color, Single zdepth, Int32 stencil, Rectangle[] regions)
       at Microsoft.DirectX.Direct3D.Device.Clear(ClearFlags flags, Color color, Single zdepth, Int32 stencil)
       at MediaPortalApp.Render(Single timePassed)
    2007-03-21 20:52:58.593750 [Info.][MPMain]: Main: WM_POWERBROADCAST: 7
    2007-03-21 20:52:58.593750 [Info.][MPMain]: Main: Windows has resumed from hibernate mode
    2007-03-21 20:52:58.593750 [Info.][MPMain]: Main: OnResume - OnResume called but !_suspended

    Which causes the following error message after pressing "Live TV" on my MCE remote:
    Code:
    2007-03-21 20:53:10.046875 [Info.][6]: Command:MediaPortal.TV.Recording.TimeShiftTvCommand failed reason:Misslyckades med att påbörja timeshifting
    Unable to create graph time:15,625 msec

    Been running 0.2.0.4 without a single flaw since it was released, What should I do?

    - Try a SVN build
    - Revert to 0.2.0.4
    - Is it some config thats missing? The following looks weird:
    "2007-03-21 20:52:58.593750 [Info.][MPMain]: Main: OnResume - OnResume called but !_suspended".

    Any help would be appreciated!
     

    Users who are viewing this thread

    Top Bottom