Powersheduler wakeup from S3 and DX faults (1 Viewer)

styriaman

Portal Pro
September 13, 2004
74
2
Austria/Styria
MediaPortal Version: 0.2.2.0 + SVN Update from 12/26/2006
MediaPortal Skin: Mayhem 3
Windows Version: Windows XP Prof (SP2) + Updates
CPU Type: AMD Athlon(m) 64 Processor 3200+
HDD: Hitachi 250GB
Memory: 1GB
Motherboard: Shuttle XPC SN85G4V2
Motherboard Chipset: nForce3 150 Chipset
Motherboard Bios:
Video Card: Radeon 9800SE (AIW) (128 MB)
Video Card Driver: Catalyst 5.7 (6.14.10.6553)
Sound Card: NVIDIA NForce
Sound Card AC3:
Sound Card Driver:
1. TV Card: SS2
1. TV Card Type: DVB-S
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:
MPEG2 Audio Codec:
Satelite/CableTV Provider: Astra 19.2°E
HTPC Case: Shuttle XPC SN85G4V2
Cooling:
Power Supply:
Remote:
TV:
TV - HTPC Connection:


Hi,

after moving my NOVA -S into the trashcan (because S3 issues) I use the SS2 card. Now I have the problem, that the wakeup after S3 works (with Powerscheduler), but the recording stops after a short time (I guess after the Scheduler timeout time) instead of recording the whole broadcast.
After opening the log, I see also Direct X faults

See http://pastebin.team-mediaportal.com/11634

Whats wrong with my setup or is there a problem in the in the Source?

Regards

Joe
 

Bavarian

Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Hi Joe,

    the pastebin do not show the complete entries, can you please zip all log files and attache them to your reply?

    Bavarian
     

    styriaman

    Portal Pro
    September 13, 2004
    74
    2
    Austria/Styria
    Hi Bavarian,

    thanks for your help to find the problem. I've attached the whole stuff beginning with the MP startup, programming the recording go into standby and than the wakeup.

    The recording is working (but has only 2 or 3 minutes) The GUI doesn't respond if I wakeup the PC again after the recording was done.

    The funny thing is that a normal standby and resume dosen't lead in DX errors. The 2nd think is that I've no remote - so I operate my PC with mouse and keyboard.

    I've also tried to remove the packedgfx stuff - but no help (and it's recreated by the programm)

    BTW I've found that I've you have a recording in the next few minutes (let's say within 5 minutes) and you go into standby it's to late for a wakeup. Maybe in this case a warning should appear that a recording will start in the next few minutes and cannot be done if you continue the standby process.


    Danke

    Sepp
     

    Bavarian

    Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Hi Sepp,

    can you try with the actual SVN version to reproduce this problem? Mr. Hipp did a bug fix on the 27.12.2006. Please run your next test with "extensive logging" switched on in Powerschedule Configuration.
    If problem still exists, then please post once again your logs.

    Bavarian
     

    styriaman

    Portal Pro
    September 13, 2004
    74
    2
    Austria/Styria
    Hi Bavarian,

    I tried it once more - discovered less exceptions - but the problem still apears. Is there somehow a difference if the powerscheduler resumes MP instead of continuing MP via a user action (press a key on the keyboard) during the reinit process?

    In my scenario the lines in the log

    2006-12-28 20:44:16.421875 [Info.][6]: Recorder: recording started 'neues kompakt' on channel:ZDFinfokanal from 20:45:00-21:00:00 id:13 priority:2147483635 quality:NotSet

    and

    20:46:30.015625 [Info.][6]: Recorder: recording ended 'neues kompakt' on channel:ZDFinfokanal from 20:45:00-21:00:00 id:13 priority:2147483635 quality:NotSet

    are curios.


    Nevertheless the new logs (extensive logging on) are attached. If I can help - please tell me - I'm familiar with debugging ;-)

    Danke für deine Bemühungen !

    Sepp
     

    Bavarian

    Retired Team Member
  • Premium Supporter
  • April 4, 2005
    698
    167
    Germany, Bayern
    Home Country
    Germany Germany
    Hi Sepp,

    the Recording ended is caused by this:

    2006-12-28 20:46:29.562500 [Info.][MPMain]: Main: WM_POWERBROADCAST: 0
    2006-12-28 20:46:29.562500 [Info.][MPMain]: Main: Windows is requesting hibernate mode

    This means that some progs are requesting hibernation. To find out if it is caused by MP please set two breakpoints at the following locations:

    1) util.cs - Line 2089 - return (Application.SetSuspendState(state, forceShutDown, false));

    2) WindowsController.cs - Line 270 - SetSuspendState((int)(hibernate ? 1 : 0), (int)(force ? 1 : 0), 0);

    and then run again MP to reproduce the failure. If one of the breakpoints are hit, please debug further to find out where are they are called from.



    Bavarian
     

    styriaman

    Portal Pro
    September 13, 2004
    74
    2
    Austria/Styria
    Hi Bavarian,

    after a short vacation and an update to the latest CVS - it works well now.

    Thanks for your help.

    Regards

    Sepp

    BTW: I got this "wait for pmt -1" in the log after wakeup after a successful recording - and no TV anymore - what does this mean ?
     

    styriaman

    Portal Pro
    September 13, 2004
    74
    2
    Austria/Styria
    Hello Bavarian,

    I have still one issue after resuming from a standby caused by the powerscheduler (at least if I standby and resume manually - it works)
    MP is unable to display the live TV afterwards.
    The first set of logs contains a log of startup MP- select a show to record - go manually to standby - MP wakes up for recording and goes asleep afterwards. Then I resumed from standby (by pressing the power button) and tried to go to live tv but not picture and sound.
    I see some repetitions of "wait for pmt -1" in the log.

    Nearly the same situation occures if I start MP go into live TV - stop it and wait for the automatic shutdown of powerscheduler. After waking up (with the power button) live TV didn't produce any picture/sound.


    Beside this I exceptions of various DX calls in the error.log

    Can you have a look on it?

    Danke

    Sepp
     

    Users who are viewing this thread

    Top Bottom