You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[CMake] Animation playback is not smooth anymore #1196
Synfig version & platform:
Building from source
Debian sid
Issue description:
Pulled and merged updates from master branch today and encountered the problem.
Playback lags gradually from start time and gets slower as timeline cursor progresses toward the end. Screencast from 05-03-20 01:31:30 PM IST.zip
Did git bisect and no luck catching the commit that's causing the issue.
Same laggy playback BTW, at the time I reported this issue I used CMake build script to build synfig
This is a bug from synfig's CMake build script
Just to make sure, I tried building using build-production script and animation playback is smooth
@Keyikedalube confirmed. I can take a look on the next week. Thanks for pointing this out.
Since there are no changes to CMake at this time, I assume that some flags / definitions are set incorrectly. Anyway, it will be interesting :)
@rodolforg this is CMake only related problem. The interesting part of this is that there some code which works very slow without defines which CMake did not set.
I also noticed that autotools version skips frames, but CMake is not (need to check this again). So problem maybe deeper, and we have rendering slowdown on longer animations.
Activity
Keyikedalube commentedon Mar 5, 2020
This issue is noticeable even on an empty canvas workspace.
rodolforg commentedon Mar 5, 2020
Keyikedalube commentedon Mar 5, 2020
On my old but recent synfig folder where I haven't rebased from upstream, the working commit id is
6b433d2
rodolforg commentedon Mar 5, 2020
Keyikedalube commentedon Mar 5, 2020
Last working commit. I'm checking out other commits with git bisect.
Sorry for the delay... was away during the build
Keyikedalube commentedon Mar 5, 2020
Did git bisect and no luck catching the commit that's causing the issue.
Same laggy playback
BTW, at the time I reported this issue I used CMake build script to build synfig
This is a bug from synfig's CMake build script
Just to make sure, I tried building using build-production script and animation playback is smooth
ice0 commentedon Mar 6, 2020
@Keyikedalube confirmed. I can take a look on the next week. Thanks for pointing this out.
Since there are no changes to CMake at this time, I assume that some flags / definitions are set incorrectly. Anyway, it will be interesting :)
[-]Animation playback is not smooth anymore[/-][+][CMake] Animation playback is not smooth anymore[/+]rodolforg commentedon Mar 7, 2020
I can't reproduce it on Linux + autotools.
ice0 commentedon Mar 7, 2020
@rodolforg this is CMake only related problem. The interesting part of this is that there some code which works very slow without defines which CMake did not set.
ice0 commentedon Mar 7, 2020
I also noticed that autotools version skips frames, but CMake is not (need to check this again). So problem maybe deeper, and we have rendering slowdown on longer animations.
Keyikedalube commentedon Jun 11, 2020
ice0 commentedon Nov 17, 2020
@Keyikedalube can you check if problem is resolved?
Keyikedalube commentedon Nov 17, 2020
@ice0 I did yesterday. Problem is resolved :)
ice0 commentedon Nov 17, 2020
@Keyikedalube Awesome! Thank you!