Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KWin KWin
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 58
    • Issues 58
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 160
    • Merge requests 160
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • KWinKWin
  • Merge requests
  • !3420

Change default latency policy to "Force smoothest animations"

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Vlad Zahorodnii requested to merge work/zzag/default-latency-policy into master Jan 11, 2023
  • Overview 10
  • Commits 1
  • Pipelines 4
  • Changes 3

There are some performance differences between X11 and Wayland. Desktop systems are mostly unaffected by them, but laptops suffer a bit.

On Wayland, kwin always does double buffering. This is great for reducing latency and avoiding tearing, but if the gpu can't keep up with the work, you're going to see stuttering.

Another issue is that in order to reduce latency, we need to have very good frame stats. At the moment, kwin records only cpu render time, but we also need to record the gpu time. We've already done some work in this area, but it's most likely Plasma 6 material. (!1163)

In meanwhile, let's change the default latency policy to "prefer smoother animations." It's going to improve frame rate. If people care about latency, they can change latency policy in system settings, the option is still there.

CCBUG: 452119

Edited Jan 17, 2023 by Nate Graham
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/zzag/default-latency-policy