I got lots of error messages with the error fixed in D6659 about failed locking of front buffer. The reason was that it returned early in DrmOutput::present() because of the missing logind active state, and KWin didn't delete the buffer when doing this, therefore not releasing the surface lock of the GBM buffer to the EGL surface. This patch makes sure that on any error in present we cleanup the proposed DrmBuffer.
Details
Details
- Reviewers
graesslin - Group Reviewers
KWin - Commits
- R108:d4423186b98f: [platforms/drm] Delete buffer on all errors in present
Diff Detail
Diff Detail
- Repository
- R108 KWin
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.