home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Plugin Development
Plugin: Extended Refresh Rate Changer plugin (2016/01)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1170206" data-attributes="member: 48495"><p>Your log shows some issues: after stopping the playback, the original RR is restored, but then immediately set back to the video's one.</p><p>[code][2016-01-08 04:59:15,680] [449567 ] [AMQ 'UPnPRendererPlugin'] [DEBUG] - Player Stopped or Ended</p><p>[2016-01-08 04:59:15,681] [449568 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - SkinEngine MainForm: SynchronizeToVideoPlayerFramerate: Restore default rendering, no new Player!</p><p>[2016-01-08 04:59:15,681] [449568 ] [AMQ 'UPnPRendererPlugin'] [DEBUG] - Event Fired! - Stop --</p><p>[2016-01-08 04:59:15,684] [449571 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 60000/1000 succesful</p><p>[2016-01-08 04:59:15,686] [449573 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 60000/1000</p><p>[2016-01-08 04:59:15,686] [449573 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans</p><p>[2016-01-08 04:59:15,687] [449574 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz)</p><p>[2016-01-08 04:59:15,687] [449574 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 60 Hz)</p><p>[2016-01-08 04:59:15,688] [449575 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.GetRefreshRate: QueryDisplayConfig returned 60/1</p><p>[2016-01-08 04:59:15,688] [449575 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz)</p><p>[2016-01-08 04:59:15,689] [449576 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.GetRefreshRate: QueryDisplayConfig returned 60/1</p><p>[2016-01-08 04:59:15,689] [449576 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - RefreshRateChanger: Video fps: 23.976; Screen refresh rate 60, trying to change it.</p><p>[2016-01-08 04:59:15,691] [449578 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 24000/1001 failed</p><p>[2016-01-08 04:59:15,694] [449581 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 24000/1001</p><p>[2016-01-08 04:59:15,694] [449581 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans</p><p>[/code]</p><p>60 -> 23 -> 60 -> 23</p><p></p><p>Then at closing it's finally restored to default 60:</p><p>[code][2016-01-08 05:05:56,326] [850213 ] [107 ] [INFO ] - ImporterWorker: Shutdown</p><p>[2016-01-08 05:05:56,330] [850217 ] [Main ] [INFO ] - PluginManager: Shutdown</p><p>[2016-01-08 05:05:56,332] [850219 ] [Main ] [INFO ] - MceRemote: Stopping MCE remote</p><p>[2016-01-08 05:05:56,335] [850222 ] [Main ] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 60000/1000 succesful</p><p>[2016-01-08 05:05:56,338] [850225 ] [Main ] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 60000/1000</p><p>[2016-01-08 05:05:56,338] [850225 ] [Main ] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans</p><p>[2016-01-08 05:05:56,339] [850226 ] [Main ] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz)</p><p>[2016-01-08 05:05:56,339] [850226 ] [Main ] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 60 Hz)</p><p>[2016-01-08 05:05:56,340] [850227 ] [Main ] [DEBUG] - SkinEngine MainForm: Dispose DirectX</p><p>[/code]</p><p></p><p>This is fixed now!</p><p></p><p></p><p></p><p>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.</p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1170206, member: 48495"] 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][2016-01-08 04:59:15,680] [449567 ] [AMQ 'UPnPRendererPlugin'] [DEBUG] - Player Stopped or Ended [2016-01-08 04:59:15,681] [449568 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - SkinEngine MainForm: SynchronizeToVideoPlayerFramerate: Restore default rendering, no new Player! [2016-01-08 04:59:15,681] [449568 ] [AMQ 'UPnPRendererPlugin'] [DEBUG] - Event Fired! - Stop -- [2016-01-08 04:59:15,684] [449571 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 60000/1000 succesful [2016-01-08 04:59:15,686] [449573 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 60000/1000 [2016-01-08 04:59:15,686] [449573 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans [2016-01-08 04:59:15,687] [449574 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz) [2016-01-08 04:59:15,687] [449574 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 60 Hz) [2016-01-08 04:59:15,688] [449575 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.GetRefreshRate: QueryDisplayConfig returned 60/1 [2016-01-08 04:59:15,688] [449575 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz) [2016-01-08 04:59:15,689] [449576 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.GetRefreshRate: QueryDisplayConfig returned 60/1 [2016-01-08 04:59:15,689] [449576 ] [AMQ 'SynchronizeToPrimaryPlayer'] [INFO ] - RefreshRateChanger: Video fps: 23.976; Screen refresh rate 60, trying to change it. [2016-01-08 04:59:15,691] [449578 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 24000/1001 failed [2016-01-08 04:59:15,694] [449581 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 24000/1001 [2016-01-08 04:59:15,694] [449581 ] [AMQ 'SynchronizeToPrimaryPlayer'] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans [/code] 60 -> 23 -> 60 -> 23 Then at closing it's finally restored to default 60: [code][2016-01-08 05:05:56,326] [850213 ] [107 ] [INFO ] - ImporterWorker: Shutdown [2016-01-08 05:05:56,330] [850217 ] [Main ] [INFO ] - PluginManager: Shutdown [2016-01-08 05:05:56,332] [850219 ] [Main ] [INFO ] - MceRemote: Stopping MCE remote [2016-01-08 05:05:56,335] [850222 ] [Main ] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): SDC_VALIDATE of 60000/1000 succesful [2016-01-08 05:05:56,338] [850225 ] [Main ] [DEBUG] - RefreshRateChanger.SetDisplayConfig(...): Successfully switched to 60000/1000 [2016-01-08 05:05:56,338] [850225 ] [Main ] [DEBUG] - CycleRefresh: DWM Detected, performing shenanigans [2016-01-08 05:05:56,339] [850226 ] [Main ] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 25 Hz) [2016-01-08 05:05:56,339] [850226 ] [Main ] [INFO ] - GraphicsDevice: DirectX initialized 1680x1050 (format: X8R8G8B8 60 Hz) [2016-01-08 05:05:56,340] [850227 ] [Main ] [DEBUG] - SkinEngine MainForm: Dispose DirectX [/code] 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. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Plugin: Extended Refresh Rate Changer plugin (2016/01)
Contact us
RSS
Top
Bottom