Repository navigation
Vouch request: region screenshare cache fix #140
Replies: 3 comments 2 replies
|
/strike-author AeIe-ed the vouch, discussion, and, i guess, the patch, as it doesnt even exist |
1 reply
|
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I would like to contribute a focused fix to Hyprland for a region screenshare session-cache bug at fractional monitor scales.
On Hyprland 0.56.2 at scale 1.25, the cache compared the incoming logical capture box against the session box after it had been scaled and rounded to physical pixels. The mismatch caused a new managed screenshare session to be retained for each frame. Local tracing measured approximately 72 region-session constructors per second. Normalizing a copy of the incoming box for cache comparison stopped the growth; a 2,931-frame run used one region session.
I opened Hyprland discussion #16953 with the diagnosis and measurements. The minimal patch is available at commit 60edb8e. My first PR was automatically closed because contributors must be vouched.
Could a maintainer review this request and vouch me to submit the fix?
All reactions