Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/kms optimizations #1086

Merged
merged 9 commits into from
Sep 4, 2023
Merged

Conversation

cmeissl
Copy link
Collaborator

@cmeissl cmeissl commented Jul 21, 2023

This PR tries to reduce the amount of atomic tests we issue.

A quick profile already shows that this can greatly improve the time we spend in render_frame:
Screenshot from 2023-07-21 22-35-25

Draft because this needs more in depth testing.

@cmeissl cmeissl force-pushed the feature/kms_optimizations branch 2 times, most recently from c3d6824 to 168f7b2 Compare July 23, 2023 11:04
@codecov-commenter
Copy link

codecov-commenter commented Jul 23, 2023

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (b54598f) 24.00% compared to head (164d155) 24.01%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1086      +/-   ##
==========================================
+ Coverage   24.00%   24.01%   +0.01%     
==========================================
  Files         140      140              
  Lines       21583    21583              
==========================================
+ Hits         5180     5183       +3     
+ Misses      16403    16400       -3     
Flag Coverage Δ
wlcs-buffer 21.01% <0.00%> (ø)
wlcs-core 20.64% <0.00%> (ø)
wlcs-output 8.44% <0.00%> (ø)
wlcs-pointer-input 22.64% <0.00%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/backend/egl/ffi.rs 0.00% <ø> (ø)
src/backend/egl/native.rs 0.00% <ø> (ø)
src/backend/renderer/element/mod.rs 39.03% <ø> (ø)
src/backend/renderer/element/utils/wayland.rs 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@cmeissl cmeissl force-pushed the feature/kms_optimizations branch from 168f7b2 to 164d155 Compare July 23, 2023 19:48
@cmeissl cmeissl requested a review from Drakulix July 23, 2023 19:48
Copy link
Member

@Drakulix Drakulix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks mostly good to me

@bwidawsk
Copy link
Contributor

bwidawsk commented Aug 3, 2023

FYI this fixes a direct scanout bug when clear color is black

@bwidawsk
Copy link
Contributor

I'd like to see this move along due to the bug fix. Anything I can do to help?

@cmeissl
Copy link
Collaborator Author

cmeissl commented Aug 31, 2023

Sorry for taking so long, I continued to work on this and hope we can get it merged in the next couple of days.

@cmeissl cmeissl force-pushed the feature/kms_optimizations branch 4 times, most recently from 18a6d24 to 694be18 Compare September 3, 2023 12:12
@cmeissl cmeissl marked this pull request as ready for review September 3, 2023 12:42
@cmeissl cmeissl requested a review from Drakulix September 3, 2023 12:43
@cmeissl cmeissl force-pushed the feature/kms_optimizations branch from 694be18 to fb467e4 Compare September 4, 2023 09:54
@Drakulix Drakulix merged commit 17333c4 into Smithay:master Sep 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants