Auto hibernate/wake up loop (1 Viewer)

markius

Portal Pro
December 26, 2006
175
4
Maidstone, UK
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:
20:08:25  Start Mediaportal (No existing timers)
20:09:36  Create new Advanced timer (BBC News 24, 20:25 - 20:55)
20:09:47  Return to home screen - idle
20:13:11  Auto standby

20:19:04  Auto resume (Showing home screen - idle)
20:20:11  Recording in progress /// Pre-record 5 minutes
21:00:00  Recording has ended /// Post-record 5 minutes
21:06:13  Auto standby

21:07:02  Auto resume (Showing home screen - idle)
21:10:42  Auto standby

21:11:02  Auto resume (Showing home screen - idle)
21:14:41  Auto standby

21:15:02  Auto resume (Showing home screen - idle)
21:18:42  Auto standby

21:19:02  Auto resume (Showing home screen - idle)
21:22:42  Auto standby

21:23:02  Auto resume (Showing home screen - idle)
21:26:42  Auto standby

21:27:02  Auto resume (Showing home screen - idle)
21:30:42  Auto standby

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
 

ronilse

Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Does the loop stop when you disable the Alarm plugin?

    Regards
    Roy
     

    markius

    Portal Pro
    December 26, 2006
    175
    4
    Maidstone, UK
    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:
    2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.OnTimer: -- OnTimerCall -- 
    2006-12-31 00:58:10.578610 [Info.][MPMain]:    - Recorder.IsAnyCardRecording() = False
    2006-12-31 00:58:10.578610 [Info.][MPMain]:    - Recorder.IsRadio()     = False
    2006-12-31 00:58:10.578610 [Info.][MPMain]:    - g_Player.Playing       = False
    2006-12-31 00:58:10.578610 [Info.][MPMain]:    - Database Update        = False
    2006-12-31 00:58:10.578610 [Info.][MPMain]:    - ShutDown Time          = 31/12/2006 00:58:10
    2006-12-31 00:58:10.578610 [Info.][MPMain]:    - WakeUp Time            = 31/12/2006 00:58:00
    2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.ResetShutDown: ShutDownTimer disabled
    2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: PowerScheduler,  Time: 31/12/2006 01:02:00
    2006-12-31 00:58:10.578610 [Debug][MPMain]: PowerScheduler.SetWakeUpTime: Plugin: WebEPG grabber,  Time: 01/01/2007 00:00:00
    2006-12-31 00:58:10.594235 [Debug][MPMain]: PowerScheduler.SetWakeUpTime: WakeUp Timer set to 31/12/2006 01:02:00
    2006-12-31 00:58:10.594235 [Debug][MPMain]: PowerScheduler.SetWakeUpTime:     ==> Seconds to wakeup = 229.984375
    2006-12-31 00:58:10.594235 [Debug][MPMain]: PowerScheduler.SetShutDown: Next ShutDown in 3 minutes -> 01:01:10
    2006-12-31 00:58:40.594619 [Debug][MPMain]: PowerScheduler.OnTimer: -- OnTimerCall -- 
    2006-12-31 00:58:40.594619 [Info.][MPMain]:    - Recorder.IsAnyCardRecording() = False
    2006-12-31 00:58:40.594619 [Info.][MPMain]:    - Recorder.IsRadio()     = False
    2006-12-31 00:58:40.594619 [Info.][MPMain]:    - g_Player.Playing       = False
    2006-12-31 00:58:40.594619 [Info.][MPMain]:    - Database Update        = False
    2006-12-31 00:58:40.594619 [Info.][MPMain]:    - ShutDown Time          = 31/12/2006 01:01:10
    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
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    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
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    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
     

    markius

    Portal Pro
    December 26, 2006
    175
    4
    Maidstone, UK
    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
     

    Henry Mac

    MP Donator
  • Premium Supporter
  • September 8, 2006
    69
    0
    53
    Schiedam
    Home Country
    Netherlands Netherlands
    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

    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.
     

    Henry Mac

    MP Donator
  • Premium Supporter
  • September 8, 2006
    69
    0
    53
    Schiedam
    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
     

    Users who are viewing this thread

    Top Bottom