error when resuming from hibernate: sample cannot be run... (1 Viewer)

alexeix

Portal Pro
January 28, 2005
199
5
UK
MediaPortal Version: 1.0.2
MediaPortal Skin: default
Windows Version: Windows 7
CPU Type: Atom 330 (dual core)
HDD: Hitachi 250GB
Memory: 2GB
Video Card: ION
1. TV Card: Kworld DVB-T 399U
1. TV Card Type: USB
HTPC Case: Acer Aspire Revo R3610

Hi,

I've just done a fresh installation of Media Portal and left it to record something overnight and then go into 'hibernate' mode, but I noticed a problem when resuming this morning.
The following error was displayed:

"This sample cannot be run in a desktop window with the current display settings.
Please change your desktop settings to a 16 or 32 bit display mode and re-run this sample.
Media Portal has to be closed."

When I click <OK> to close the message, Media Portal is at the stage "initialising DirectX" in the background.

Anyone have any idea why this is coming up?

It hasn't happened since, despite the machine going crazy and hibernating every few minutes...

Thanks.
 

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Most likely display drivers weren't ready and DirectX doesn't work correctly right after hibernate on random basis.
     

    alexeix

    Portal Pro
    January 28, 2005
    199
    5
    UK
    Okay, so I'll wait to see if it happens again and how often, then if I can reproduce it, I'll raise it as a bug - if that's the correct process (?).

    Cheers.
     

    kszabo

    MP Donator
  • Premium Supporter
  • December 6, 2007
    796
    86
    Germany, Bayern
    Home Country
    Hungary Hungary
    try to build in a short delay before MePo starts. Possible method:
    - install MediaPortal Standby handler (find it in this forum)
    - configure it: "stop MePo" on standby, "start MePo" on wakeup with a delay (10 sec)

    I used this on Vista like this:
    before standby:
    - stop MePo
    on wakeup:
    - stop MePo (if mepo could not be closed before, just for sure)
    - stop TV-Server, start TV-Server (to restart everything for stability)
    - start MePo
     

    PeterSpunkt

    MP Donator
  • Premium Supporter
  • February 8, 2010
    61
    2
    Southwest
    Home Country
    Germany Germany
    AW: error when resuming from hibernate: sample cannot be run...

    Use a Windows 7 Aero Theme and a original Aero Wallpaper.
    This will solve your problem.

    /PeterSpunkt

    P.S. i could also not believe before i tried it out :)
     

    jbsoum

    Portal Member
    January 15, 2011
    29
    0
    Hi, I still have this problem, even though I'm using the default aero theme and background. Any thoughts?
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Your hardware details would be good, or better still fill in system specs in user cp and enable them to be viewed :)
     

    jbsoum

    Portal Member
    January 15, 2011
    29
    0
    Ok, I have filled in all of my specs, so you should be able to view them now

    :oops:
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    Could be the nvidia bug ;)

    Did you see under MP config\general, there's a setting for restarting MP on resume (nvidia stuttering playback), personally cannot use current drivers as they crash on load.
     

    Users who are viewing this thread

    Top Bottom