RC3: Exception when going to Standby (1 Viewer)

hwahrmann

Development Group
  • Team MediaPortal
  • September 15, 2004
    4,630
    2,462
    Vienna, Austria
    Home Country
    Austria Austria
    Area: Media Portal Program
    MP Version: 0.2RC3 + CVS from 24.03. at araound 18:00
    Skin: Project X
    Windows Version: XP Professional SP2
    CPU Type: Intel Pentium-M
    Memory: 1GB
    Motherboard Chipset: AOpen i915Ga-HFS
    Video Card: Intel Onboard Graphics
    Video Card Driver: Latest Intel Driver
    Video Card Resolution: 1024 x 768
    Video Render Type: VMR9
    Video Codec Type & Version: InterVideo
    Audio Codec Type & Version: InterVideo
    TV Card: PVR500MCE
    TV Card Type: hardware
    TV Card Driver: Latest Hauppage Driver

    Synopsis:
    When i send the PC to Standby (S3) with mp running i get an exception in the log:

    Code:
    25.03.2006 16:23:05 WM_POWERBROADCAST: 4
    25.03.2006 16:23:05   windows is suspending!
    25.03.2006 16:23:06 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)
    25.03.2006 16:23:06 Exception   :Error in the application.
    25.03.2006 16:23:06   site      :Void PresentInternal(Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, Microsoft.DirectX.PrivateImplementationDetails.tagRECT*, IntPtr)
    25.03.2006 16:23:06   source    :Microsoft.DirectX.Direct3D
    25.03.2006 16:23:06   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)
    25.03.2006 16:23:28 WM_POWERBROADCAST: 7
    25.03.2006 16:23:28   windows has resumed from hibernate normally

    When powering up the system works normally.
    Looks like the error was introduced by a change in d3dapp.cs in line 1453 - 1463 that were introduced in version 1.214 of the module:
    Code:
          try
          {
              if (!GUIGraphicsContext.Vmr9Active)
              {
                  Render(GUIGraphicsContext.TimePassed);
              }
          }
          catch (Exception ex)
          {
              Log.Write(ex);
          }
     

    wewe

    Portal Pro
    August 3, 2005
    362
    0
    65
    Herxheim
    Home Country
    Germany Germany
    hi all,

    Bavarian is working on that issue.

    Not on a high priority as it is not show stopper - but he is taking care.

    thanks+regards
    WeWe
     

    Users who are viewing this thread

    Top Bottom