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

Use atomic commits for DRM rendering #925

Merged
merged 1 commit into from
Jan 29, 2024
Merged

Conversation

will-v-pi
Copy link
Collaborator

Use atomic commits for DRM rendering, and also add support for using pure python kms module if available, instead of current C++ bindings

Use atomic commits for DRM rendering, and also add support for using
pure python kms module if available, instead of current C++ bindings

Signed-off-by: William Vinnicombe <[email protected]>
@davidplowman
Copy link
Collaborator

@will-v-pi Thanks for this! LGTM. Are you happy to go ahead and merge?

It seems a bit annoying that we have to invoke the garbage collector explicitly, this does seem to be a bit of a sore point with Python sometimes.

@will-v-pi
Copy link
Collaborator Author

Yeah, I'm happy to merge - with the garbage collection, I added that as the card only seems to get garbage collected once a new preview is started rather than when a preview is stopped, which was causing issues in the drm stop restart test

@davidplowman davidplowman merged commit 50e78bf into raspberrypi:next Jan 29, 2024
4 checks 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.

2 participants