Dynamic refresh rate under Windows 10 (I've an Amd video card) (1 Viewer)

red5goahead

MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Good work, imho it's a remarkable new feature for the MP setup especially under Windows 10 and multiple display environment that was not too much considered in the past, imho :)

    I'm back... (y)

    DKkpu9Z.png


    It looks good
     
    Last edited:

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    Great :)
    Now does it fix the issue lol ? :p
    I hope that the screen detection or change when monitor is off will be better.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Great :)
    Now does it fix the issue lol ? :p
    I hope that the screen detection or change when monitor is off will be better.

    Will see :)

    Rembember that the issue it's related mainly with the dynamic refresh rate, it occur in that situation, and it is not frequent.but recurring.

    It did it again ;) so the issue about the messy during the dynamic refresh rate it still there. No problem at all with the display selection that seems work great.

    Unfortunately I started MP without watchdog, so no log at this moment.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    Aahah gothca! I've the log and It will interest you I guess because I start three mkv 24fps, the last one (Fargo) perform a display change from 2 to 1:

    Daredevil --> OK

    [2015-09-26 11:43:46,172] [Log ] [MPMain ] [DEBUG] - Main: WM_DISPLAYCHANGE
    [2015-09-26 11:43:46,172] [Log ] [MPMain ] [INFO ] - CycleRefreshRate: result DISP_CHANGE_SUCCESSFUL for refresh rate change 23Hz
    [2015-09-26 11:43:46,188] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.SwitchFocus
    [2015-09-26 11:43:46,297] [Log ] [MPMain ] [INFO ] - Util: Successfully switched focus.
    [2015-09-26 11:43:46,297] [Log ] [MPMain ] [INFO ] - g_Player.Play(Daredevil....mkv Video)

    Gotham --> OK

    [2015-09-26 11:44:21,921] [Log ] [MPMain ] [DEBUG] - Main: WM_DISPLAYCHANGE
    [2015-09-26 11:44:21,921] [Log ] [MPMain ] [INFO ] - CycleRefreshRate: result DISP_CHANGE_SUCCESSFUL for refresh rate change 23Hz
    [2015-09-26 11:44:21,937] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.SwitchFocus
    [2015-09-26 11:44:21,937] [Log ] [MPMain ] [INFO ] - Util: Successfully switched focus.
    [2015-09-26 11:44:21,953] [Log ] [MPMain ] [INFO ] - g_Player.Play(Gotham....mkv Video)

    Fargo --> FAIL (the result http://1drv.ms/1Vf3KNa)

    [2015-09-26 11:44:47,778] [Log ] [MPMain ] [DEBUG] - Main: WM_DISPLAYCHANGE
    [2015-09-26 11:44:47,794] [Log ] [MPMain ] [INFO ] - CycleRefreshRate: result DISP_CHANGE_SUCCESSFUL for refresh rate change 23Hz
    [2015-09-26 11:44:47,794] [Log ] [MPMain ] [INFO ] - RefreshRateChanger.SwitchFocus
    [2015-09-26 11:44:47,810] [Log ] [MPMain ] [INFO ] - Util: Successfully switched focus.
    [2015-09-26 11:44:47,810] [Log ] [MPMain ] [INFO ] - g_Player.Play(Fargo....mkv Video)
    ...
    ...
    ...
    [2015-09-26 11:44:48,832] [Log ] [MPMain ] [DEBUG] - Main: WM_DISPLAYCHANGE
    [2015-09-26 11:44:48,836] [Log ] [MPMain ] [INFO ] - Main: Screen MP OnDisplayChange is displayed on changed from \\.\DISPLAY2 to \\.\DISPLAY1
    [2015-09-26 11:44:48,840] [Log ] [MPMain ] [INFO ] - Main: OnDisplayChange Bounds of display changed from 1920x1080 to 1600x900
    [2015-09-26 11:44:48,842] [Log ] [MPMain ] [DEBUG] - Main: Screen MP OnDisplayChange current screen detected \\.\DISPLAY1
    [2015-09-26 11:44:48,845] [Log ] [MPMain ] [DEBUG] - Main: Screen MP OnDisplayChange current screen \\.\DISPLAY2
    [2015-09-26 11:44:48,847] [Log ] [MPMain ] [DEBUG] - Main: Screen MP OnDisplayChange start screen \\.\DISPLAY2
    [2015-09-26 11:44:48,850] [Log ] [MPMain ] [DEBUG] - Main: Screen MP OnDisplayChange change current screen \\.\DISPLAY2 with current detected screen \\.\DISPLAY1
    [2015-09-26 11:44:48,853] [Log ] [MPMain ] [DEBUG] - Main: Screen MP OnDisplayChange set current detected screen bounds : {X=0,Y=0,Width=1600,Height=900} to previous bounds values : {X=0,Y=0,Width=1920,Height=1080}
    [2015-09-26 11:44:48,856] [Log ] [MPMain ] [DEBUG] - Main: WM_GETMINMAXINFO Start (MaxSize: 1600x900 - MaxPostion: 0,0 - MinTrackSize: 2x2 - MaxTrackSize: 1612x912)
    [2015-09-26 11:44:48,859] [Log ] [MPMain ] [DEBUG] - Main: WM_GETMINMAXINFO End (MaxSize: 1600x900 - MaxPostion: 0,0 - MinTrackSize: 1600x900 - MaxTrackSize: 1600x900)
    [2015-09-26 11:44:48,862] [Log ] [MPMain ] [DEBUG] - Main: WM_SIZE (SIZE_RESTORED: 1600x900)
    [2015-09-26 11:44:48,865] [Log ] [MPMain ] [DEBUG] - Main: Setting full screen bonds to: 1600x900 @ 0,0
    [2015-09-26 11:44:48,868] [Log ] [MPMain ] [DEBUG] - Main: WM_GETMINMAXINFO Start (MaxSize: 1600x900 - MaxPostion: 0,0 - MinTrackSize: 2x2 - MaxTrackSize: 1612x912)
    [2015-09-26 11:44:48,871] [Log ] [MPMain ] [DEBUG] - Main: WM_GETMINMAXINFO End (MaxSize: 1600x900 - MaxPostion: 0,0 - MinTrackSize: 1600x900 - MaxTrackSize: 1600x900)
    [2015-09-26 11:44:48,874] [Log ] [MPMain ] [DEBUG] - Main: Screen MP OnDisplayChange recreate swap chain
    [2015-09-26 11:44:48,878] [Log ] [MPMain ] [DEBUG] - Main: RecreateSwapChain()
    [2015-09-26 11:44:48,893] [Log ] [MPMain ] [DEBUG] - GUIFontManager: SafeDispose()
    [2015-09-26 11:44:48,899] [Log ] [MPMain ] [DEBUG] - TextureManager: Dispose()
    [2015-09-26 11:44:48,902] [Log ] [MPMain ] [INFO ] - TexturePacker:Dispose()
    [2015-09-26 11:44:48,909] [Log ] [MPMain ] [INFO ] - TexturePacker: remove texture:1995
    [2015-09-26 11:44:48,927] [Log ] [MPMain ] [INFO ] - TexturePacker: remove texture:1996
    [2015-09-26 11:44:48,932] [Log ] [MPMain ] [INFO ] - TexturePacker: remove texture:1992
    [2015-09-26 11:44:48,945] [Log ] [MPMain ] [DEBUG] - Main: RecreateSwapChain() by rebuild PresentParams
    [2015-09-26 11:44:48,948] [Log ] [MPMain ] [DEBUG] - D3D: BuildPresentParams()
    [2015-09-26 11:44:48,951] [Log ] [MPMain ] [INFO ] - D3D: Back Buffer Size set to: 1600x900
    ....

    but the display1 is the wrong one and it was disabled during MP use.
     

    red5goahead

    MP Donator
  • Premium Supporter
  • November 24, 2007
    695
    144
    Italy, North West
    Home Country
    Italy Italy
    So on all 3 videos, the screen are stay the same way ? (Display1 turned off) right ? :)

    Yes. the display was turned off by displays settings.

    But note that the monitor was suspended too obviously (Asus monitor give this information by orange led). When the third video was started the LED became blue for a moment so MP tried to access to it in some how I guess.

    In this test I've choose to disable the Asus Monitor (1600x900). But the problem was similar when I tried to keep active this monitor. In that case, as I told you, the MP desktop was displayed for a moment (less than a second) on the wrong display (Asus indeed) but the problem is not too much different I guess.
     

    Sebastiii

    Development Group
  • Team MediaPortal
  • November 12, 2007
    16,583
    10,403
    France
    Home Country
    France France
    It's really strange, it seems to be related that windows detect removal of screen :
    [2015-09-26 11:44:50,290] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Generic PnP Monitor
    [2015-09-26 11:44:50,295] [Log ] [MPMain ] [INFO ] - Main: Video Device or Screen Generic PnP Monitor removed

    [2015-09-26 11:44:51,698] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEREMOVECOMPLETE)
    [2015-09-26 11:44:51,700] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Generic PnP Monitor
    [2015-09-26 11:44:51,703] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEARRIVAL)
    [2015-09-26 11:44:51,706] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Generic PnP Monitor
    [2015-09-26 11:44:51,709] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVNODES_CHANGED)
    [2015-09-26 11:44:51,712] [Log ] [MPMain ] [DEBUG] - Main: WM_DEVICECHANGE (Event: DBT_DEVICEARRIVAL)
    [2015-09-26 11:44:51,715] [Log ] [MPMain ] [DEBUG] - Main: Device type is DBT_DEVTYP_DEVICEINTERFACE - Name: Generic PnP Monitor
    [2015-09-26 11:44:51,718] [Log ] [MPMain ] [INFO ] - Main: Video Device or Screen Generic PnP Monitor connected
    [2015-09-26 11:44:51,720] [Log ] [MPMain ] [DEBUG] - GraphicContext: device video connected - Count 2
     

    Users who are viewing this thread

    Top Bottom