1.23.0 Slow rendering times (1 Viewer)

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,104
    2,339
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    Aha, that is a good one! And I'm still on win7 so I'm going to check that out!
    Thanks so much!
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,104
    2,339
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    And checking for the tool I already found it in my browserhistory, so not the first time I have this...
    Do you think that some part of some version of mediaportal can cause such a latency?
    Now testing 1.19 again, and part of me hopes that this has the same issues too, because checking all the changes if there's anyting suspicious is going to give me a severe headache I assume.

    One other thing sprung to mind: I see that there was a fix for setting the correct refreshrate (involved waiting for mediainfo to actually complete before using the result of it). It could be that because of that the refreshrate was not set most of the time and hence not triggering my issues...
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,574
    10,393
    France
    Home Country
    France France
    Country flag
    There is a version that works on WIN10 : DPC Latency Checker

    Just running it on my dev PC :
    1582901035428.png


    About mediaInfo, i was able to trigger on my side but on some user a deadlock (more with madVR maybe) so triggering it with a delay can solve it and also HDR tone map too.
    Maybe you could try madVR and use his own DRR to see how it goes too ? :)
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,104
    2,339
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    I also found latencymon, some sites say its the best...
    Didn't test thoroughly with that tool yet, but a small test (after running MP 1.19 for a while) already showed the occasional spike...

    and deadlocks? brr... adding delay isn't usually the best option to handle those

    Isn't madvr more cpu/gpu intensive? It's a bit of a low-end video card in my htpc...
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,574
    10,393
    France
    Home Country
    France France
    Country flag
    Delaying and in a thread mostly if I remember :)
    Yes, now that I'm reading you, I think I used this one too.
    For madVR on his default setting can work :p need to be tried, for sure, if we set up some different option than default one, yes need more GPU power :p
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,104
    2,339
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    perhaps i'm being really picky now, but just noticed juddery video playback with 1.19 too. MP restart didn't help, but restarting pc did...
    Render time was about 2ms in that case, and no dropped frames, so only a minor annoyance...

    and @Owlsroost : I remember vaguely that you posted some explanation why in older windows you had to resort to some trickery to change the refreshrate, but I couldn't find it any more, do you remember that?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,574
    10,393
    France
    Home Country
    France France
    Country flag
    There is something that seems to not needed anymore in MP code from Win10, it was an added hack code (Fix DWM if I'm not wrong) maybe this you are talking about ?
    @Scythe42 or @Owlsroost talk about and it is involved in internal DRR

    C#:
        public static void FixDwm()
        {
          if (!OSInfo.OSInfo.Win8OrLater())
          {
            try
            {
              int dwmEnabled = 0;
              DwmIsCompositionEnabled(ref dwmEnabled);
    
              if (dwmEnabled > 0)
              {
                Log.Debug("CycleRefresh: DWM Detected, performing shenanigans");
                ThreadStart starter = KillFormThread;
                var killFormThread = new Thread(starter) {IsBackground = true};
                killFormThread.Start();
              }
            }
            catch (Exception ex)
            {
              Log.Error("CycleRefresh: FixDwm exception {0}", ex);
            }
          }
        }
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,104
    2,339
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    Ok, just got the slow rendering times also with 1.19... talking about a wild goose-chase...
    Now to figure out what else had changed besides updating mediaportal in the last couple of months...
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,104
    2,339
    Nuenen
    Home Country
    Netherlands Netherlands
    Country flag
    Ok, I'm officially out of ideas.
    Tried fixing all the suspicious things in the refreshratechanger sources, no effect,
    Checked all logs if I could spot anything different in good playback and bad playback: nothing found, and I've analyzed quite a lot.
    Latency is perfectly ok when framedrops are huge...
    Only thing (and I'm rather reluctant to do) is a complete reinstall and hope for the best....
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,574
    10,393
    France
    Home Country
    France France
    Country flag
    Sorry :( does it happen with other player too?
    Still MP use more memory than mpchc for ex because of GUI engine.
    Did you see memory usage of MP when it hapoen and the one from GPU card with gpuz?
    And maybe worth upgrading to win10 for testing like win7 is no more supported?
    Good backuo to restore it and you don't want win10.

    Tapatalk
     

    Users who are viewing this thread

    Similar threads

    Ok, just done some more mucking around. turns out my logitech mouse seems to be extremely unresponsive in media portal. Can use my keyboard just fine (also lightspeed wireless). Suggestions?
    Ok, just done some more mucking around. turns out my logitech mouse seems to be extremely unresponsive in media portal. Can use my...
    Good evening, having just fresh installed media portal 2.3.2. Looking at trialing again as it now seems to support what I am...
    Replies
    1
    Views
    243
    Hello!!! I use a handy app called catchin' sync to roughly check the AV sync of audio/video on my HTPC/TV. It's not as accurate as a dedicated opto-electronic calibrator but it's more than adequate for this application and much better than trying to do things by eye (even when the lack of sync is massively obvious, subjective...
    Hello!!! I use a handy app called catchin' sync to roughly check the AV sync of audio/video on my HTPC/TV. It's not as accurate as...
    Hello!!! I use a handy app called catchin' sync to roughly check the AV sync of audio/video on my HTPC/TV. It's not as accurate as...
    Replies
    0
    Views
    402
    Hi Henric-a Could you post a screenshot of the dynamic refreshrate settings ? and what is your screen capable of showing in Hz ? Did you manually try all hz settings from withing windows? [right-click on desktop > display properties > ... ] Regards,
    Hi Henric-a Could you post a screenshot of the dynamic refreshrate settings ? and what is your screen capable of showing in Hz ...
    Hi everyone, since a couple of month i have the problem, that while playing TV shows the playback stutters. Not the audio but the...
    Replies
    3
    Views
    954
    I just read the requirements, i'll first have to update the MP-Versions to the most recent version, after that i'll try the patch and keep u posted
    I just read the requirements, i'll first have to update the MP-Versions to the most recent version, after that i'll try the patch...
    Hello Everyone, i've just replaced my old HTPC with a new Intel NUC 5i5RYH (see system specs in my profile both for old and new...
    Replies
    9
    Views
    1K
    Welcome Andrew :) Just to be clear: the safest setup is actually to not use the MPAR for TV. I reckon' simply configuring your codec settings was probably the trick that solved your problem. Anyhow, glad to hear you're sorted. :)
    Welcome Andrew :) Just to be clear: the safest setup is actually to not use the MPAR for TV. I reckon' simply configuring your...
    I once used mediaportal some 6 to 7 years ago. Got it going to an acceptable level and used it for a few years. I cant remember...
    Replies
    5
    Views
    1K
    Top Bottom