Plugin: Extended Refresh Rate Changer plugin (2016/01) | Page 2

Discussion in 'Plugin Development' started by morpheus_xx, January 8, 2016.

  1. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,921
    Likes Received:
    4,704
    Ratings:
    +6,742 / 11
    Home Country:
    Germany Germany
    Show System Specs
    Yes, this might be a valid case. Will check this


     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,921
    Likes Received:
    4,704
    Ratings:
    +6,742 / 11
    Home Country:
    Germany Germany
    Show System Specs
    Your log shows some issues: after stopping the playback, the original RR is restored, but then immediately set back to the video's one.
    Code (Text):
    1. [2016-01-08 04:59:15,680] [449567 ] [AMQ 'UPnPRendererPlugin'] [DEBUG] - Player Stopped or Ended
    2. [2016-01-08 04:59:15,681] [449568 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - SkinEngine MainForm: SynchronizeToVideoPlayerFramerate: Restore default rendering, no new Player!
    3. [2016-01-08 04:59:15,681] [449568 ] [AMQ 'UPnPRendererPlugin'] [DEBUG] - Event Fired! - Stop --
    4. [2016-01-08 04:59:15,684] [449571 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 60000/1000 succesful
    5. [2016-01-08 04:59:15,686] [449573 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 60000/1000
    6. [2016-01-08 04:59:15,686] [449573 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans
    7. [2016-01-08 04:59:15,687] [449574 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz)
    8. [2016-01-08 04:59:15,687] [449574 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 60 Hz)
    9. [2016-01-08 04:59:15,688] [449575 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.GetRefreshRate: QueryDisplayConfig returned 60/1
    10. [2016-01-08 04:59:15,688] [449575 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz)
    11. [2016-01-08 04:59:15,689] [449576 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.GetRefreshRate: QueryDisplayConfig returned 60/1
    12. [2016-01-08 04:59:15,689] [449576 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - RefreshRateChanger: Video fps: 23.976; Screen refresh rate 60, trying to change it.
    13. [2016-01-08 04:59:15,691] [449578 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 24000/1001 failed
    14. [2016-01-08 04:59:15,694] [449581 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 24000/1001
    15. [2016-01-08 04:59:15,694] [449581 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans
    16.  
    60 -> 23 -> 60 -> 23

    Then at closing it's finally restored to default 60:
    Code (Text):
    1. [2016-01-08 05:05:56,326] [850213 ] [107      ] [INFO ] - ImporterWorker: Shutdown
    2. [2016-01-08 05:05:56,330] [850217 ] [Main     ] [INFO ] - PluginManager: Shutdown
    3. [2016-01-08 05:05:56,332] [850219 ] [Main     ] [INFO ] - MceRemote: Stopping MCE remote
    4. [2016-01-08 05:05:56,335] [850222 ] [Main     ] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 60000/1000 succesful
    5. [2016-01-08 05:05:56,338] [850225 ] [Main     ] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 60000/1000
    6. [2016-01-08 05:05:56,338] [850225 ] [Main     ] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans
    7. [2016-01-08 05:05:56,339] [850226 ] [Main     ] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz)
    8. [2016-01-08 05:05:56,339] [850226 ] [Main     ] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 60 Hz)
    9. [2016-01-08 05:05:56,340] [850227 ] [Main     ] [DEBUG] - SkinEngine MainForm: Dispose DirectX
    10.  
    This is fixed now!

    This was very tricky: the issue was introduced 4 month ago when I added a reset of GraphicsDevice in case of screen resolution changes. This cause an interruption in screen navigation: reset does release all GUI resources in meantime. I fixed this by adding a check that screen size or bit depth is really changed, or only the refresh rate (this case here). This fix is inside SkinEngine, so you should wait for a full installer.
     
    • Thank You! Thank You! x 2
  4. Lehmden
    • Team MediaPortal

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,758
    Likes Received:
    2,143
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,599 / 28
    Home Country:
    Germany Germany
    Show System Specs
    I really do so, especially as I would like to get the new "Filter by AlbumArtist" filter...
     
  5. morpheus_xx
    • Team MediaPortal

    morpheus_xx Lead Dev MP2

    Joined:
    March 24, 2007
    Messages:
    10,921
    Likes Received:
    4,704
    Ratings:
    +6,742 / 11
    Home Country:
    Germany Germany
    Show System Specs
  6. breese
    • Team MediaPortal

    breese Retired Team Member

    Joined:
    July 11, 2011
    Messages:
    3,903
    Likes Received:
    325
    Gender:
    Male
    Occupation:
    Sr. Systems Engineer
    Location:
    Arlington Heights, Illinois
    Ratings:
    +768 / 0
    Home Country:
    United States of America United States of America
    Show System Specs
    Did a clean install on my Client Only Sylvester.

    There are a lot of issues
    1-Move covers and Artwork are not downloading
    2-TV channel Icons are not downloading
    3-Playing movies and error Resource not found.
     
    • Like Like x 1
  7. Lehmden
    • Team MediaPortal

    Lehmden Retired Team Member

    Joined:
    December 17, 2010
    Messages:
    11,758
    Likes Received:
    2,143
    Gender:
    Male
    Location:
    Lehmden
    Ratings:
    +3,599 / 28
    Home Country:
    Germany Germany
    Show System Specs
    Hi
    Did an upgrade over the "New Years Weekly". All went well. :)

    The new filter in Audio is great. Finally we are able to sort Sampler properly for the very first time:
    Zwischenablage-1.jpg

    The nasty issue with RRC is gone too...(y)

    But I got an "Out Of Memory" error in Fanart Handler Service, maybe a faulty jpg, don't know... Logs (both, Installation and regular) are attached.
     

    Attached Files:

    • MP2-Setup.7z
      File size:
      812.8 KB
      Uploaded:
      January 8, 2016
      Views:
      78
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!