Auto hibernate/wake up loop

Discussion in 'fixed 0.2.2.0 bugs' started by markius, December 30, 2006.

  1. markius

    markius Portal Pro

    Joined:
    December 26, 2006
    Messages:
    175
    Likes Received:
    4
    Occupation:
    IT
    Location:
    Maidstone, UK
    Ratings:
    +4 / 0
    Home Country:
    England England
    MediaPortal Version: 0.2.2.0 + SVN 12424
    MediaPortal Skin: BlueTwo Wide w/tweaks
    Windows Version: XP Pro SP2
    CPU Type: Celeron M 360 (1.4GHz/400MHz/1Mb L2)
    HDD: Seagate 300Gb 7200RPM SATA 150
    Memory: 512MB Crucial PC4200 CL4 (@ 400)
    Motherboard: MSI Speedster-FA4 (MS-9625)
    Motherboard Chipset: Intel 915GM
    Motherboard Bios:
    Video Card: Intel GMA 915
    Video Card Driver: 6.14.10.4704
    Sound Card: Intel ICH6 HD Audio / Realtek ALC880
    Sound Card AC3:
    Sound Card Driver:
    1. TV Card: Nebula DigiTV PCI
    1. TV Card Type: DVB-T
    1. TV Card Driver:
    2. TV Card:
    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: DScaler
    MPEG2 Audio Codec: DScaler
    Satelite/CableTV Provider:
    HTPC Case: Antec
    Cooling:
    Power Supply:
    Remote: MCE
    TV: Samsung 26in LCD LW26A33W
    TV - HTPC Connection: Sub-D

    Hello all

    I'm experiencing a problem with MediaPortal 0.2.2.0 and the PowerScheduler plugin.

    The problem manifests itself as a loop where MediaPortal will go to sleep on the PowerScheduler idle timer, and then wake up again within a minute, and then sleep on the idle timer again, and wake up again etc...

    Below is a short transcript of events and also a ZIP containing my log files.

    FYI, I have the idle timer configured to 3 minutes and pre & post record values of 5 minutes each. PowerScheduler is configured to put the PC into S3 standby.

    Code (Text):
    1. 20:08:25  Start Mediaportal (No existing timers)
    2. 20:09:36  Create new Advanced timer (BBC News 24, 20:25 - 20:55)
    3. 20:09:47  Return to home screen - idle
    4. 20:13:11  Auto standby
    5.  
    6. 20:19:04  Auto resume (Showing home screen - idle)
    7. 20:20:11  Recording in progress /// Pre-record 5 minutes
    8. 21:00:00  Recording has ended /// Post-record 5 minutes
    9. 21:06:13  Auto standby
    10.  
    11. 21:07:02  Auto resume (Showing home screen - idle)
    12. 21:10:42  Auto standby
    13.  
    14. 21:11:02  Auto resume (Showing home screen - idle)
    15. 21:14:41  Auto standby
    16.  
    17. 21:15:02  Auto resume (Showing home screen - idle)
    18. 21:18:42  Auto standby
    19.  
    20. 21:19:02  Auto resume (Showing home screen - idle)
    21. 21:22:42  Auto standby
    22.  
    23. 21:23:02  Auto resume (Showing home screen - idle)
    24. 21:26:42  Auto standby
    25.  
    26. 21:27:02  Auto resume (Showing home screen - idle)
    27. 21:30:42  Auto standby
    28.  
    29. 21:31:02  /// Ad infinitum
    Two bugs stand out:
    1. Technically, MP go to sleep at 21:03 and not 21:06 but this is only a small thing :D
    2. MP definately shouldn't get into the hibernate/wake up loop.


    Let me know if you need any more info.

    Thanks

    Mark


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. ronilse
    • Premium Supporter

    ronilse Retired Team Member

    Joined:
    July 19, 2005
    Messages:
    4,422
    Likes Received:
    280
    Gender:
    Male
    Occupation:
    MediaPortal tester
    Location:
    Moss
    Ratings:
    +280 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Hi,
    Does the loop stop when you disable the Alarm plugin?

    Regards
    Roy
     
  4. markius

    markius Portal Pro

    Joined:
    December 26, 2006
    Messages:
    175
    Likes Received:
    4
    Occupation:
    IT
    Location:
    Maidstone, UK
    Ratings:
    +4 / 0
    Home Country:
    England England
    Hi Roy

    I've just tested this and disabling the Alarm plugin has made no difference.

    In fact, looking at the log...
    Code (Text):
    1. 2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.OnTimer: -- OnTimerCall --
    2. 2006-12-31 00:58:10.578610 [Info.][MPMain]:    - Recorder.IsAnyCardRecording() = False
    3. 2006-12-31 00:58:10.578610 [Info.][MPMain]:    - Recorder.IsRadio()     = False
    4. 2006-12-31 00:58:10.578610 [Info.][MPMain]:    - g_Player.Playing       = False
    5. 2006-12-31 00:58:10.578610 [Info.][MPMain]:    - Database Update        = False
    6. 2006-12-31 00:58:10.578610 [Info.][MPMain]:    - ShutDown Time          = 31/12/2006 00:58:10
    7. 2006-12-31 00:58:10.578610 [Info.][MPMain]:    - WakeUp Time            = 31/12/2006 00:58:00
    8. 2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.ResetShutDown: ShutDownTimer disabled
    9. 2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: PowerScheduler,  Time: 31/12/2006 01:02:00
    10. 2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: WebEPG grabber,  Time: 01/01/2007 00:00:00
    11. 2006-12-31 00:58:10.594235 [Debug][MPMain]: PowerScheduler.SetWakeUpTime: WakeUp Timer set to 31/12/2006 01:02:00
    12. 2006-12-31 00:58:10.594235 [Debug][MPMain]: PowerScheduler.SetWakeUpTime:     ==> Seconds to wakeup = 229.984375
    13. 2006-12-31 00:58:10.594235 [Debug][MPMain]: PowerScheduler.SetShutDown: Next ShutDown in 3 minutes -> 01:01:10
    14. 2006-12-31 00:58:40.594619 [Debug][MPMain]: PowerScheduler.OnTimer: -- OnTimerCall --
    15. 2006-12-31 00:58:40.594619 [Info.][MPMain]:    - Recorder.IsAnyCardRecording() = False
    16. 2006-12-31 00:58:40.594619 [Info.][MPMain]:    - Recorder.IsRadio()     = False
    17. 2006-12-31 00:58:40.594619 [Info.][MPMain]:    - g_Player.Playing       = False
    18. 2006-12-31 00:58:40.594619 [Info.][MPMain]:    - Database Update        = False
    19. 2006-12-31 00:58:40.594619 [Info.][MPMain]:    - ShutDown Time          = 31/12/2006 01:01:10
    20. 2006-12-31 00:58:40.594619 [Info.][MPMain]:    - WakeUp Time            = 31/12/2006 01:02:00
    ...I can see that it's PowerScheduler itself that is scheduling the wakeup event 50 seconds after the sleep event! :eek:

    Mark
     
  5. Bavarian
    • Premium Supporter

    Bavarian Retired Team Member

    Joined:
    April 4, 2005
    Messages:
    698
    Likes Received:
    167
    Location:
    Germany, Bayern
    Ratings:
    +167 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Hi markius,

    thx for the log. Found the bug :)

    Will be after some testings included in the next SVN ;)


    Bavarian
     
  6. ronilse
    • Premium Supporter

    ronilse Retired Team Member

    Joined:
    July 19, 2005
    Messages:
    4,422
    Likes Received:
    280
    Gender:
    Male
    Occupation:
    MediaPortal tester
    Location:
    Moss
    Ratings:
    +280 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Hi,
    Nice if you fix this one :)

    But, Bavarian the wakeup to record it's totally broken in current SVN due to some changes between "mediaportal-svn-12-29-2006--14-26-Rev12412 (works) & mediaportal-svn-12-29-2006--18-11-Rev12416(broken).
    MP wakes up to scheduling as it should but recording never starts, if you go into My TVHome the TV it's disabled(have this set to start on tv entering) if I then enable TV recording starts too ;) .

    Regards
    Roy
     
  7. ronilse
    • Premium Supporter

    ronilse Retired Team Member

    Joined:
    July 19, 2005
    Messages:
    4,422
    Likes Received:
    280
    Gender:
    Male
    Occupation:
    MediaPortal tester
    Location:
    Moss
    Ratings:
    +280 / 0
    Home Country:
    Norway Norway
    Show System Specs
    Hi,
    Tested with another build today & now every wake up to record works (will test this further @ different times during the day).

    Build revision 12451 has fix for the wakeup loop & alarmplugin not working. Many thx to Bavarian :)

    Regards
    Roy
     
  8. markius

    markius Portal Pro

    Joined:
    December 26, 2006
    Messages:
    175
    Likes Received:
    4
    Occupation:
    IT
    Location:
    Maidstone, UK
    Ratings:
    +4 / 0
    Home Country:
    England England
    Roy, Bavarian - you do good work!

    I can confirm that the loop is no longer an issue with SVN build 12451.

    All the best for 2007!

    :D

    Mark
     
  9. Henry Mac
    • Premium Supporter

    Henry Mac MP Donator

    Joined:
    September 8, 2006
    Messages:
    69
    Likes Received:
    0
    Occupation:
    wms process engineer
    Location:
    Schiedam
    Ratings:
    +0 / 0
    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 Bavarian,

    I installed this SVN as well. I can confirm all works well with powerscheduler IF you have my alarm plugin enabled as well. If you don't then the the shutdowntimer will be disabled and set 31-Dec-99 23:59:59 and the system never sleeps.
     
  10. Henry Mac
    • Premium Supporter

    Henry Mac MP Donator

    Joined:
    September 8, 2006
    Messages:
    69
    Likes Received:
    0
    Occupation:
    wms process engineer
    Location:
    Schiedam
    Ratings:
    +0 / 0
    Home Country:
    Netherlands Netherlands
    hmm, not so:

    I get this in the logs all the time, any idea why?

    2007-01-01 18:32:24.531250 [Info.][6]: DVBGraph: grab epg for Motors TV
    2007-01-01 18:32:26.000000 [Info.][MPMain]: -- OnTimerCall --
    2007-01-01 18:32:26.000000 [Info.][MPMain]: - Recorder.IsAnyCardRecording() = False
    2007-01-01 18:32:26.000000 [Info.][MPMain]: - Recorder.IsRadio() = False
    2007-01-01 18:32:26.000000 [Info.][MPMain]: - g_Player.Playing = False
    2007-01-01 18:32:26.000000 [Info.][MPMain]: - Database Update = False
    2007-01-01 18:32:26.015625 [Info.][MPMain]: - ShutDown Time = 01-Jan-07 18:32:43
    2007-01-01 18:32:26.015625 [Info.][MPMain]: - WakeUp Time = 02-Jan-07 00:00:00
    2007-01-01 18:32:26.015625 [Info.][MPMain]: PowerScheduler.ResetShutDown: ShutDownTimer disabled
    2007-01-01 18:32:26.015625 [Info.][MPMain]: PowerScheduler.CheckNextRecoring: Recording: Record CSI: Miami every time on RTL5
    2007-01-01 18:32:26.031250 [Info.][MPMain]: PowerScheduler.CheckNextRecoring: Next Recording found at StartTime = 02-Jan-07 20:25:00, RTL5 - CSI: Miami
    2007-01-01 18:32:26.031250 [Info.][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: My Alarm, Time: 31-Dec-99 23:59:59
    2007-01-01 18:32:26.031250 [Info.][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: PowerScheduler, Time: 02-Jan-07 20:24:00
    2007-01-01 18:32:26.031250 [Info.][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: WebEPG grabber, Time: 02-Jan-07 00:00:00
    2007-01-01 18:32:29.046875 [Info.][6]: epg-grab: MHW ready...
    2007-01-01 18:32:29.046875 [Info.][6]: epg-grab: no MHW events, try DVB EPG:Motors TV
    2007-01-01 18:32:50.531250 [Info.][6]: epg-grab: EPG ready...
    2007-01-01 18:32:55.906250 [Info.][6]: epg-grab: EPG parsing...
    2007-01-01 18:32:56.093750 [Info.][MPMain]: -- OnTimerCall --
    2007-01-01 18:32:56.093750 [Info.][MPMain]: - Recorder.IsAnyCardRecording() = False
    2007-01-01 18:32:56.093750 [Info.][MPMain]: - Recorder.IsRadio() = False
    2007-01-01 18:32:56.093750 [Info.][MPMain]: - g_Player.Playing = False
    2007-01-01 18:32:56.093750 [Info.][MPMain]: - Database Update = False
    2007-01-01 18:32:56.109375 [Info.][MPMain]: - ShutDown Time = 31-Dec-99 23:59:59
    2007-01-01 18:32:56.109375 [Info.][MPMain]: - WakeUp Time = 02-Jan-07 00:00:00
    2007-01-01 18:32:56.109375 [Info.][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: My Alarm, Time: 31-Dec-99 23:59:59
    2007-01-01 18:32:56.109375 [Info.][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: PowerScheduler, Time: 02-Jan-07 20:24:00
    2007-01-01 18:32:56.109375 [Info.][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: WebEPG grabber, Time: 02-Jan-07 00:00:00
     
  11. Bavarian
    • Premium Supporter

    Bavarian Retired Team Member

    Joined:
    April 4, 2005
    Messages:
    698
    Likes Received:
    167
    Location:
    Germany, Bayern
    Ratings:
    +167 / 0
    Home Country:
    Germany Germany
    Show System Specs
    Can you please attache a zip file with the complete log?

    Bavarian
     
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!