[WiP] madVR support in MP1 (4 Viewers)

Sebastiii

Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @Kotik
    I hope it was not related to TVServer.

    Are you able to try both version that match ?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    As far as i understand it works in MPC-HC because it starts in a windowed mode that we later manually maximize.
    Did anyone tried to start it in MPC-HC full screen mode?
    I dont even know if it is possible.

    I have set to start MPC-HC to fullscreen but it always start in windowed then fullscreen, i will try to use MP external player to see if it start directly in fullscreen (it seems yes).
    @kenwonders are you able to try MP windowed and see if the 2nd try works ?
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    V133 LINK added to the first post :)
    Added the option to force the refresh @alexdepalma :)

    View attachment 180572
    Only 3D test without success.

    Im talking about non exclusive modes.

    TV goes 3D, madvr goes 3D, actual image 2D until mouse move.
    Tried all new options (refresh rate...). I think they don't work.:unsure:
    Low latency MP GUI goes fluent always.
    Refreshrate is not delayed in any way. Ive set a 0 and 400 value with madvr options disabled and the change is done always before video image appears, so seems to have no efect.


    Something is wrong with MP refreshrate and madvr.
    Ive notice that even if no option Use default Refresh rate (MP option) is disabled and all madvr Display modes disabled, my TV returns to 50hz after 24p or 23 p playbacks. And should not return and maintain last mode:confused:
    Maybe its trigered by madvr 3D modes it self (own refsh rate and mode) not using default

    New edit: this new value has nothing to do with 3D madvr change mode as its always applied on 3D video detection. That value is for 2D only but actually not working (dont thing it will improve 3D as madvr has 2 screen modes. one on the 3D plugin (stereo 3D) and one in devices (display modes) :eek:
     
    Last edited:

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    Looking the code and Main: 'WM_DISPLAYCHANGE' is trigger when MP is in windowed, so it can be the trick that trigger it although I didn't set Windowed to 'True'.

    Ok it was not 'Windowed' value :)

    So to avoid it ('WM_DISPLAYCHANGE'), it's needed to check this option : (Ignore Windows .....)

    Can you try ?

    View attachment 180569

    It will force MP to not rely on this notification but not sure if it will change anything for 3D mouse movement.
    Ill leave this option for all my tests and see. From now, no change
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Strange it apply for me on both video type 2D or 3D but i was doing it after madinit (MP main thread).
    The one that was working for you need to be done after registering the code to display OSD (and this call is done in no MP Main thread).

    I will move the method to test again :)
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    Ill leave this option for all my tests and see. From now, no change

    Can you try this one ? :)

    Test done without success.
    The new option of refresh rate is not working to me.. Im sorry but cant understand why.
    On 3D i had some succesfull 3D image but very occasionally (less than 10%). MP when to a strange mode with windows bar in sight. Unable to go full screen. That strange mode all 3D played ok (see image).
    Note image mode as windowed but not full screen window (may be reason of successs)
    I had on 2D videos a lot od dxva surface creation errors (see 2nd image). image works properly after the error gone

    IM on DXVA CB
     

    Attachments

    • creating dxva processing surface failed.png
      creating dxva processing surface failed.png
      378 KB
    • windows  at bottom image.png
      windows at bottom image.png
      3.8 MB

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Hi :)
    Do you have log ? :p
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    New build in progress :)
    I notice something yesterday while debugging, when going to windowed mode, the code clearbackground was trigger (should not when full HD res) but maybe it's needed for 3D and Nvidia :)

    New V134 link : http://tinyurl.com/jkb3q4w

    @alexdepalma i have revert some code to previous working one, so with this one, i can't put a delay, so it's removed from the config.

    If it doesn't work, then we need to do quick teamviewer session in the evening :)
     

    Users who are viewing this thread

    Top Bottom