GUI incredibly slow Performance (1 Viewer)

HTPCSourcer

Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    I believe MP client should allow me to make all settings even if MP server is not started at all. Or not?
    No, the settings area addresses global information, which is stored on server. But your problems are everything but normal. Sometimes it may help to start all over again, i.e. uninstalling the software and giving it another try. Note that uninstallingwill leave your databases behind and you need to also delete the respective paths in Team MediaPortal to remove them.

    Yep, if there is such possibility, I can help )
    Great! See Looking for MP2 translators for explanations.
     

    mx-5driver

    Portal Member
    May 13, 2017
    25
    15
    52
    Home Country
    Germany Germany
    Hello Folks,

    after wasting a significant Amount of Time in Troubleshooting I finally found the Reason for the terrible Performance and Issues with MP 2.1 & MP 2.2.

    I found out that obviously the installed Security Suite - in my Case it was GDATA Internet Security caused the Issues with MP.

    Uninstalling GDATA Internet Security Suite and switching over to use Microsofts Defender resolved the Problem and MP behaves normal as espected since then.
    Strange Thing is that GDATA seems to have absolutely no Interest in fixing their Product to avoid such negative Effects.
    I opened a Ticket towards them - but they neither do understand the Problem - nor do they seem to be interested in fixing their Product.

    Aa a result I cancelled the Contract with them.
    Not taking their Customers seriously which was obviosu in that Case should have the corresponding Consequences for them.

    Possibly one of the MP Developers may be interested in forcing the Security Suite Provider GDATA to fix their Product in Context with MediaPortal ?
     

    Fasterpast

    MP Donator
  • Premium Supporter
  • July 4, 2009
    39
    1
    Home Country
    Russian Federation Russian Federation
    Installed MP2 client on HTPC (Pentium G... 8gb win10 sl), same LAN, same subnet, works perfectly.

    Don't have any anti-virus or firewall except windows built-in on both PCs.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    I disabled firewall on server and now I can see the TV picture
    That shows that the settings on your system where not correctly made. Firewall rules ar part of the installation process. I really recommend to uninstall and then install again.

    Don't have any anti-virus or firewall except windows built-in on both PCs.
    Did you exclude the MP2 directory and its process from being scanned by MS Defender? You also need to exclude the TV buffer share or your buffer files will be constantly screened.
     

    Fasterpast

    MP Donator
  • Premium Supporter
  • July 4, 2009
    39
    1
    Home Country
    Russian Federation Russian Federation
    That shows that the settings on your system where not correctly made. Firewall rules ar part of the installation process. I really recommend to uninstall and then install again.
    Firewall was on server and wasn't configured right, now I allowed recommended ports and HTPC works flawlessly with or without firewall, however still no luck with main PC, tried enable and disable windows defender, firewall, any unused newer protocols... Nothing. GUI still freezes... Uninstall->clean->reboot->install.. nothing (. Later I will try to leave only one monitor and clean codecs.
     

    Trigg3r

    MP Donator
  • Premium Supporter
  • December 14, 2019
    14
    27
    UK
    Home Country
    Great Britain (UK) Great Britain (UK)
    Also having this issue, I need to re-read through and check suggesions so far, so will report back, but as soon as I try and move the window it lags the whole machine, alt+enter to try and go fullscreen can take up to 4 or 5 seconds to register, and windows Key + shift + {direction} (to move monitor) is completely un-responsive.

    The Media portal window itself doesn't look right to me, the window close button is out of line (borders are all different) and when attempting to move the window, the titlebar gets a transparent white overlay as you would get with an un-responsive window - then after a few seconds everything springs to life for a moment, then bogs again.

    Thie windows 10 install is only a month old (now running 1909) and Media Portal is as fresh (2.2.2 Server and client installed on the same machine), rather than just re-installing, what can I do to help get to he bottom of the problem? The UI has felt off for quite a few versions now to me and would be good to get to the bottom of it.

    The only thing I have tried so far is the Defender exclusions, but it made no difference for me, it really feels like something wrong with whatever is running the form containing Media Portal.

    I will have to set logs to verbose and see what that shows, but if that doesn't show in the logs (feels life gfx issue to me) then what else can I do to help? I did attach Dot Trace but no obvious waits anywhere, though far from good with that tool yet;))
     

    Trigg3r

    MP Donator
  • Premium Supporter
  • December 14, 2019
    14
    27
    UK
    Home Country
    Great Britain (UK) Great Britain (UK)
    Morning all,

    So just been messing with this, pulled the source and ran in debug and tried to see what was causing the hangs when moving the window / interacting with the UI.

    With the client sat doing nothing on the menu screen, there where little spikes when trying to move the window, so trying to drill into those kept showing as handling input events - I thought it may have been something to do with the TouchForm, so tried it with just a standard form but no luck – touch was not causing it.

    So then tried commenting out some of the message handling in various places, very slight improvements but the issue was still there – it didn’t seem like anything related to MediaPortal :unsure: so on to Google!

    I came across someone with a similar error, but related to Microsoft Word. The problem turned out to be DPI settings on the mouse!

    So I have a Logitech G502 and within the software is a “Report Rate” - I had mine set to 1000, so I knocked that down to 125 and... buttery smooth input again!

    The Logitech software has options of; 125, 250, 500 and 1000, trying the various options the sweet spot seems to be 250, things start lagging again at 500 or above.

    So I guess you could have some kind of rate limit within Media Portal to avoid the issue with high report rates? Either way, that’s sorted it for me, hope it helps someone else.

    Tldr; Logitech Mouse ‘Report rate’ above 250 causes un-responsive UI.
     

    HTPCSourcer

    Retired Team Member
  • Premium Supporter
  • May 16, 2008
    11,418
    2,336
    Home Country
    Germany Germany
    So I guess you could have some kind of rate limit within Media Portal to avoid the issue with high report rates?
    That’s very interesting! In fact we have a check for the mouse moving at least 10px before it is recognized as a movement and focus given to the spot underneath.

    @morpheus_xx , very interesting finding about responsiveness issues when using a high resolution mouse with high report rates. Can there be a connection with MP2-782?
     
    Last edited:

    morpheus_xx

    Retired Team Member
  • Team MediaPortal
  • March 24, 2007
    12,073
    7,459
    Home Country
    Germany Germany
    Very interesting, didn't know about such effects before. But it sounds reasonable: input event handling takes resources, and if this happens i.e. at the 10x rate, it also costs so much more.

    Can there be a connection with MP2-782?
    @Trigg3r, as you are able to compile, can you try to comment out the change from here: MP2-782: Show mouse cursor only if it was moved more than 10 pixels i… · MediaPortal/MediaPortal-2@9efc057 ?

    Although it could make it even worse, as the current code ignores all input events less than the threshold of 10 pixel.

    Besides this I am not sure if there is anything we could do about it.
     

    Users who are viewing this thread

    Top Bottom