Skip to content

[CMake] Animation playback is not smooth anymore #1196

Closed

Description

@Keyikedalube

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


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Activity

  1. Keyikedalube commented on Mar 5, 2020

    @Keyikedalube
    ContributorAuthor

    This issue is noticeable even on an empty canvas workspace.

  2. rodolforg commented on Mar 5, 2020

    @rodolforg
    Contributor
  3. Keyikedalube commented on Mar 5, 2020

    @Keyikedalube
    ContributorAuthor

    On my old but recent synfig folder where I haven't rebased from upstream, the working commit id is
    6b433d2

  4. rodolforg commented on Mar 5, 2020

    @rodolforg
    Contributor
  5. Keyikedalube commented on Mar 5, 2020

    @Keyikedalube
    ContributorAuthor

    Last working commit. I'm checking out other commits with git bisect.
    Sorry for the delay... was away during the build

  6. Keyikedalube commented on Mar 5, 2020

    @Keyikedalube
    ContributorAuthor

    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

  7. ice0 commented on Mar 6, 2020

    @ice0
    Collaborator

    @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 :)

  8. changed the title [-]Animation playback is not smooth anymore[/-] [+][CMake] Animation playback is not smooth anymore[/+] on Mar 6, 2020
  9. rodolforg commented on Mar 7, 2020

    @rodolforg
    Contributor

    I can't reproduce it on Linux + autotools.

  10. ice0 commented on Mar 7, 2020

    @ice0
    Collaborator

    @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.

  11. ice0 commented on Mar 7, 2020

    @ice0
    Collaborator

    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.

  12. Keyikedalube commented on Jun 11, 2020

    @Keyikedalube
    Author
  13. added this to the v1.4.1 milestone on Nov 16, 2020
  14. ice0 commented on Nov 17, 2020

    @ice0
    Collaborator

    @Keyikedalube can you check if problem is resolved?

  15. Keyikedalube commented on Nov 17, 2020

    @Keyikedalube
    ContributorAuthor

    @ice0 I did yesterday. Problem is resolved :)

  16. ice0 commented on Nov 17, 2020

    @ice0
    Collaborator

    @Keyikedalube Awesome! Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions