Direct3D could not be created after resume (1 Viewer)

The_Stig

Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Country flag
    If MP isnt starting via task scheduler you set something up wrong :) (Had this too on first try but don't remember what the error was). But indeed there will be a delay if you set it up this way.

    If its a dedicated htpc you could try this too:
    I use, MP as Shell, Explorer don't start. but i use Logon Script; because RunKey don't work if Explorer.exe is not used as shell look PDF available here : BootSkin - MePo 3D - for Windows 7/
     

    gurabli

    Portal Pro
    July 20, 2010
    242
    5
    Hungary Hungary
    If MP isnt starting via task scheduler you set something up wrong :) (Had this too on first try but don't remember what the error was). But indeed there will be a delay if you set it up this way.

    If its a dedicated htpc you could try this too:
    I use, MP as Shell, Explorer don't start. but i use Logon Script; because RunKey don't work if Explorer.exe is not used as shell look PDF available here : BootSkin - MePo 3D - for Windows 7/
    Yes, I look into this again. My ultimate goal is also to set up htpc as Azzuro did, that is, without explorer as shell, using directly MP as shell. I hope it will solve the issue. That overall brings the best dedicated HTPC experience, and if everything is working correctly, there is no need to have explorer as shell. In any case, it is easy to start explorer via task manager if some configuration is needed, especially via remote desktop access, as I use remote desktop to make adjustments anyway.
    With MP set as shell, and Windows logon and boot backgrounds customized, with the speed of SSD, the windows based htpc running MP starts even quicker than an Amiko Alien, or an Enigma2 based stb (VU+ or DM), but much more powerful. If I achieve this with an existing version of MP and set of plugins I use without irritating bugs (like this one is), I will not update anything. As a rule, if something works good for you and is able to do everything you need, don't touch that system:)
     

    Dainara

    Portal Member
    January 8, 2011
    36
    1
    Germany
    Germany Germany
    Hi, i have the same Problem too, i start MePo as shell and i found a easy way to fix the Problem,
    i write an batch file to test something, couse when i let autostart mepo, it hang on direct3d, than i have to close it with Task Manager, than i can mepo normaly start
    ok i try to write an batch file what do exactly this

    here is the code for the mepostart.bat

    start "" "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe"
    timeout /t 5
    taskkill /F /IM MediaPortal.exe /T
    start "" "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe"

    put the batch file into your autostart or in your shell script and deactivate autostart mepo in mepo configuration
    this batch works for me in windows 7 64bit

    1. line starts mepo
    2. line is an sleep command
    3. kills everything with mepo
    4. line starts mepo again

    try it and let me know if it work for you too :)
    ByeBye Dainara
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,433
    10,254
    France
    France France
    Country flag
    Hi :)

    I have made maybe a fix for it but like i couldn't reproduce the issue, i couldn't really test, it's an ugly workaround but maybe ok after all :)
    In code i have add a loop to try to init MP only when D3D is available.
    So in theory it should work and mp start correctly.

    I will try with 'always on top' checked to see how it does.

    I can supply a bin for testing againt 1.6.0 Pre release :)
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Country flag
    Are you able to try ?
    I am terribly sorry, but can't test currently. The system were I had the issue is my productive htpc and family isn't happy when I am testing things with it...
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    C Problem playing videos created on IPhone X and Samsung S9 General Support 2
    G [fixed] No recorded video thumbnails created while recording. 2.2 Archive 2
    M [solved] MP2 v 2.2.1 Issue - Registry Key not created General 5
    uxDesign Can't play Blu Ray: VideoPlayer9: Exception while creating DShow graph 1.20 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 3
    F After resume, TV Server connection screen is shown General Support 4
    Dark Eyes TVService locks up or fails to restart on resuming from sleep, and crashes when grabbing EPG Installation, configuration support 7
    P MP2 Client Screen Flickering on Resume General 2
    HTPCSourcer [fixed] [MP2-815] User not logged in when resuming from standby MediaPortal 2 17
    J Resume from Standby Last Module TV Showing TV Server Settings Television (MyTV frontend and TV-Server) 2
    R Media portal resumes with wrong screen resolution General Support 3
    B resume from within a folder Watch / Listen Media 0
    joecrow No Audio after MP Start/Resume from Sleep General Support 0
    R Weird sleep/resume loop General Support 4
    joecrow Further problem on resume from sleep (MP Crash) 1.21 5
    joecrow Loss of Navigation Sounds on Resume from Sleep Mp 1.21 General Support 10
    D [further infos missing] Problems switching to live tv channel after resume 2.2 Archive 1
    stirlinghart [duplicate] Mp not focused on after resuming from sleep 2.2 Archive 7
    P Multiple clients - share resume/watched data General 1
    stirlinghart FOCUS not on MP after resuming from sleep General 11
    U IR Blaster doesn't work after system wake/resume General Support 6
    megahorst Mediaportal chrashs when the PC goes to suspend mode (or when it resumes?) 1.19 11
    B pls help. tv stops playing but resumes if I push pause and play General 0
    BlueMax1916 Problems with MP1 client process dying when resuming from standby, probably MovingPictures related Moving Pictures 2
    BlueMax1916 Problems with MP1 client dying after resuming from standby General Support 2
    Similar threads

























    Top Bottom