Hibernation does not work anymore after installing MP (1 Viewer)

vote4tux

Portal Member
December 30, 2007
23
2
Berlin
Home Country
Germany Germany
MediaPortal Version: 0.2.3.0
MediaPortal Skin: Default Skin "BlueTwo"
Windows Version: XP Professional SP2 German with latest Hotfixes
CPU Type: AMD Athlon X2 Dual Core BE-2400
HDD: 2 x Samsung HD501LJ
Memory: 4 x 1 GByte DDR2-667
Motherboard: Biostar TForce 520-A2
Motherboard Chipset: NVidia NForce 520 (MCP65)
Motherboard Bios: Phoenix - AwardBios
Video Card: XFX GeForce 7600 GS HDMI (256MB)
Video Card Driver: NVidia Forceware 169.21
Sound Card: Auzentech X-Plosion DTS
Sound Card Driver: Auzentech Inc. C-Media Driver
TV Card: none
MPEG2 Video Codec: Default
MPEG2 Audio Codec: Default
HTPC Case: Silverstone La Scala 18 v64
Cooling: Arctic-Cooling Freezer 64 Pro PWM
Power Supply: Seasonic S12II-380HB
Remote: none


Hello,

since I installed Mediaportal, Hibernation don't work anymore. The system reboots instead of going into hibernation. Both Standby and Hibernation worked perfectly before I installed Mediaportal.

The "allow S3 standby even though other devices present" is ticked. I downloaded the MCE standby Tool but the problem is not fixed.

I did the following 3 times (and the described error was reproduced 3 times too):

1) Absolutely clean on-scratch installation of Windows XP Professional with SP2 integrated.
2) Installation of all needed and WHQL certified HW Drivers
3) Check Suspend to RAM -> Works fine. Check Suspend to Disk -> Works fine.
4) Manually create a system restore point called "Clean and ready system"
5) Installation of all available Microsoft Hotfixes
6) Check Suspend to RAM -> Works fine. Check Suspend to Disk -> Works fine.
7) Manually create a new system restore point called "All Hotfixes installed"
8) Installation of some software (DivX-Codes, WinDVD-5, Firefox, NAI Virus Scan, Winamp). Reboot.
9) Check Suspend to RAM -> Works fine. Check Suspend to Disk -> Works fine.
10) Manually create another system restore point called "Custom Software installed"
11) Installation of MediaPortal 0.2.3.0 without changing any defaults
12) The System Restore Software lists a new maschine generated entry called "Microsoft Visual C++ 2005 Redistributable"
13) Check Suspend to RAM -> Works fine. Check Suspend to Disk -> Doesn't work anymore!!! (even MP isn't running).

Does anybody know, what drivers or components included in MP-Setup make trouble with the Hibernation Function and how can I fix that?

Thanks
 

Ramshackles

Portal Pro
December 10, 2007
51
0
Home Country
Denmark Denmark
I'm experiencing somewhat the same issues, can you get back to working S3 if you restore back up to before installing MP? Haven't tried myself. Last few days I've been struggling with my htpc not being able to wake from S3.
 

