Add patch for variable KWIN_USE_INTEL_SWAP_EVENT

Bug #1876528 reported by xalt7x

This bug report will be marked for expiration in 9 days if no further activity occurs. (find out why)

10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kwin (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Dear maintainer,

Recently I discovered that KWin's environment variable
KWIN_USE_INTEL_SWAP_EVENT=1
makes a huge difference for latency/smoothness
It was supposed to be enabled in KWin 5.18 but due to "organizational issues with KWin development" Roman Glig reverted his commits.
Improvement of that setting reported users with different GPUs
https://bugs.kde.org/show_bug.cgi?id=344433#c27
https://bugs.kde.org/show_bug.cgi?id=415262#c2

However it introduces problems when compositor state changes. Roman Glig fixed it with really simple patch (which unfortunately also was reverted).

https://phabricator.kde.org/D26090

Could you please cherry-pick it for KWin packages?
Source is trusted, fix confirmed and currently could be easily applied (attached slightly adapted patch).

Thanks.

Tags: patch
Revision history for this message
xalt7x (xalt7x) wrote :
description: updated
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Original patch is slightly different, here's adapted version" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Scarlett Gately Moore (scarlettmoore) wrote :

THis patch no longer applies. At all. If it is still needed, please provide an updated patch.

Changed in kwin (Ubuntu):
status: New → Incomplete
Revision history for this message
xalt7x (xalt7x) wrote :

@scarlettmoore.
Thanks for reaching out. I believe it was meant to optimize VSync on KWin
Eventually, KWin upstream developers had set KWIN_USE_INTEL_SWAP_EVENT environment variable by default, but then reverted it due to performance issues (https://invent.kde.org/plasma/kwin/-/merge_requests/627). After that KWin, compositor underwent a major refactoring, so I believe those patches shouldn't be applied anymore, and this bug can be closed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.