Old version 1.22 of intel_gpu_top has option to output usage statistic to file or stdio, but new v1.23 lost this option. This needed for monitoring GPU usage on server and send data to web page via socket.io. Also, will be cool if intel_gpu_top can output stats to stdio in JSON format! Thanks.
Hi, Two questions: New intel_gpu_top also supports a pretty different set of data. So if we added this option - can you adapt to the new data and is it useful for your use case? Secondly, you could get the CSV data for all the stuff new intel_gpu_top shows in a bit more raw form from the standard kernel perf tool. Just one example on render command streamer busyness: perf stat -a -e i915/rcs0-busy/ -I 1000 -x As said, all the data new version shows is available like this, albeit with some required post-procesing like converting absolute time differences to percentages and similar.
1) Yes, can adapt without any problem. I my case I need render usage and video encode/decode usage data, and memory usage speed/capacity. 2)I know, but this is required extra step to convert/represent data in percent and custom parser. Will be cool if intel_gpu_top just print to stdio raw JSON.
Any news?
Sorry it slipped from my radar. We could add some form of non-interactive stdio output I guess, shouldn't be too difficult. Will see how it fits against the higher priority work.
Pushed additions to implement plain and JSON stdio output: https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/47e91cc220962fef2ad5afd1ce39fea1cec52f95 https://gitlab.freedesktop.org/drm/igt-gpu-tools/commit/06b0830fb948b9b632342cd26100342aa01cbc79
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.