Paranoid Delusion

Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    I've been struggling with my htpc not being able to wake from S3

    That's not his problem S4 is, personally made up if S3 works fine (Hauppauge T500).

    Usually if something causes MP\XP to restart it is HW driver orientated, may be mouse\keyboard or even a network problem, why MP triggers it unsure, (remember MP runs using .net, M$'s baby) but it does happen.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    vote4tux, when you install MP for the first time could you skip the installing of Microsoft Visual C++ 2005 Redistributable & not run MP & test if S3 & S4 still works?
    After that if it still works, start MediaPortal configuration & click ok(to save the file) & then test again?
    This just to check out where it could come from....

    Regards
    Roy
     

    vote4tux

    Portal Member
    December 30, 2007
    23
    2
    Berlin
    Home Country
    Germany Germany
    Hi,
    vote4tux, when you install MP for the first time could you skip the installing of Microsoft Visual C++ 2005 Redistributable & not run MP & test if S3 & S4 still works?
    After that if it still works, start MediaPortal configuration & click ok(to save the file) & then test again?
    This just to check out where it could come from....

    Regards
    Roy

    Hello Roy,

    I could not skip the installing of MS Visual C++ 2005 because there is no option in GUI Setup for skipping...
    While monitoring the System Restore Tool I catched the following fact: It seems like every MSI-based installation creates a new system restore point. Of course MS Visual C++ 2005 creates a system restore point too, because it's MSI-based. So in the first time I read your answer I believed MS Visual C++ 2005 isn't the root of all evil.

    In the past few days I tried some other tests to localize the error...

    First: Make a nLite-based Windows XP SP2 integrated silent installation (interaction not required) with all my needed WHQL certified hardware drivers to get a full working on-scratch installation in less than 15 minutes. Works great.
    Second: Install the stuff needed for audio and video en-/decoding
    Third: I decided to install the Microsoft Hotfixes at last because I know that everything works fine until this point and to ensure, that the microsoft packages are the latest installed (last write wins).

    Following section is only for understaying AMD Cool'n'Quit support and to make sure that the CPU is able to shut down correctly

    This point was an eye-catcher:

    You usually only get security hotfixes on Microsofts Update Site. If you klick on "custom search" you get the optional hardware drivers too... There was an Advanced Micro Devices - AMD Processor Driver. I decided to install this hardware driver. Testing S3 + S4: works fine.

    While you could download the

    • AMD Athlon 64 X2 Dual Core Processor Driver for Windows XP and Windows Server 2003 Version (x86 and x64 exe) 1.3.2.16 and the
    • AMD Athlon 64 X2 Dual Core Processor Driver Version 1.3.2.0053 for Windows XP and Windows Server 2003 (x86 and x64)

    from AMD's Website too, I analyzed this three software packages. In fact:

    - The AMD Processor driver in the package 1.3.2.16 (amdcpusetup.exe) only contains the amdk8 Processor driver (*cat, *.inf and *.sys file)
    - The AMD Processor driver in the package 1.3.2.0053 (setup.exe) contains exactly the same amdk8 Processor driver and additionally the AmdPPM driver (AMD Processor Power Management Driver, DriverVersion: 04/16/2007)
    - The Microsoft optional Hardware driver only contains the AmdPPM driver in exactly the same version (DriverVersion: 04/16/2007)

    Totally confused ... the reason for the two different AMD packages is the support of quad core cpu's in the newer package. Because Microsoft doesn't develop hardware drivers for AMD, the Microsoft driver was only deployed by Microsoft and - of course - developed by AMD. And that's exactly the same AmdPPM driver you could download on AMD's Website too.

    After analyzing this crazy stuff I know what I have to do:

    Installing Microsoft AMD fix (to get AmdPPM)
    Installing (old) AMD package to get the amdk8 processor driver
    (When you install the new AMD package after installing Microsoft hardware driver, the installation log detects the always installed AmdPPM and skips the installation of AmdPPM, so that only amdk8 ist installed).

    Because de-installation of CPU drivers results in a non-operating system in my case, I tried a lot of testing with this.

    Last installation was another fresh on-scratch installation with the correct (and only needed) CPU and Power Management drivers. I installed MediaPortal and did nothing more (no MP configuration, no MP start). Could you believe that S3 + S4 works? I couldn't! But it works! :eek:
    Now ... and this was really my last task ... I configured MP and start it (play some videos and music). Trying to go into hibernation mode after closing MP .... Hibernation doesn't work anymore :confused:

    What next to localize the error? Do you have an idea?

    Thanks in advance
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi,
    Nope dunno exactly what could cause this but it seems to be something when running configuration, will see if i can see what it is.

    Thanks for testing, really good work

    Regards
    Roy
     

    vote4tux

    Portal Member
    December 30, 2007
    23
    2
    Berlin
    Home Country
    Germany Germany
    Hi again Roy,

    if I can help, I would do so. I am able to exactly monitor what changes are made to the system using a professional Software Management Environment where the Agent takes snapshots and "spy" everything that changes (e.g. Files, Registry, Mappings, Drivers, Rights, ACLs ...). So it is possible to get an exact "before" and "after" state.

    Any recommendations for the next tests?
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Just so we get this right once MP has been configured and the problem appears, say you reboot and then try, you get the same thing, no hibernation (this is just to check MP has not been running).

    So then if you uninstall MP from control panel, it then reverts to working (with or without rebooting), or does it then stay broken.
     

    ronilse

    Retired Team Member
  • Premium Supporter
  • July 19, 2005
    4,422
    283
    Moss
    Home Country
    Norway Norway
    Hi (yeah again ;) )
    There is something you can try:
    If you restore to the point before MP was installed / started(where the the hib worked), you can Export registry setting "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\usb" to a file. (open regedit -> mark the usb -> on file menu click on export & save it with a understandable name).
    Then get to a point where it doesn't work and merge the settings from the exported file, reboot (do not start MP), test if hibernation works, if it works start MP etc & test if hibernation still works(you may have to reboot between).
    This will show if it's the enable S3 trick that brakes hibernation for you.

    Regards
    Roy
     

    vote4tux

    Portal Member
    December 30, 2007
    23
    2
    Berlin
    Home Country
    Germany Germany
    Hello Roy and Ray,

    thanks for your fast answers. I will test both:

    1) exporting and joining reg keys (S3 switch)
    2) (a) uninstalling and (b) uninstalling with system restore

    Please give me some hours (maybe one or two days) for testing. I will start with a new clean install and write down every step exactly for better understanding.

    Kind Regards,
    Jan
     

    Users who are viewing this thread

    Top Bottom