Direct3D could not be created after resume (2 Viewers)

The_Stig

Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Country flag
    Thanks @Scythe42, set MP now to start on login via task scheduler and delay startup for 15 seconds. Lets see if it helps.
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Country flag
    Just to report back here: triggered around 30 reboots of the system. No more Direct3D Errors anymore. So I guess its really solved with the task scheduler solution.

    Reminder to myself: maybe decrease the delay?!
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    47
    Berlin
    Germany Germany
    Then it comes down to the usage of the usage of the Run Key here, that loads stuff to early. If Task Scheduler proves to solve this, then we have a solution for this one.
     

    The_Stig

    Retired Team Member
  • Premium Supporter
  • April 5, 2005
    2,176
    428
    Country flag
    I guess it would be good to have this confirmed by other users with this problem...
     

    Scythe42

    Retired Team Member
  • Premium Supporter
  • June 20, 2009
    2,065
    2,703
    47
    Berlin
    Germany Germany
    @Scythe42 : move "Run Mp at windows startup" RunKey code to TaskScheduler code ?
    Instead of autostarting MP by the usage of the RunKey in the registry that was actually designed to run system components at startup that are not a service, there is an API to create entries in the Task Scheduler.

    If the Task Scheduler works then a change to Configuration.exe needs to be made to create an entry there. I already have that code lying around from some Win8 experiments that needs to be finalized for general usage in MP.

    But first it needs to be confirmed that Task Scheduler works properly where the registry key for autostarting stuff on boot up does not.

    So everyone experiencing this issue needs to try out the Task Scheduler. We need to collect more information here.
     
    Last edited:

    BlueMax1916

    Super User
  • Team MediaPortal
  • Super User
  • January 29, 2007
    700
    124
    Germany Germany
    Country flag
    I am using task scheduler with a 15 seconds delay on start up also and it works. No more freezing on start. Funny thing is that MePo was working fine since August 2011 with its different versions since then as a simple entry in the autostart folder and only now with the update to 1.4.0 it got complicated.

    Cheers
     

    mm1352000

    Development Group
  • Team MediaPortal
  • September 1, 2008
    21,571
    8,218
    New Zealand New Zealand
    Country flag
    Funny thing is that MePo was working fine since August 2011 with its different versions since then as a simple entry in the autostart folder and only now with the update to 1.4.0 it got complicated.
    If you read the release news for MP 1.4 you would see that Scythe42 worked very hard to fix lots of issues related to D3D. Issues with standby/resume, display change... many many things. Have a read if you like:
    https://forum.team-mediaportal.com/threads/scythe42s-fixes-for-1-4-0.118345/

    These changes are probably responsible for the change in behaviour that you have seen. Overall, the result of Scythe's changes is a vastly better MP experience. This little issue is easy to miss and easy to workaround. :)
     

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

    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
    S Resume Playback Annoyance Newcomers Forum 4
    joecrow MP 1 Hangs on resume fro sleep (TV) Watch / Listen Media 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 10
    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
    Similar threads






















    Top Bottom