Tearing is still there without exclusive mode checked (1 Viewer)

tourettes

Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    For some odd reason, using exclusive mode works fine on SD material but when I play HD clips on MP, audio stutters a lot (can't see stuttering on picture). I tried different audio codecs with and without SPDIF but they all act the same. Then without exclusive mode HD-clips play just fine but SD -stuff have tearing, go figure. Also windows mp and zoomplayer plays those clips just fine. I have dual monitor setup on nvidia 7600GS so single monitor could help. Using clone-mode didn't work before at all, there was terrible amount of tearing.

    NVidia is not recomending using anything else than single monitor setup with MCE in their driver release notes. (I guess that pretty much applies to all 3D / VMR9 based video players).
     

    patricon

    Portal Pro
    June 16, 2007
    543
    18
    Home Country
    Spain Spain
    Ive played HD videos in MP with no problem at all. I've an nVidia 6600 PCIex, i've two screens connected to my PC but i only use one of them as primary monitor when using MP. There is no stutter or tearing...

    I'm using Windows XP Pro.
     

    tourettes

    Retired Team Member
  • Premium Supporter
  • January 7, 2005
    17,301
    4,800
    Ive played HD videos in MP with no problem at all. I've an nVidia 6600 PCIex, i've two screens connected to my PC but i only use one of them as primary monitor when using MP. There is no stutter or tearing...

    I'm using Windows XP Pro.

    Well, Nvidia is not denying that it could work, but it's having the disclaimer in release notes for the reason that it's not supporting such a setups. So it will work on some systems and will not on some different configurations.
     

    andreavb

    Portal Pro
    December 26, 2006
    140
    4
    52
    Home Country
    Italy Italy
    So, If I'd like to test video playback without exclusive mode what should I have to do? My S-Video Card out refresh rate is 60Hz but PAL video is 25Hz (isn't it?)

    Is there some issue in using ReClock? will my system become more instable? I don't need this to happen... :D

    Thank you so much! MP rules

    :D
     

    andreavb

    Portal Pro
    December 26, 2006
    140
    4
    52
    Home Country
    Italy Italy
    So, what can happen running 50Hz PAL video into a 60Hz Plasma TV? will ReClock prevent image from tearing in this configuration? is there some specific setting in Reclock?
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    What is your Graphics adapter saying it is outputting, 50 or 60Hz, if you are outputting via HDMI, DVI then everything is FIXED, so you cannot change. if using another connection then you can adjust the refresh rate.
     

    andreavb

    Portal Pro
    December 26, 2006
    140
    4
    52
    Home Country
    Italy Italy
    It says is outputting 60Hz with S-Video and there is no way of changing it...it is fixed and is the only value on the settings combo box
     

    Paranoid Delusion

    Moderation Manager
  • Premium Supporter
  • June 13, 2005
    13,052
    2,978
    Cheshire
    Home Country
    United Kingdom United Kingdom
    If both are set for 60Hz then there could be no advantage in changing either.
     

    Swede

    Portal Pro
    September 6, 2006
    493
    47
    West Coast Archipelago
    Home Country
    Sweden Sweden
    Found this:

    "The exclusive (full-screen) mode prevents other applications from allocating some surface types and from drawing to the primary display. The exclusive mode also prevents other windows on the system from coming to the foreground, so DirectDraw applications must watch for system events (such as incoming phone calls) so they can relinquish control back to the system when necessary."

    http://msdn2.microsoft.com/en-us/library/ms847103.aspx

    So, it seems to be a feature.



    My solution is not to use DDSCL_FULLSCREEN cooperative level. Use DDSCL_NORMAL. Create your main window fullscreen, that is, with coordinates [0, 0, GetSystemMetrics(SM_CXSCREEN), GetSystemMetrics(SM_CYSCREEN)]. Use SHFullScreen() function to hide all interface elements. This way you have a fullscreen DirectDraw access but still can receive system messages, have working Home key etc.



    I'm not sure if you are required to show everything back when your app is deactivated. I do it, just in case. Also the system may draw its UI above your window before telling you that you are deactivated. To prevent your app from overwriting parts of the UI you create an IDirectDrawClipper, set it to your primary surface, and attach you main window's HWND to it. This guarantees that you never overwrite parts of UI if they're above your window.



    Hope this helps.
     

    Users who are viewing this thread

    Top Bottom