This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.Registered User mNo edit summary |
Registered User mNo edit summary |
||
Line 1: | Line 1: | ||
When an animation is running on the display, the related framerate can be monitored from the [[DRM KMS overview | display driver]] level thanks to the command: | When an animation is running on the display, the related framerate can be monitored from the [[DRM KMS overview | display driver]] level thanks to the command: | ||
{{Board$}} (while true; do export fps=`cat /sys/kernel/debug/dri/0/state | grep fps -m1 | grep -o '[0-9]\+'`; echo display ${fps}fps; sleep 4; done) & | {{Board$}} (while true; do export fps=`cat /sys/kernel/debug/dri/0/state | grep fps -m1 | grep -o '[0-9]\+'`; echo display ${fps}fps; sleep 4; done) & | ||
Line 23: | Line 14: | ||
* Use the command "dmesg -n8" to mix both user and kernel console outputs. | * Use the command "dmesg -n8" to mix both user and kernel console outputs. | ||
* [[Debugfs]] configuration needs to be enabled. | * [[Debugfs]] configuration needs to be enabled. | ||
<noinclude> | |||
[[Category:How to trace and debug]] | |||
[[Category:DRM KMS]] | |||
{{PublicationRequestId | 9899 | 2018-12-06 | AlainF}} | |||
</noinclude> |
Latest revision as of 17:07, 16 January 2020
When an animation is running on the display, the related framerate can be monitored from the display driver level thanks to the command:
(while true; do export fps=`cat /sys/kernel/debug/dri/0/state | grep fps -m1 | grep -o '[0-9]\+'`; echo display ${fps}fps; sleep 4; done) &
The display framerate is then periodically output in the user console in "fps" (frames per second):
display 50fps
display 50fps
display 50fps
Notes:
- Stop monitoring the framerate with the command "kill -9 `ps -o ppid= -C sleep`".
- Adjust the framerate update period by modifying the "sleep" value (4 seconds in the example).
- Use the command "dmesg -n8" to mix both user and kernel console outputs.
- Debugfs configuration needs to be enabled.