Enhance system info on ARM systems#380
Merged
Merged
Conversation
mdimopoulos
approved these changes
Jul 10, 2026
mdimopoulos
left a comment
Contributor
There was a problem hiding this comment.
Thanks. Looks good to me.
The backend detection enumerated VA-API, VDPAU, Vulkan, NVDEC and QuickSync, but gave no visibility into V4L2 memory-to-memory decoders. On platforms whose only hardware decode path is a V4L2 M2M device (e.g. the Qualcomm Iris codec), the "Backends" section was therefore silent about the decoder actually under test. Detect V4L2 M2M decoders with v4l2-ctl: enumerate /dev/video* nodes, keep those advertising the Video Memory-to-Memory capability in their per-node Device Caps, and among those select decoders by their queue signature (compressed OUTPUT, raw CAPTURE) so encoders are excluded. When no such device is present, no entry is added. Assisted-by: Claude Code:claude-opus-4-8 Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
On ARM platforms /proc/cpuinfo carries no "model name" line, so the CPU field of the system information report fell back to "Unknown CPU" and gave no hint about the cores actually running the tests. Decode the per-processor MIDR fields instead: map the "CPU implementer" code to a vendor and the "CPU part" code to a core name, covering ARM (Cortex/Neoverse), Qualcomm (Scorpion/Krait/Kryo/Falkor), NVIDIA (Denver/Carmel) and Apple (Swift..Avalanche) core families. Identical cores are grouped with their counts, e.g. "ARM Cortex-A78C x4, ARM Cortex-X1C x4". Unknown implementers or parts degrade to their raw hex codes. Non-ARM platforms keep using the "model name" string. Assisted-by: Claude Code:claude-opus-4-8
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.
Enhance system information to print V4L2 M2M drivers in addition to Vulkan / VA. Also decode and print ARM cores information:
System Information
OS: Linux 7.0.13+deb14-arm64
CPU: ARM Cortex-A78C x4, ARM Cortex-X1C x4
GPU: Unknown GPU
RAM: 15.0 GB
Backends: