{"id":64,"date":"2022-01-14T19:15:22","date_gmt":"2022-01-14T19:15:22","guid":{"rendered":"https:\/\/her01n.com\/?p=64"},"modified":"2022-01-14T19:15:22","modified_gmt":"2022-01-14T19:15:22","slug":"show-fps-in-gnome","status":"publish","type":"post","link":"https:\/\/her01n.com\/?p=64","title":{"rendered":"Show FPS in Gnome"},"content":{"rendered":"\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>It is possible to display frames per seconds metric in the gnome shell. First create a file <em>\/usr\/share\/wayland-sessions\/gnome-wayland-fps.desktop<\/em><\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<pre class=\"wp-block-code\"><code>&#91;Desktop Entry]\nName=GNOME on Wayland (fps)\nComment=Debug version of gnome, displaying fps\nExec=\/usr\/bin\/env CLUTTER_SHOW_FPS=1 \/usr\/bin\/gnome-session\nType=Application\nDesktopNames=GNOME\nX-GDM-SessionRegisters=true\n<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>Log out, and log into the new session <em>GNOME on Wayland (fps)<\/em>. In the new session, open terminal and launch command:<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<pre class=\"wp-block-code\"><code>sudo journalctl --follow<\/code><\/pre>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>The FPS measurement will be printed every few seconds. Very low values (1-2 FPS) are printed if the session is idle. To test the performance, open some windows, then keep pressing windows button to show and hide overview. Or keep windows pressed and keep pressing arrow buttons to move the window around the screen.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-columns alignwide is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<p>This is an example output:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>jan 14 12:14:41 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 16,46 FPS, average: 1,9ms, peak: 3,7ms\njan 14 12:14:42 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 20,33 FPS, average: 1,9ms, peak: 2,4ms\njan 14 12:14:43 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 22,25 FPS, average: 1,3ms, peak: 2,8ms\njan 14 12:14:44 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 20,30 FPS, average: 1,8ms, peak: 2,5ms\njan 14 12:14:45 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 20,34 FPS, average: 1,8ms, peak: 2,5ms\njan 14 12:14:46 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 22,27 FPS, average: 2,1ms, peak: 3,2ms\njan 14 12:14:47 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 25,82 FPS, average: 1,7ms, peak: 3,4ms\njan 14 12:14:48 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 21,42 FPS, average: 2,0ms, peak: 3,0ms\njan 14 12:14:49 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,0s: 25,16 FPS, average: 2,2ms, peak: 2,7ms\njan 14 12:14:50 wall-e gnome-shell&#91;12525]: *** HDMI-1 frame timings over 1,1s: 18,75 FPS, average: 2,0ms, peak: 2,6ms\n<\/code><\/pre>\n\n\n\n<p>This is an integrated GPU Intel\u00ae HD Graphics 4600 on 4K display. You can see the performance is poor.<\/p>\n<\/div>\n<\/div>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>It is possible to display frames per seconds metric in the gnome shell. First create a file \/usr\/share\/wayland-sessions\/gnome-wayland-fps.desktop Log out, and log into the new session GNOME on Wayland (fps). In the new session, open terminal and launch command: The FPS measurement will be printed every few seconds. Very low values (1-2 FPS) are printed [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/her01n.com\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/her01n.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/her01n.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/her01n.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/her01n.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":0,"href":"https:\/\/her01n.com\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"wp:attachment":[{"href":"https:\/\/her01n.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/her01n.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/her01n.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}