Media Portal freezes on wake (1 Viewer)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,956
    5,629
    France - IDF
    Home Country
    France France
    When you say record.
    Record channel? Because i use multi seat system. And my client dont start on recording.

    Else this morning. mp resumed fine
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,956
    5,629
    France - IDF
    Home Country
    France France
    I must check if the resume was not more fast too... Generally i have the last frames of the previous livetv. When i resume.
    But to be honest the morning my view is not good.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :) me too, i need to focus my eyes on morning but not too long :)
    My HTPC resume alone (no TvServer on it because it's multiseat setup) but i think it resume because of my setting to remotely wake up it (when i didn't set to only wake up with magic packet) or it's my cat that jump on my keyboard lol.

    I don't know if it's possible to create a task to wake up PC (i think it's possible because my backup program installed on my dev PC can do that :) )
     

    keeperoftraken

    Portal Member
    September 30, 2012
    14
    7
    St ives, Cambs
    Home Country
    Great Britain (UK) Great Britain (UK)
    Downloaded and tested installer.
    it fixes the problem I was having with hibernate and waking up for recording.
    With the installer posted in this thread, when waking up due to scheduled recording, mediaportal shows the screen that mediaportal was on at the time of hibernate. It stays on that screen until I press a button on the remote. Mediaportal then goes to home screen and mediaportal functions as it should.
    Thankyou.

    Logs included in case they can be of any help
     
    Last edited:

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,956
    5,629
    France - IDF
    Home Country
    France France
    So,
    none issue for now, on resume ... at least GUI interface,
    because my devil on LiveTV after resume is back with 1.12 official. :love: :p
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    @keeperoftraken
    Thank you for the log files. They're perfect. (y)

    Successful solution for the target problem:
    [collapse]
    [2015-11-04 11:23:54,768] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMSUSPEND)
    [2015-11-04 11:23:54,768] [Log ] [MPMain ] [INFO ] - Main: Suspending operation
    [2015-11-04 11:23:54,768] [Log ] [MPMain ] [INFO ] - TVHome.WndProc(): Windows is suspending
    [2015-11-04 11:23:54,784] [Log ] [MPMain ] [INFO ] - TvNotify: stop
    [2015-11-04 11:23:55,065] [Log ] [MPMain ] [INFO ] - open folderdatabase
    [2015-11-04 11:23:55,096] [Log ] [MPMain ] [INFO ] - picture database opened
    [2015-11-04 11:23:55,096] [Log ] [MPMain ] [INFO ] - Main: VideoDatabaseV5.db3 sqllite database cache flushed to disk.
    [2015-11-04 11:23:55,096] [Log ] [MPMain ] [INFO ] - Main: OnSuspend - Done
    [2015-11-04 11:23:55,096] [Log ] [MPMain ] [INFO ] - Main: Deactivation request received
    [2015-11-04 11:37:25,194] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMEAUTOMATIC)
    [2015-11-04 11:37:25,241] [Log ] [MPMain ] [INFO ] - Main: Resuming automatic operation
    [2015-11-04 11:37:25,241] [Log ] [MPMain ] [INFO ] - Main: VideoDatabaseV5.db3 sqllite database disk cache activated.
    [2015-11-04 11:37:25,258] [Log ] [MPMain ] [INFO ] - Main: OnResumeAutomatic - Done
    [2015-11-04 11:37:26,461] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE)
    [2015-11-04 11:37:26,461] [Log ] [MPMain ] [INFO ] - Main: The display is on
    [2015-11-04 11:39:10,227] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE)
    [2015-11-04 11:39:10,237] [Log ] [MPMain ] [INFO ] - Main: User is providing input to the session
    [2015-11-04 11:39:10,237] [Log ] [MPMain ] [INFO ] - Main: Resuming operation of user interface
    [2015-11-04 11:39:10,247] [Log ] [MPMain ] [INFO ] - Main: OnResumeSuspend - Switch to basic home screen[/collapse]

    Manual resume (previously working) not affected:
    [collapse]
    [2015-11-04 12:13:38,836] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMSUSPEND)
    [2015-11-04 12:13:38,836] [Log ] [MPMain ] [INFO ] - Main: Suspending operation
    [2015-11-04 12:13:38,836] [Log ] [MPMain ] [INFO ] - TVHome.WndProc(): Windows is suspending
    [2015-11-04 12:13:38,836] [Log ] [MPMain ] [INFO ] - TvNotify: stop
    [2015-11-04 12:13:39,066] [Log ] [MPMain ] [INFO ] - Main: VideoDatabaseV5.db3 sqllite database cache flushed to disk.
    [2015-11-04 12:13:39,066] [Log ] [MPMain ] [INFO ] - Main: OnSuspend - Done
    [2015-11-04 12:13:39,066] [Log ] [MPMain ] [INFO ] - Main: Deactivation request received
    [2015-11-04 12:14:24,562] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMESUSPEND)
    [2015-11-04 12:14:24,577] [Log ] [MPMain ] [INFO ] - Main: Resuming automatic operation - order of events is wrong
    [2015-11-04 12:14:24,593] [Log ] [MPMain ] [INFO ] - Main: VideoDatabaseV5.db3 sqllite database disk cache activated.
    [2015-11-04 12:14:24,593] [Log ] [MPMain ] [INFO ] - Main: OnResumeAutomatic - Done
    [2015-11-04 12:14:24,609] [Log ] [MPMain ] [INFO ] - Main: Resuming operation of user interface
    [2015-11-04 12:14:24,624] [Log ] [MPMain ] [INFO ] - MAP: using default mappings for Generic-HID
    [2015-11-04 12:14:24,656] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE)
    [2015-11-04 12:14:24,656] [Log ] [MPMain ] [INFO ] - Main: User is providing input to the session
    [2015-11-04 12:14:24,656] [Log ] [MPMain ] [INFO ] - Main: Resuming operation of user interface
    [2015-11-04 12:14:24,671] [Log ] [MPMain ] [INFO ] - Remotes: Init was called before Stop - stopping devices now
    [2015-11-04 12:14:24,671] [Log ] [MPMain ] [INFO ] - MAP: using default mappings for Generic-HID
    [2015-11-04 12:14:24,765] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_APMRESUMEAUTOMATIC)
    [2015-11-04 12:14:24,765] [Log ] [MPMain ] [INFO ] - Main: PBT_APMRESUMEAUTOMATIC was already handled, skipping
    [2015-11-04 12:14:24,765] [Log ] [MPMain ] [INFO ] - Main: WM_POWERBROADCAST (PBT_POWERSETTINGCHANGE)
    [2015-11-04 12:14:24,765] [Log ] [MPMain ] [INFO ] - Main: The display is on[/collapse]

    Looks good. :)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,577
    8,224
    Home Country
    New Zealand New Zealand
    What do you think to apply this patch to 1.13 Final?
    I would recommend to put this in a PR (probably 1.14) rather than 1.13 final. Reliable standby/hibernate + resume is very important, and I wouldn't want to risk breaking that function in a final/stable release with a patch that hasn't received enough testing. However, it isn't my decision, and maybe more than 5 people will have time to test between now and the 1.13 merge deadline.
     

    Users who are viewing this thread

    Top Bottom