[WiP] madVR support in MP1 (10 Viewers)

alexdepalma

MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    There is some strange behaivour on tv channel change, like several TV mode changes indications (refreshrate on the TV)

    This is because u run MP in a default refresh rate of not 50Hz, and since now we are manually rebuilding graph on each channel switch it will 1st switch back to ur native refresh rate and then switch back to 50Hz. I personally use 50Hz always as a default refresh rate for my HTPC, this way i get smooth menu navigation and no refresh rate change when i zap TV, since i will zap between channels when i am watching TV but i am not going to zap like crazy when i am watching videos.

    On LAV CUVID if Enable Adaptative HW deinterlacing is ON, the nMadvr doesent detect deinterlace.

    This is because the video is already deinterlaced before it reaches madVR, u are forcing deinterlacing in LAV Video so it will reach madVR as progressive, so in other words it is working as intended.


    Let me ask,
    Whats is more efficient? Madvr deinterlace or Nvidia hardware?
    Wich one will leave more resources avail for image processing?
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I can see in log that when the freeze occurs, it seems to deadlock like the one we have hard time to fix, it maybe related to the change to make the osd callback a little later to let madVR change his D3D device etc.

    No clue for now to fix that, need to try to reproduce first but seems to be random :(

    i can try to move subtitle destroy somewhere else a,d i think i need to re-enable some log to try to know where it freeze.
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    @alexdepalma :)
    Attached is bin with more log, can you try to reproduce along with madvr freeze report if it happen :p
    Thanks.
    Hope helps

    May be related to lav. This time audio crashed also. MP killed
    sorry forgot to catch madvr logs
    LAD on Nvidia CUVID is difficult to crash
    That crash was on LAV on CB
     
    Last edited:

    Kotik

    MP Donator
  • Premium Supporter
  • March 19, 2009
    699
    485
    Athens
    Home Country
    Greece Greece
    Let me ask,
    Whats is more efficient? Madvr deinterlace or Nvidia hardware?
    Wich one will leave more resources avail for image processing?
    Both deinterlacing methods use ur GPU, the difference is in the way they access it, when u use Hardware Adaptive then deinterlacing is using the CUVID path to deinterlace, when u use madVR deinterlacing then it is using a DXVA path.

    In other words the end results quality wise should be equal, performace wise depends really... but IF there is a difference it is small. If i were u i would use DXVA deinterlacing which is a universal API and does not rely on a specific manufacturer path.

    Sent from my GT-I9100 using Tapatalk
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    @alexdepalma :)
    Attached is bin with more log, can you try to reproduce along with madvr freeze report if it happen :p
    Thanks.
    Hope helps

    May be related to lav. This time audio crashed also. MP killed
    sorry forgot to catch madvr logs
    LAD on Nvidia CUVID is difficult to crash
    That crash was on LAV on CB

    This time it seems to happen on video start and not on stop, surely a different bug but still need to know why lol.
     

    alexdepalma

    MP Donator
  • Premium Supporter
  • January 31, 2008
    541
    493
    Home Country
    Spain Spain
    Attached is bin with more log, can you try to reproduce along with madvr freeze report if it happen :p
    Thanks.
    Hi Seb
    Is the Dshowhelper changed anything?
    I couldn't make any single crash after many many test on CUVID, CB and Native...

    Sorry tried many times

    Regarding 3D as mentioned the other day, windows volume osd also brings back 3D image. I think it wold be a better solution bring this volume OSD on video start than our trick. What do you think? or even mayve a something transparent? or just paint a single pixel some where...
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    I just added log bur adding log add a little delay. So can be normal like it's timing issue. About the volume osd trick no clue how to do that right now lol
     

    kilik360

    MP Donator
  • Premium Supporter
  • September 3, 2010
    576
    235
    Home Country
    Canada Canada
    I think the issue i present has been pointed out not so long ago. The problem I have since a long time occur after the TV switch to 24hz for 24p playback, when the refresh rate goes back to 60hz (default) and decide to play a video or tv that doesn't need to switch the TV to 24 or 50hz. The video stutter and is seen as 24 fps when it should be 29,97 or 59,94.

    Step I did, Refresh rate made by Madvr and not MP

    - Start MP
    - Start TV 60hz (everything is fine)
    - Stop the TV
    - Start a video clip 24p (TV switch 24hz, everything smooth)
    - Stop the TV (Refresh rate switch to 60hz)
    - Start TV EVR fps is 24 instead of 29,97 (but TV stays 60hz)
    - Start 30 fps video clips and madvr see it as 24 instead of 29,97 too (but TV stays 60hz)

    If it's hard to understand, I can explain in PM in french if you need : )
     

    Users who are viewing this thread

    Top Bottom