Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
2011-07-23, 02:07
(This post was last modified: 2011-07-23, 17:28 by `Black.)
Yery strange now here ^^... I would swear everything was smooth yesterday but now it isn't... same problems again (but not as bad as they were), just slightly more sluggish animations on my skin, especially hidden animations if video info will be opened. Strangely I had 62,50 fps yesterday, now it's 60 again which it should be with vsync always on. I'll test with a new clean install, new database etc. tomorrow to see if that solves anything.
Edit: Nothing changed after clean install. So my initial problem remains... it's better than the latest nighties but certainly not as good as the pre d-r builds.
Posts: 201
Joined: May 2011
Reputation:
3
binBD
Senior Member
Posts: 201
2011-07-23, 18:48
about the animation?
cant you just reduce the time of the animations thats what i had to do for my media guide that way it runs fast and smooth at the same time without lag
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
2011-07-23, 19:38
(This post was last modified: 2011-07-23, 20:24 by `Black.)
That's not working... and I don't see why I should since it was all perfect before the d-r builds. Those particular animations (problem occurs in every view with all different types of animation) are also fine in jmarshalls test build from post #8 but there are other problems (lag on open / close animations).
Posts: 26,215
Joined: Oct 2003
Reputation:
187
`Black: Is it better or worse? Where is it worse? How can I reproduce that? Is it only worse with d-r on? Is it only worse with d-r and nofliptimeout on?
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Made some more tests and it seems to happen only if I open video, tvshows, seasons or episodes info (maybe album & artist info too, not on add-on info). There is a slight lag every time so my animation is not fully smooth... maybe it's related to database changes? Everything else is ok!
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Thanks - it could be the bg loaders updating a texture or some such perhaps? Does it correspond to something in the log by any chance?
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
I'll check that tomorrow.
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Yes, it has been merged into git HEAD a few weeks back now.
The FPS is a measured FPS and it's averaged over a second. Depending on dirty region rendering, whether the UI is being updated or whether nofliptimeout is set to something like 0 the FPS will intentionally fluctuate (no flip means we literally don't change the screen at all, so at that point the FPS is 0 - we run the app loop at just under 25fps at that point)
Really there's nothing we can do further than we're already doing. If you leave the machine for long periods of time then it may get out of sync but will be back in sync relatively quickly (within a second or two).
Cheers,
Jonathan
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Well, thanks for the answer... I guess I have to live with it or search for the problem myself but that would be nearly impossible without investing a huge amount of time to understand the code (problem starts after commits from 15 to 17th of june, don't know exactly).
The initially reported problems are still very much there on my side and they are only gone if I have this "bug" where the fps are not at 59.9X or 60.0, sometimes 62.5 or 58.8 (as you can see in that screenshot - it is constantly!)... and it doesn't last only 2 seconds but as long as I restart my pc. But this is only on Windows, on OS X it's perfect now after I added background="true" to the one texture (has an effect only if using no xbt), strangely it's even better without xbt on OS X than with.
Posts: 544
Joined: May 2010
Reputation:
2
Did u test it on multiple windows configurations? Different graphic card/drivers..
Posts: 2,441
Joined: Apr 2009
Reputation:
73
`Black
Team-Kodi Member
Posts: 2,441
Yes, it's on every Windows machine... tested it on WinXP and Win7.