MediaPortal vs Microsoft Security Essentials (1 Viewer)

RonD

Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    A few days ago I noticed my MePo 1.5 Win7-64 single seat server/client system started having video stutter problems playing Recorded TV Videos, longer than normal delays (several seconds) when entering TV Recordings, etc. This seemed to happen after the latest Msft "update of the month" and noticed Win7 Resource Monitor started showing MsMpEng.exe (Antimalware Service Executable) using CPU time when MePo Client was active. This system uses Microsoft Security Essentials. I already excluded my MePo recordings and timeshiftbuffer and the system had worked fine for months.

    The video stutter would start when I moved the mouse to the top of the screen to show the "topbar" or the bottom of the screen to see the "timeline OSD". Did some poking around.

    Disable MSE realtime scan, problem goes away, re-enable, stutter comes back
    Exclude all MePo Client data folders, "C:\ProgramData\Team MediaPortal\MediaPortal", problem goes away,
    Exclude just the MePo Client log folder, "C:\ProgramData\Team MediaPortal\MediaPortal\log", problem goes away.

    I excluded other MePo Client data subfolders and only the "log" folder seems to make a difference. My folder has about 400 files, with 350 MB of files from Oct 2013 when I installed MePo 1.5. The TV Server Log file does not seem to make a difference, started TV Server Config, did a xmltv import to generate server activity and writes to the TVserver log file.

    Not sure what changed, but if you use Microsoft Security Essentials or Defender and are seeing video stutter and other problems try excluding the TV Server recordings and timeshiftbuffer folders AND the MePo Client log subfolder from MSE and see if this helps.
     
    Last edited:

    Fafnir

    MP Donator
  • Premium Supporter
  • November 19, 2006
    203
    44
    43
    Home Country
    Germany Germany
    Same with me, MP 1.6.
    Since yesterday morning everything takes ten times the duration than before, video stutters, changing channels ends up in 30 seconds black screen...

    This afternoon I will make the exclusion in MSSE to see what comes out.

    Good hint!

    Regards Fafnir
     

    Lightning303

    MP Donator
  • Premium Supporter
  • September 12, 2009
    798
    577
    Home Country
    Germany Germany
    Yeah,
    same here. I went crazy yesterday night... Will fiddle around with MSE later today. Thanks a lot!
     

    kcl314

    New Member
    July 13, 2008
    2
    0
    Home Country
    New Zealand New Zealand
    Running MP 1.6 and I've been having the same stutter and slow menu problems as Fafnir and it also only just started
    happening yesterday.

    I've just disabled MSSE realtime protection and the problems have gone away so it definitely looks like the culprit.

    I too was going crazy as nothing ever changes on my HTPC ... just Windows updates :).
     

    Fafnir

    MP Donator
  • Premium Supporter
  • November 19, 2006
    203
    44
    43
    Home Country
    Germany Germany
    I've just disabled MSSE realtime protection and the problems have gone away so it definitely looks like the culprit.
    Hi kcl314,

    In your place I'd just exclude mediaportal.exe and tvservice.exe from the scanning. That worked out feine for me.

    Disabling realtime scan reduces your safety...

    Regards Fafnir
     

    kcl314

    New Member
    July 13, 2008
    2
    0
    Home Country
    New Zealand New Zealand
    Ive excluded the mediaportal log folder as per the original post from MSSE and that also works for me.
    Yup definitely need to leave the AV on.
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    When I disable the "MSE exclude Log folder", my problems are not as bad today compared to a few days ago. But I can still see problems when I move mouse to bottom of screen to see the OSD and timeline. Also noticed writes to the MediaPortal.log and evr.log files when moving the mouse. The attached video snapshot F11 shows the onscreen "EVR stats" (press Shift+1 = ! ) when I see frame drops. The 2nd picture is a Resource Monitor snapshot with MsMpEng.exe selected (orange line on CPU graph) when I move mouse and see dropped frames.

    Another comment, when I add the MSE log folder exclusion Resource Monitor does not show any significant MsMpEng.exe activity.

    The following shows evr.log errors during the dropped frames. It sort of looks like MePo dropped frames and writes evr.log trigger a tug of war between MePo and MSE accessing the MediaPortal.log and evr.log for realtime virus scan and MePo logging errors.

    Code:
    20-02-2014 11:45:49.827 [888]Scheduling sample from the past (45.30 ms, last call to NotifyWorker: 0.19 ms, Queue: 0)
    20-02-2014 11:45:49.839 [888]Scheduling sample from the past (40.44 ms, last call to NotifyWorker: 12.01 ms, Queue: 0)
    20-02-2014 11:45:49.840 [888]Scheduling sample from the past (25.13 ms, last call to NotifyWorker: 13.02 ms, Queue: 0)
    20-02-2014 11:45:49.850 [888]Scheduling sample from the past (18.39 ms, last call to NotifyWorker: 22.95 ms, Queue: 0)
    20-02-2014 11:45:49.875 [c34]Dropping frame, nextSampleTime -10.49 ms, last sleep 0.00 ms, last pres -23.00 ms, paint 10.80 ms, queue count 2, SOP 246, EOP 976, RawFRRatio 1, dropped 62, drawn 4005
    20-02-2014 11:45:49.889 [c34]Dropping frame, nextSampleTime -8.18 ms, last sleep 0.00 ms, last pres -37.00 ms, paint 10.80 ms, queue count 3, SOP 246, EOP 976, RawFRRatio 1, dropped 63, drawn 4005
    20-02-2014 11:45:50.112 [c34]Dropping frame, nextSampleTime -181.93 ms, last sleep 0.00 ms, last pres -196.00 ms, paint 196.20 ms, queue count 3, SOP 139, EOP 1009, RawFRRatio 1, dropped 64, drawn 4007
    20-02-2014 11:45:50.112 [888]Scheduling sample from the past (114.23 ms, last call to NotifyWorker: 0.34 ms, Queue: 3)
    20-02-2014 11:45:50.113 [c34]Dropping frame, nextSampleTime -165.06 ms, last sleep 0.00 ms, last pres -196.00 ms, paint 196.20 ms, queue count 2, SOP 139, EOP 1009, RawFRRatio 1, dropped 65, drawn 4007
    20-02-2014 11:45:50.113 [888]Scheduling sample from the past (98.16 ms, last call to NotifyWorker: 0.14 ms, Queue: 2)
    20-02-2014 11:45:50.114 [c34]Dropping frame, nextSampleTime -149.39 ms, last sleep 0.00 ms, last pres -197.00 ms, paint 196.20 ms, queue count 1, SOP 139, EOP 1009, RawFRRatio 1, dropped 66, drawn 4007
    20-02-2014 11:45:50.115 [c34]Dropping frame, nextSampleTime -134.08 ms, last sleep 0.00 ms, last pres -198.00 ms, paint 196.20 ms, queue count 0, SOP 139, EOP 1009, RawFRRatio 1, dropped 67, drawn 4007
    20-02-2014 11:45:50.124 [888]Scheduling sample from the past (92.48 ms, last call to NotifyWorker: 9.11 ms, Queue: 0)
    20-02-2014 11:45:50.125 [888]Scheduling sample from the past (76.42 ms, last call to NotifyWorker: 0.25 ms, Queue: 0)
    20-02-2014 11:45:50.133 [888]Scheduling sample from the past (67.49 ms, last call to NotifyWorker: 7.98 ms, Queue: 0)
    20-02-2014 11:45:50.134 [888]Scheduling sample from the past (52.21 ms, last call to NotifyWorker: 9.02 ms, Queue: 0)
    20-02-2014 11:45:50.148 [888]Scheduling sample from the past (49.48 ms, last call to NotifyWorker: 22.97 ms, Queue: 0)
    20-02-2014 11:45:50.149 [888]Scheduling sample from the past (34.37 ms, last call to NotifyWorker: 0.15 ms, Queue: 0)
    20-02-2014 11:45:50.157 [888]Scheduling sample from the past (25.50 ms, last call to NotifyWorker: 7.94 ms, Queue: 0)
    20-02-2014 11:45:50.158 [c34]Dropping frame, nextSampleTime -10.41 ms, last sleep 10.00 ms, last pres -242.00 ms, paint 196.20 ms, queue count 0, SOP 139, EOP 1009, RawFRRatio 1, dropped 68, drawn 4007
    20-02-2014 11:45:50.207 [c34]Dropping frame, nextSampleTime -8.34 ms, last sleep 0.00 ms, last pres -24.00 ms, paint 12.04 ms, queue count 4, SOP 137, EOP 952, RawFRRatio 1, dropped 69, drawn 4009
     

    Attachments

    • 11-41-43.png
      11-41-43.png
      2.4 MB
    • MSE.PNG
      MSE.PNG
      100.3 KB
    Last edited:

    Andrew Rogerson

    Portal Member
    December 11, 2013
    31
    26
    43
    Home Country
    United Kingdom United Kingdom
    Same here, suddenly went slow and sluggish.

    I've just excluded Team Mediaportal from scans in data and prog files.

    Also using W8.1 so technically it's Windows Defender (same thing).
     

    maiky

    MP Donator
  • Premium Supporter
  • August 3, 2008
    70
    2
    Home Country
    Sweden Sweden
    OH THANK GOD i found this thread.. Just installed win 8.1 and MP was driving me crazy.. everything took forever, 30-60sec to START mp.. 30+ sec to start a youtube video via online videos etc.. disabled win defender an now everything is smooth as before!

    (Running MP 1.7 pre release)
     

    RonD

    Test Group
  • Team MediaPortal
  • December 20, 2011
    911
    278
    SillyValley CA
    Home Country
    United States of America United States of America
    not sure what you tried, but you probably should leave Win Defender real time scanning on and try excluding just the log folder or the main MePo Client data folder.
     

    Users who are viewing this thread

    Top Bottom