MP1 EVR Presenter/dshowhelper community development (1 Viewer)

vuego

Documentation Group
  • Team MediaPortal
  • August 5, 2006
    1,644
    764
    Göteborg
    Home Country
    Sweden Sweden
    Now to get to the crux of the problem: If I start MP on the LCD I can never get smooth playback on the projector. If I start MP on the projector then I get smooth playback regardless of how many times I switch MP between the LCD & projector. I will call this scenario 1 & scenario 2 to make it easier.

    Hey Cameron, I've had this same issue for years and I'd love a workaround using EventGhost. What do you mean by starting MP on the projector? Do you mean setting the projector as primary display, then start MP and finally resetting the LCD as primary?

    I'm starting MP from EventGhost using command line "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe /fullscreen /screen=1" which means it's starting on the projector (i.e. 50 Hz) but still syncs to the LCD (always 60 Hz) which equals heavy stuttering :(
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Now to get to the crux of the problem: If I start MP on the LCD I can never get smooth playback on the projector. If I start MP on the projector then I get smooth playback regardless of how many times I switch MP between the LCD & projector. I will call this scenario 1 & scenario 2 to make it easier.

    Hey Cameron, I've had this same issue for years and I'd love a workaround using EventGhost. What do you mean by starting MP on the projector? Do you mean setting the projector as primary display, then start MP and finally resetting the LCD as primary?

    I'm starting MP from EventGhost using command line "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe /fullscreen /screen=1" which means it's starting on the projector (i.e. 50 Hz) but still syncs to the LCD (always 60 Hz) which equals heavy stuttering :(

    I think AERO always syncs to the primary display.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Basically, multiple monitors = potential stuttering problems due to mis-matched refresh rates/vsync positions, so don't do it if possible....

    When the rendered video frames leave the MP world, they are passed on to the 'desktop window manager' (DWM/Aero) which has it's own idea of refresh rates and vsync position.....and Microsoft don't provide any way of 'reseting' it (other than by closing/re-opening the app window i.e. closing MP and restarting it).

    Tony
     

    technick

    Portal Pro
    May 6, 2009
    566
    155
    Home Country
    France France
    Basically, multiple monitors = potential stuttering problems due to mis-matched refresh rates/vsync positions, so don't do it if possible....

    Tony

    It's why I have 2 graphic cards but be careful to allow cuda only on one of them if you don't want others stutters problem...

    Technick
     

    cameronr

    New Member
    May 10, 2011
    3
    1
    Home Country
    Hey Cameron, I've had this same issue for years and I'd love a workaround using EventGhost. What do you mean by starting MP on the projector? Do you mean setting the projector as primary display, then start MP and finally resetting the LCD as primary?

    I'm starting MP from EventGhost using command line "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe /fullscreen /screen=1" which means it's starting on the projector (i.e. 50 Hz) but still syncs to the LCD (always 60 Hz) which equals heavy stuttering :(

    That's pretty much what I do, here's the steps:

    1) Windows launches EG automatically on LCD (LCD primary)
    2) In the startup of EG it switches Projector to primary (I use VidRes for this) and then launches MP (just using "C:\Program Files (x86)\Team MediaPortal\MediaPortal\MediaPortal.exe") in windowed mode. MP then starts on the projector (I have the projector off for all of this)
    3) I then use an EG "find window" to wait for the main MP portal window to become active (This can take 30 seconds or more on startup)
    4) Once MP main window is active EG changes the LCD to primary and moves the MP window back to the LCD (still in windowed mode)
    5) Now whenever I play tv/video EG will set projector to primary, move EG to the projector, send a toggle fullscreen command to MP and then I can enjoy judder free video ;)

    Send me a PM or start a new thread if you want more details as we are probably getting a little off topic...

    Basically, multiple monitors = potential stuttering problems due to mis-matched refresh rates/vsync positions, so don't do it if possible....

    When the rendered video frames leave the MP world, they are passed on to the 'desktop window manager' (DWM/Aero) which has it's own idea of refresh rates and vsync position.....and Microsoft don't provide any way of 'reseting' it (other than by closing/re-opening the app window i.e. closing MP and restarting it).

    That's a bit of a pain - thankfully I seem to have worked around it using EventGhost for now. I take it their is nothing you can do from a dshowhelper point of view?

    My next step would be to try restarting MP on the projector everytime it has to switch there. But that would be slow and a bit painful so hopefully it doesn't have to come to that.

    It's why I have 2 graphic cards but be careful to allow cuda only on one of them if you don't want others stutters problem...

    How does that solve the problem - can you have one primary monitor per graphics card?

    Cheers
    Cameron
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Basically, multiple monitors = potential stuttering problems due to mis-matched refresh rates/vsync positions, so don't do it if possible....

    When the rendered video frames leave the MP world, they are passed on to the 'desktop window manager' (DWM/Aero) which has it's own idea of refresh rates and vsync position.....and Microsoft don't provide any way of 'reseting' it (other than by closing/re-opening the app window i.e. closing MP and restarting it).

    That's a bit of a pain - thankfully I seem to have worked around it using EventGhost for now. I take it their is nothing you can do from a dshowhelper point of view?

    Cheers
    Cameron

    I wish there was - I've spent countless hours playing around with the (limited) software functions that MS provide to 'control' the DWM - what's in v0078 is the best I've come up with....

    Being fair to MS, the DWM has to cope with situations like a video window spanning several monitors with different refresh rates, so it's maybe not surprising it sometimes seems to use the 'wrong' refresh rate.

    Tony
     

    Der_Bub

    MP Donator
  • Premium Supporter
  • June 17, 2008
    830
    60
    Cologne
    Home Country
    Germany Germany
    AW: MP1 EVR Presenter/dshowhelper community development

    Hello,

    I have a Problem with v78: I'm using external Player for DVD Playback. With v78 I have no picture after closing the external Player (only Desktop), MediaPortal isn't visible. But I can see on the LCD that it's active! Also if TV is started(and stopped) everything is fine again!

    With v55e this doesn't apear (but non sync playback).

    Any chance to fix this?



    #######
    Update:
    Switched to v0076a_no_DWM and with a short test it seems to work fine... at the weekend I will test it intensivly ;)
     

    Attachments

    • MediaPortal.rar
      50.2 KB

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Hi all,

    I have been struggling to get MP working smoothly for a week or so now and I think I have finally found the solution/problem. The main problem seems to stem from the fact that I use a dual screen setup. I am using an ATI 6850, monitor 1 is a 1080p projector and monitor 2 is a small LCD. Most of the time the LCD is primary with MP running in windowed mode. When I want to watch movie/tv/video I use EventGhost to switch MP to the projector, make the projector primary, and switch MP to fullscreen. When finished playing I use EventGhost to switch MP back to windowed mode, move it to the LCD and make the LCD primary again.

    I 've the same situation. I use MP on the plasma that is the secondary monitor during normal pc operation. I switch the plasma to primary monitor (plasma work at 50 HZ, lcd at 75 hz, , plasma do not have cinema mode). I use LM remote to sowtch monitor by remote control. But I've not problem at all with new evr renderer and beta of MP audio renderer.
    Instead I confirm the directshowhelper's bug detecting of refresh rate. I can't use automatic refresh rate because meanwhile the plasma is the primary monitor so when MP is running the automatic refresh rate procedure detect the 75 HZ of LCD andswitch that resfresh rate not the plasma one.
     

    Owlsroost

    Retired Team Member
  • Premium Supporter
  • October 28, 2008
    5,540
    5,038
    Cambridge
    Home Country
    United Kingdom United Kingdom
    Hi all,

    I have been struggling to get MP working smoothly for a week or so now and I think I have finally found the solution/problem. The main problem seems to stem from the fact that I use a dual screen setup. I am using an ATI 6850, monitor 1 is a 1080p projector and monitor 2 is a small LCD. Most of the time the LCD is primary with MP running in windowed mode. When I want to watch movie/tv/video I use EventGhost to switch MP to the projector, make the projector primary, and switch MP to fullscreen. When finished playing I use EventGhost to switch MP back to windowed mode, move it to the LCD and make the LCD primary again.

    I 've the same situation. I use MP on the plasma that is the secondary monitor during normal pc operation. I switch the plasma to primary monitor (plasma work at 50 HZ, lcd at 75 hz, , plasma do not have cinema mode). I use LM remote to sowtch monitor by remote control. But I've not problem at all with new evr renderer and beta of MP audio renderer.
    Instead I confirm the directshowhelper's bug detecting of refresh rate. I can't use automatic refresh rate because meanwhile the plasma is the primary monitor so when MP is running the automatic refresh rate procedure detect the 75 HZ of LCD andswitch that resfresh rate not the plasma one.

    Can I suggest that someone starts a new topic about the dual monitor issues in another part of the MP1 forum ('other features' or 'General Support' maybe ?) - it isn't something that can be fixed/improved just by changes to dshowhelper.

    Tony
     

    cecet23

    MP Donator
  • Premium Supporter
  • March 18, 2009
    137
    16
    Perugia
    Home Country
    Italy Italy
    Re: AW: MP1 EVR Presenter/dshowhelper community development

    Hello,

    With v78 I have no picture after closing the external Player (only Desktop), MediaPortal isn't visible. But I can see on the LCD that it's active!

    It happen to me too but sometime during the normal view (no external player).. I don't know if it depend of dshowhelper... I will try v55...
     

    Users who are viewing this thread

    Top Bottom