[WiP] madVR support in MP1 (7 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Ah ok :)
    Can you try the FCU options ? to see if it make diff :)
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    124
    103
    Home Country
    Belgium Belgium
    - I first tried just with that new dshowhelper.dll but the "frozen frame on stop" happened again. I've now enabled FCU fix and will wait and see.
    - Good news: your test dll fixed subtitles ! (y)
    - I once again had mediaportal.exe process stuck in memory after exiting. Please find below the 'exit' part of the log.
    I also took a full process memory dump using Task Manager before killing it, but I've now read on a dev blog that I needed to take it using a 32-bit process manager or else it would be useless to you, is that true? If you still want it anyway I can upload it somewhere (it's 152 MB compressed, though).
    Code:
    [2018-02-07 00:13:24,503] [Log    ] [MPMain   ] [INFO ] - Main: Exit requested
    [2018-02-07 00:13:24,557] [Log    ] [MPMain   ] [INFO ] - Main: Stopping FrameMove
    [2018-02-07 00:13:24,559] [Log    ] [MPMain   ] [DEBUG] - D3D: OnFormClosing()
    [2018-02-07 00:13:24,562] [Log    ] [MPMain   ] [DEBUG] - D3D: Dispose() ClientSize: 1920x1080, MaxClientSize: 1920x1080
    [2018-02-07 00:13:24,565] [Log    ] [MPMain   ] [DEBUG] - D3D CleanupEnvironment()
    [2018-02-07 00:13:24,567] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:0 debug
    [2018-02-07 00:13:24,568] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:1 font9
    [2018-02-07 00:13:24,569] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:2 font10
    [2018-02-07 00:13:24,570] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:3 font11
    [2018-02-07 00:13:24,571] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:4 RSS
    [2018-02-07 00:13:24,572] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:5 font12
    [2018-02-07 00:13:24,572] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:6 font13
    [2018-02-07 00:13:24,573] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:7 font14
    [2018-02-07 00:13:24,574] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:8 font15
    [2018-02-07 00:13:24,575] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:9 Menutitle
    [2018-02-07 00:13:24,576] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:10 Settings
    [2018-02-07 00:13:24,577] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:11 font16
    [2018-02-07 00:13:24,577] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:12 font18
    [2018-02-07 00:13:24,578] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:13 font20
    [2018-02-07 00:13:24,579] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:14 font21
    [2018-02-07 00:13:24,580] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:15 Label
    [2018-02-07 00:13:24,581] [Log    ] [MPMain   ] [DEBUG] - GUIFont:texture disposing:16 font36
    [2018-02-07 00:13:24,584] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1999
    [2018-02-07 00:13:24,586] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1998
    [2018-02-07 00:13:24,586] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1997
    [2018-02-07 00:13:24,588] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1995
    [2018-02-07 00:13:24,588] [Log    ] [MPMain   ] [INFO ] - TexturePacker: disposing texture:1994
    [2018-02-07 00:13:24,599] [Log    ] [MPMain   ] [DEBUG] - Main: WM_ACTIVATE (WA_INACTIVE)
    [2018-02-07 00:13:24,600] [Log    ] [MPMain   ] [INFO ] - Main: Deactivation request received
    [2018-02-07 00:13:24,614] [Log    ] [MPMain   ] [DEBUG] - D3D: OnLostFocus()
    [2018-02-07 00:13:24,673] [Log    ] [MPMain   ] [INFO ] - TvNotify: stop
    [2018-02-07 00:13:24,674] [Log    ] [MPMain   ] [DEBUG] - TVHome: HeartBeat Transmitter stopped.
    [2018-02-07 00:13:24,698] [Log    ] [MPMain   ] [DEBUG] - Main: SaveLastActiveModule - enabled False
    [2018-02-07 00:13:24,699] [Log    ] [MPMain   ] [INFO ] - Main: Exiting
    [2018-02-07 00:13:24,716] [Log    ] [MPMain   ] [DEBUG] - PlugInManager: Stop()
    [2018-02-07 00:13:24,717] [Log    ] [MPMain   ] [DEBUG] - PluginManager: Stopping plugin 'MediaPortal.Plugins.Process.PowerSchedulerClientPlugin'
    [2018-02-07 00:13:24,719] [Log    ] [MPMain   ] [INFO ] - PS: Stopping PowerScheduler client plugin...
    [2018-02-07 00:13:24,742] [Log    ] [MPMain   ] [DEBUG] - PS: Unregister handlers with tvservice with tag 30
    [2018-02-07 00:13:24,746] [Log    ] [MPMain   ] [DEBUG] - PS: Removed standby/wakeup handlers
    [2018-02-07 00:13:24,748] [Log    ] [MPMain   ] [DEBUG] - PS: Unregistered IPowerScheduler service from GlobalServiceProvider
    [2018-02-07 00:13:24,749] [Log    ] [MPMain   ] [INFO ] - PS: PowerScheduler client plugin stopped
    [2018-02-07 00:13:24,750] [Log    ] [MPMain   ] [DEBUG] - Windowmanager: closing current window
    [2018-02-07 00:13:24,750] [Log    ] [MPMain   ] [DEBUG] - Window: MediaPortal.GUI.Home.GUIHome deinit
    [2018-02-07 00:13:24,751] [Log    ] [MPMain   ] [DEBUG] - TextureManager: CleanupThumbs()
    [2018-02-07 00:13:24,753] [Log    ] [MPMain   ] [INFO ] - Playlist: Saving default playlist default.m3u
    [2018-02-07 00:13:24,776] [Log    ] [MPMain   ] [INFO ] - GUIWindowManager: Could not find window -1
    [2018-02-07 00:13:24,782] [Log    ] [MPMain   ] [DEBUG] - GUIFontManager: SafeDispose()
    [2018-02-07 00:13:24,783] [Log    ] [MPMain   ] [DEBUG] - TextureManager: Dispose()
    [2018-02-07 00:13:24,783] [Log    ] [MPMain   ] [INFO ] - TexturePacker:Dispose()
    [2018-02-07 00:13:24,788] [Log    ] [MPMain   ] [DEBUG] - GraphicContext: init volume handler
    [2018-02-07 00:13:24,789] [Log    ] [MPMain   ] [DEBUG] - GUIFontManager SetDeviceNull()
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)
    I just try to get the dump from task manager too and was able to open it in VS so yes you can upload it somewhere for me :p

    After this line, MP should close correctly (GUIFontManager SetDeviceNull()) so log looks ok but for sure something happen !!!!
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    124
    103
    Home Country
    Belgium Belgium
    There you go: MediaPortal process dump stuck on exit.7z
    I took another process memory dump using the 32-bit task manager this time as recommended by Microsoft, so the file is a bit smaller and should work best with your dev tools.
    I haven't encountered the 'video frame freeze on stop' since enabling FCU fix, still testing... However one weird thing I'v noticed is sometimes the MP GUI misses some key presses, especially just after application startup or after stopping video playback. Could the FCU fix have any influence on that? I hadn't noticed that before enabling the fix.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Thanks :) yes that's possible because an hidden window take the focus quickly but can interact with key presses :(
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @el Filou from the dump it get stuck in fileexistence cache and/or powerscheduler plugin stop :)
    I remember that fileexistence have issue and lead to long stop so my vote will be to going to it.

    Can you try to disable it to see how it goes ?

    upload_2018-2-7_22-9-41.png
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Also just for testing, if you let MP for while after closing does it stop itself ? (5 min or so?) :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @el Filou i will put a new build in first post, i have try to kill the background thread for file existence cache thread maybe it will make a diff, also added the workaround for 0.92.12 until something else can be fixed :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    V463 in first post but will also put a V464 (trying to avoid to display old GUI from previous window for example, if you start TV in TVGuide and let running TV and going to Home and do stop, in current MP release the TVGuide will be display for few seconds, so with 464 it shouldn't happen anymore :p)
     

    el Filou

    MP Donator
  • Premium Supporter
  • July 2, 2008
    124
    103
    Home Country
    Belgium Belgium
    Disabling file existence cache didn't fix it.
    I think it's something to do with power scheduler as you said it was either that or file existence cache, and if I just wait the process doesn't exit but MP will eventually put the computer to sleep after the configured standby time (it's set to only sleep when on MP Home screen), which would imply the powerscheduler plugin hasn't stopped correctly contrary to what the log is saying.
    Will test your new build over the weekend, thanks!
     

    Users who are viewing this thread

    Top Bottom