Skip to content

Split input and output buffer attachments#249

Merged
vaxerski merged 1 commit into
hyprwm:mainfrom
PlasmaPower:split-input-output-atts
Feb 17, 2026
Merged

Split input and output buffer attachments#249
vaxerski merged 1 commit into
hyprwm:mainfrom
PlasmaPower:split-input-output-atts

Conversation

@PlasmaPower

Copy link
Copy Markdown
Contributor

Hopefully fixes #246 and cleans up the code in general. I haven't tested on an mGPU setup yet, @dtgagnon could you test and make sure this fixes the issue for you?

Previously the buffer attachment had two halves combined in one which was causing issues. Splitting them out simplifies everything and fixes the issues. I've also converted the buffer destroy signal handler into a simple destructor for the attachments, which lets me simplify the if statements for getting rid of the old attachments as cleanup is now implicit (adding the new attachment evicts the old one and destructs it).

@ayushthoren

Copy link
Copy Markdown

This seems to be working for me on my mGPU setup!

@dtgagnon

Copy link
Copy Markdown

I also saw the intended behavior building to your fork. 👍

@vaxerski vaxerski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ty!

@vaxerski vaxerski merged commit 8a0eb4f into hyprwm:main Feb 17, 2026
1 check passed
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.

SEGV in CDRMRenderer::blit on multi-GPU startup after #239

4 participants