[HW Accel Support]: vendor-agnostic *_gpu_top tool #14904
Unanswered
Arol450
asked this question in
Hardware Acceleration Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
People seem to be having problems with intel_gpu_top.
I myself could not get it to work within a (podman) container. Rootless, systemd-started, system-user-mapped.
I tried all permutations of Capabilities, AmbientCapabilities, added capabilities, etc.
frigate.util.services ERROR : Unable to poll intel GPU stats: Failed to initialize PMU! (Operation not permitted)
I can get a different tool to work, a hardware agnostic version of intel_gpu_top.
https://gitlab.freedesktop.org/drm/igt-gpu-tools
https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/blob/master/NEWS : ' ...- New vendor agnostic gputop tool. (Tvrtko Ursulin) ...'
DRM minor 128
PID MEM RSS render copy video compute NAME
1861 166M 161M | 0.0% || 0.0% || 0.0% || 0.0% || 60.7% █▉ | frigate.detecto
2280 1G 603M | 0.0% || 0.0% || 5.7% ▎ || 0.0% || 0.0% | ffmpeg
2330 1G 648M | 0.0% | 0.0% || 5.0% ▎ || 0.0% || 0.0% | ffmpeg
2176 587M 331M | 0.0% || 0.0% || 3.1% ▏ || 0.0% || 0.0% | ffmpeg
2177 556M 302M | 0.0% || 0.0% || 2.9% ▏ || 0.0% || 0.0% | ffmpeg
2171 556M 302M | 0.0% || 0.0% || 2.9% ▏ || 0.0% || 0.0% | ffmpeg
2184 559M 301M | 0.0% || 0.0% || 2.9% ▏ || 0.0% || 0.0% | ffmpeg
2154 557M 307M | 0.0% || 0.0% || 2.6% ▏ || 0.0% || 0.0% | ffmpeg
2231 552M 361M | 0.0% || 0.0% || 2.4% ▏ || 0.0% || 0.0% | ffmpeg
2573 451M 246M | 0.0% || 0.0% || 2.1% ▏ || 0.0% || 0.0% | ffmpeg
I get pretty believable statistics for video acceleration and detector-compute utilization.
I thought i would mention this.
This is on Intel Meteorlake hardware, a medium yolo_nas model on OpenVino, and transparently trans-coding the main stream to AV1 video format, saving a ton of space on the drive, h264_qsv -> av1_qsv
CPU is bored, 90%idle with 18 4MP cameras.
Version
0.15.0-a68c7f4
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Install method
Docker CLI
Object Detector
OpenVino
Network connection
Wired
Camera make and model
Hitosino something something
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions