Skip to content

Enhance system info on ARM systems#380

Merged
mdimopoulos merged 2 commits into
fluendo:masterfrom
lumag:system-info
Jul 13, 2026
Merged

Enhance system info on ARM systems#380
mdimopoulos merged 2 commits into
fluendo:masterfrom
lumag:system-info

Conversation

@lumag

@lumag lumag commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

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:

  • Vulkan: turnip Mesa driver
  • V4L2 M2M: Iris Decoder (/dev/video32)

@mdimopoulos mdimopoulos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks. Looks good to me.

lumag added 2 commits July 13, 2026 13:28
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
@mdimopoulos
mdimopoulos merged commit 28d2769 into fluendo:master Jul 13, 2026
5 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