Skip to content

feat: add vulkan capabilities checker#111

Merged
jasongdove merged 1 commit intomainfrom
vulkan-caps
Apr 29, 2026
Merged

feat: add vulkan capabilities checker#111
jasongdove merged 1 commit intomainfrom
vulkan-caps

Conversation

@chrisbenincasa
Copy link
Copy Markdown
Collaborator

Also adds a standalone binary in ffpipeline that allows pretty-printing
capabilities for given hardware accels. Useful for debugging your
system!

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request implements Vulkan hardware acceleration support, including a new libvulkan-sys crate for FFI bindings and capability probing for decoders and encoders. It also adds a probe-capabilities utility to inspect hardware acceleration features across various backends. Review feedback highlights potential thread-safety issues with environment variable usage in VAAPI probing, the fragility of the CapsBuf structure for Vulkan capabilities, and a recommendation to lower the requested Vulkan API version for better driver compatibility.

Comment thread crates/ffpipeline/src/capabilities/vaapi/linux.rs
Comment thread crates/ffpipeline/src/capabilities/vulkan/probe.rs
Comment thread crates/ffpipeline/src/capabilities/vulkan/probe.rs
Also adds a standalone binary in ffpipeline that allows pretty-printing
capabilities for given hardware accels. Useful for debugging your
system!
@jasongdove jasongdove linked an issue Apr 29, 2026 that may be closed by this pull request
@jasongdove jasongdove merged commit eb9a70b into main Apr 29, 2026
8 checks passed
@jasongdove jasongdove deleted the vulkan-caps branch April 29, 2026 23:34
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.

Vulkan capabilities / FFI

2 participants