.\" Man page generated from reStructuredText. . .TH INTEL_GPU_TOP 1 "2020-03-18" "igt-gpu-tools 1.26" "General Commands Manual" .SH NAME intel_gpu_top \- Display a top-like summary of Intel GPU usage . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH SYNOPSIS .sp \fBintel_gpu_top\fP [\fIOPTIONS\fP] .SH DESCRIPTION .sp \fBintel_gpu_top\fP is a tool to display usage information on Intel GPU\(aqs. .sp The tool gathers data using perf performance counters (PMU) exposed by i915 and other platform drivers like RAPL (power) and Uncore IMC (memory bandwidth). .SH OPTIONS .INDENT 0.0 .TP .B \-h Show help text. .TP .B \-J Output JSON formatted data. .TP .B \-l List plain text data. .TP .BI \-o \ Output to the specified file instead of standard output. \(aq\-\(aq can also be specified to explicitly select standard output. .TP .BI \-s \ Refresh period in milliseconds. .TP .B \-L List available GPUs on the platform. .TP .B \-d Select a specific GPU using supported filter. .UNINDENT .SH RUNTIME CONTROL .sp Supported keys: .INDENT 0.0 .INDENT 3.5 \(aqq\(aq Exit from the tool. \(aqh\(aq Show interactive help. \(aq1\(aq Toggle between aggregated engine class and physical engine mode. \(aqn\(aq Toggle display of numeric client busyness overlay. \(aqs\(aq Toggle between sort modes (runtime, total runtime, pid, client id). \(aqi\(aq Toggle display of clients which used no GPU time. \(aqH\(aq Toggle between per PID aggregation and individual clients. .UNINDENT .UNINDENT .SH DEVICE SELECTION .sp User can select specific GPU for performance monitoring on platform where multiple GPUs are available. A GPU can be selected by sysfs path, drm node or using various PCI sub filters. .sp Filter types: .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C \-\-\- filter syntax \-\-\- sys sys:/sys/devices/pci0000:00/0000:00:02.0 find device by its sysfs path drm drm:/dev/dri/* path find drm device by /dev/dri/* node pci pci:[vendor=%04x/name][,device=%04x][,card=%d] vendor is hex number or vendor name .ft P .fi .UNINDENT .UNINDENT .SH JSON OUTPUT .sp To parse the JSON as output by the tool the consumer should wrap its entirety into square brackets ([ ]). This will make each sample point a JSON array element and will avoid "Multiple root elements" JSON validation error. .SH LIMITATIONS .INDENT 0.0 .IP \(bu 2 Not all metrics are supported on all platforms. Where a metric is unsupported it\(aqs value will be replaced by a dashed line. .IP \(bu 2 Non\-root access to perf counters is controlled by the \fIperf_event_paranoid\fP sysctl. .UNINDENT .SH REPORTING BUGS .sp Report bugs to \fI\%https://bugs.freedesktop.org\fP\&. .SH AUTHOR IGT Developers .SH COPYRIGHT 2009,2011,2012,2016,2018,2019,2020 Intel Corporation .\" Generated by docutils manpage writer. .