2016-07-11, 15:13
Hardware:
Mac Mini - Mid 2010 - 2,4 GHz Intel Core 2 Duo - NVIDIA GeForce 320M 256 MB - 8GB RAM
Software:
OS X Yosemite 10.10.5 (14F1808)
Nvidia Web Drivers (to fix horizontal tearing for 320M)
17.0-ALPHA2 Git:2016-06-30-f3ca4ea
Debug Log: http://pastebin.com/s6m3RpYm
Video settings when creating debug log: Display set to 1920x1080p@60Hz, Adjust Display Refresh Rate set to 'Always' and VTB Acceleration turned on.
Issue:
The FPS average around 15-16 frames per second when playing a video file while using 24Hz to 30Hz refresh rate with Kodi 17.0 Alpha 2, resulting in a choppy video playback. If the refresh rate is set to 50Hz or 60Hz the FPS average goes up to at least +35 frames per second giving a smooth playback.
I saw the thread [Mac Mini][v17 Nightly] Choppy Video Playback and thought my issue could be related, but after some experimenting with different settings for "Adjust Display Refresh Rate" and "VTB Acceleration" I'm not so sure.
My results after testing different settings:
As you can see the video file is played with FPS around 15 FPS when the refresh rate is set to 30Hz or lower, if the same video file is played with refresh rate 50 or 60 Hz I get a higher FPS. It doesn't matter if VTB Acceleration is used or not, or if the refresh rate was set to 24/25/30 Hz from the start or switched by Kodi to match the video.
Is this related to [Mac Mini][v17 Nightly] Choppy Video Playback? Any idea what could be wrong or what I could test?
This was not an issue on Kodi 16.x, but perhaps much have changed between them that could affect this.
Mac Mini - Mid 2010 - 2,4 GHz Intel Core 2 Duo - NVIDIA GeForce 320M 256 MB - 8GB RAM
Software:
OS X Yosemite 10.10.5 (14F1808)
Nvidia Web Drivers (to fix horizontal tearing for 320M)
17.0-ALPHA2 Git:2016-06-30-f3ca4ea
Debug Log: http://pastebin.com/s6m3RpYm
Video settings when creating debug log: Display set to 1920x1080p@60Hz, Adjust Display Refresh Rate set to 'Always' and VTB Acceleration turned on.
Issue:
The FPS average around 15-16 frames per second when playing a video file while using 24Hz to 30Hz refresh rate with Kodi 17.0 Alpha 2, resulting in a choppy video playback. If the refresh rate is set to 50Hz or 60Hz the FPS average goes up to at least +35 frames per second giving a smooth playback.
I saw the thread [Mac Mini][v17 Nightly] Choppy Video Playback and thought my issue could be related, but after some experimenting with different settings for "Adjust Display Refresh Rate" and "VTB Acceleration" I'm not so sure.
My results after testing different settings:
- Same result using Nvidia Web Drivers and the Native OS X drivers.
- Turning "VTB Acceleration" on or off doesn't make a difference except that the CPU usage is lower with it turned on.
- When the refresh rate is 24/25/30Hz and it average 15 FPS the CPU usage is around 25%, when using 50/60Hz and it average +35 FPS the CPU usage is 18-20% for the same video file.
- "Adjust Display Refresh Rate" works as expected, but the issue appear to be related to the actual refresh rate used and not the switching of it:
With "Adjust Display Refresh Rate" turned on, display refresh rate set to 60Hz:- Playing a 24p video switches the refresh rate to 24Hz resulting in average 15 FPS.
- Playing a 25p video switches the refresh rate to 50Hz resulting in average +35 FPS.
- Playing a 30p video switches the refresh rate to 60Hz resulting in average +35 FPS.
With "Adjust Display Refresh Rate" turned off, display refresh rate set to 50/60Hz:- Playing a 24p video keep the refresh rate to 50/60Hz resulting in average +35 FPS.
- Playing a 25p video keep the refresh rate to 50/60Hz resulting in average +35 FPS.
- Playing a 30p video keep the refresh rate to 50/60Hz resulting in average +35 FPS.
With "Adjust Display Refresh Rate" turned off, display refresh rate set to 24/25/30 Hz:- Playing a 24p video keep the refresh rate to 24/25/30Hz resulting in average 15 FPS.
- Playing a 25p video keep the refresh rate to 24/25/30Hz resulting in average 15 FPS.
- Playing a 30p video keep the refresh rate to 24/25/30Hz resulting in average 15 FPS.
- Playing a 24p video switches the refresh rate to 24Hz resulting in average 15 FPS.
As you can see the video file is played with FPS around 15 FPS when the refresh rate is set to 30Hz or lower, if the same video file is played with refresh rate 50 or 60 Hz I get a higher FPS. It doesn't matter if VTB Acceleration is used or not, or if the refresh rate was set to 24/25/30 Hz from the start or switched by Kodi to match the video.
Is this related to [Mac Mini][v17 Nightly] Choppy Video Playback? Any idea what could be wrong or what I could test?
This was not an issue on Kodi 16.x, but perhaps much have changed between them that could affect this.