MediaPortal SVN-Snapshot:-09-06-2008 11-16h - Revision:20143.rar (1 Viewer)

gibman

Retired Team Member
  • Premium Supporter
  • October 4, 2006
    2,998
    1,372
    Aarhus
    Home Country
    Denmark Denmark
    could u plz try the binaries from this thread here;

    https://forum.team-mediaportal.com/...tomatic-refreshrate-changer-44338/index7.html

    /gibman

    Hello,

    I have a odd behaviour with this svn. When I start a movie or a recording, the movie doesn't start, instead the screen on the tv displays only the upper left quarter of the panel. I'm using a CRT with a resolution of 720x576@50hz in dualview mode, so MP starts an the secondary screen.

    This works well with svn 20010, I could reproduce it. It also works fine if I'm displaying on my primary display or in windowed mode. Looking into the logs I think I have the necessary hint. This is how it looks, when it works:
    Code:
    2008-09-12 23:25:45.843750 [Info.][MPMain]: VideoPlayer:play G:\Filmarchiv\Filme\collateral.mpg
    2008-09-12 23:25:46.156250 [Info.][MPMain]: VMR9: added Video Mixing Renderer 9 to graph
    2008-09-12 23:25:46.203125 [Debug][MPMain]: VMR9: SetDeinterlacePrefs()
    2008-09-12 23:25:46.203125 [Debug][MPMain]: VMR9: Enabled YUV mixing - No DX Error
    2008-09-12 23:25:46.203125 [Debug][MPMain]: VRM9: Turning on nonsquare mixing - No DX Error
    2008-09-12 23:25:46.203125 [Debug][MPMain]: VRM9: Set filter mode - Gaussian Quad Filtering No DX Error
    2008-09-12 23:25:46.203125 [Debug][MPMain]: VMR9: Now active
    2008-09-12 23:25:46.203125 [Debug][MPMain]: VMR9: Renderer successfully added
    2008-09-12 23:25:46.203125 [Info.][MPMain]: VideoPlayerVMR9: Enabling DX9 exclusive mode
    2008-09-12 23:25:46.203125 [Info.][MPMain]: Main: Received DX exclusive mode switch message. Fullscreen && maximized == True
    2008-09-12 23:25:46.203125 [Debug][MPMain]: Main: Goto fullscreen: True
    2008-09-12 23:25:46.203125 [Debug][MPMain]: D3D: Switch to exclusive mode - Playing media: False
    2008-09-12 23:25:46.203125 [Info.][MPMain]: D3D: BuildPresentParamsFromSettings using 50Hz as RefreshRate
    2008-09-12 23:25:46.281250 [Debug][MPMain]: D3D: Switched to exclusive mode successfully

    and this when it doesn't:

    Code:
    2008-09-12 23:09:08.765625 [Info.][MPMain]: VideoPlayer:play G:\Filmarchiv\Filme\collateral.mpg
    2008-09-12 23:09:09.078125 [Info.][MPMain]: VMR9: added Video Mixing Renderer 9 to graph
    2008-09-12 23:09:09.093750 [Debug][MPMain]: VMR9: SetDeinterlacePrefs()
    2008-09-12 23:09:09.109375 [Debug][MPMain]: VMR9: Enabled YUV mixing - No DX Error
    2008-09-12 23:09:09.109375 [Debug][MPMain]: VRM9: Turning on nonsquare mixing - No DX Error
    2008-09-12 23:09:09.109375 [Debug][MPMain]: VRM9: Set filter mode - Gaussian Quad Filtering No DX Error
    2008-09-12 23:09:09.109375 [Debug][MPMain]: VMR9: Now active
    2008-09-12 23:09:09.109375 [Debug][MPMain]: VMR9: Renderer successfully added
    2008-09-12 23:09:09.109375 [Info.][MPMain]: VideoPlayerVMR9: Enabling DX9 exclusive mode
    2008-09-12 23:09:09.109375 [Info.][MPMain]: Main: Received DX exclusive mode switch message. Fullscreen && maximized == True
    2008-09-12 23:09:09.109375 [Debug][MPMain]: Main: Goto fullscreen: True
    2008-09-12 23:09:09.109375 [Debug][MPMain]: D3D: Switch to exclusive mode - Playing media: False
    2008-09-12 23:09:09.109375 [Info.][MPMain]: D3D: BuildPresentParamsFromSettings using 60Hz as RefreshRate
    2008-09-12 23:09:09.593750 [Info.][CommandProcessor]: Commandprocessor: MediaPortal.TV.Recording.StopRadioCommand failed reason: Keine TV-Karte installiert time: 31,25 msec
    2008-09-12 23:09:09.593750 [Warn.][MPMain]: D3D: Switch to exclusive mode failed - Error in the application.
    -2005530516 (D3DERR_INVALIDCALL)
       at Microsoft.DirectX.Direct3D.Device.Reset(PresentParameters[] presentationParameters)
       at MediaPortal.D3DApp.SwitchFullScreenOrWindowed(Boolean bWindowed)
    2008-09-12 23:09:09.625000 [Warn.][MPMain]: Main: ***** OnDeviceLost *****
    2008-09-12 23:09:09.640625 [Info.][MPMain]: Main: Resetting DX9 device

    The main difference is the 50Hz vs 60Hz. I assume that somewhere these 60Hz may be hardcoded or overridden. Probably this issue is quite specific, but the behaviour seems to be new to this or the previous svn.

    Any ideas?
     

    milagroso

    MP Donator
  • Premium Supporter
  • May 23, 2007
    95
    7
    Home Country
    Germany Germany
    Hello gibman,

    I tried it out briefly - it works! The logfile shows 50Hz instead of 60Hz and the behaviour is good.

    I really only replaced/added the three files (exe and dll), and did not dive into the configuration of different refresh rates - I must admit that I found this feature interesting and complicated. However I don't see any application for me right now as I don't have a mix of refresh rates in my media.

    I could reproduce the error after reverting the three files to the 20143 svn version.

    So I will start a long term test now and give You a hint if there is some misbehaviour here.

    regards from Stuttgart
     

    Users who are viewing this thread

    Top Bottom