Repository navigation
Conversation
rebizzz
force-pushed
the
ci/nix-workflow
branch
4 times, most recently
from
September 27, 2026 16:49
d0b984d to
d7add9d
Compare
rebizzz
marked this pull request as draft
September 27, 2026 16:57
Add GitHub Actions workflow for Nix build, lint, and test jobs. Also provide an aligned udmabuf allocator in headless software rendering mode to align row strides and pad buffer heights for Mesa llvmpipe SIMD rasterization.
rebizzz
force-pushed
the
ci/nix-workflow
branch
from
September 27, 2026 18:05
d7add9d to
616809e
Compare
rebizzz
marked this pull request as ready for review
September 27, 2026 23:42
Member
Member
|
Thanks for putting this together and for investigating the software-rendering allocator issue @rebizzz . |
11 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add a GitHub Actions CI workflow to run nix flake checks, C++ formatting, workflow tests, packaging, unit tests, and the 231 headless harness checks on pushes and PRs.
Also adds an aligned udmabuf allocator in
src/server/allocator.cppfor software rendering (WLR_RENDERER_FORCE_SOFTWARE=1). When running headless with Mesa llvmpipe, unaligned buffer strides (e.g. non-multiple-of-4 widths like 650 or 1170) caused #GP / SIGSEGV crashes on row 1 due to 16-byte aligned SIMD instructions (vmovdqa), and unpadded heights caused 4-row SIMD reads past the buffer end. Aligning stride to 64 bytes and padding allocation height to 64 rows fixes this.Motivation
Automate build, lint, and test validation on PRs and pushes to main so regressions get caught before merge.
Type of Change
Testing
nix flake checkandnix fmt -- --cijust formatandjust test-workflowsnix build .#defaultjust test(99/99 passed)just check(all 231 harness checks passed in headless software rendering)Checklist
SCOPE.md, or its scope was agreed in an issue or on Discord first.CONTRIBUTING.md.just format, or this PR has no C++ changes.docs/andexamples/config.toml, or this PR does not change user-facing configuration or behavior.