Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Status Monitor Overlay Switch

From GameBrew
Status Monitor Overlay
Statusmonitoroverlaynx.png
General
Authormasagrator
TypeOverlays
Version1.1.7
LicenseGPL-2.0
Last Updated2024/11/25
Links
Download
Website
Source
Support Author

Monitor Your hardware in real time. This is an overlay homebrew dedicated to Nintendo Switch. You need to have installed Tesla environment to use it.

Features

  • CPU Usage for each core (Cores #0-#2 are used by apps/games, Core #3 is used by OS, background processes and also Tesla overlays).
  • GPU Load.
  • CPU, GPU & RAM target frequencies (also real frequencies + RAM Load if sys-clk 2.0.0_rc4+ is installed, use only official RetroNX release for reliable results).
  • Used RAM categorized to: (not supported by FWs <5.0.0).
    • Total.
    • Application.
    • Applet.
    • System.
    • System Unsafe.
  • SoC, PCB & Skin temperatures (Skin temperature not supported by FWs <5.0.0).
  • Fan Rotation Level.
  • PFPS and FPS (they don't work for 32-bit games, shows only if the author's fork of SaltyNX is installed).
  • Battery temperature, raw charge, age, average voltage, average current flow and average power flow.
  • Charger type, max voltage, and max current.
  • DSP usage (only for FW older than 17.0.0).
  • NVDEC, NVENC and NVJPG clock rates.
  • Network type + Wi-fi password.

Installation

Requirements:

Place Status-Monitor-Overlay.ovl to /switch/.overlays/ folder.

Restart Switch, you can then access overlays by pressing all 3 buttons at once: L, D-Pad Down and Right Stick (aka pressing it).

User guide

Tool contains five menus to choose, each one is explained here.

Overlay supports customizations through config file, more here.

You can exit from selected mode by pressing and holding Left Stick + Right Stick. To exit from main menu press B.

If it's not working in dock, you need to first start Status Monitor, then put Nintendo Switch to dock.

FAQ

Q. This homebrew has any impact on games?

Negligible, you won't see any difference. Almost everything is done on Core #3, other cores usage is below 0.001%. Only high refresh rate for Full mode can take up to 4% of Core #3.

Q. When opening Full or Mini mode, overlay is showing that Core #3 usage is at 100% while everything else is showing 0, eventually leading to crash. Why this happens?

There are few possible explanations:

  • You're using nifm services connection test patches (in short nifm ctest patches) that are included in various packs. Those patches allow to connect to network that has no internet connection. But they cause nifm to randomly rampage when connected to network. Find any folder in atmosphere/exefs_patches/ that has in folder name nifm, nfim and/or ctest, delete this folder and restart Switch. If you must use it, only solution is to use this overlay only in airplane mode.
  • You're using some untested custom sysmodule that has no proper thread sleeping implemented. Find out in atmosphere/contents any sysmodule that you don't need, delete it and restart Switch.
  • Your Switch is using sigpatches, is not a primary device, is using linked account, and is connected to network. Delete sigpatches, change your Switch to primary device, unlink account, or disable Wi-Fi.

Screenshots

Full
statusmonitoroverlaynx.png

Mini
statusmonitoroverlaynx2.png

Micro
statusmonitoroverlaynx3.png

FPS Counter
statusmonitoroverlaynx4.png

Media

Resident Evil 5 (Nintendo Switch) - Status Monitor Overlay and NX-FPS (Marek)

Changelog

v1.1.7 2024/11/25

  • Remove for FPS Graph code maintaining compatibility with old SaltyNX, fixes issue with retrieving refresh rate for docked mode.

v1.1.6 2024/11/06

  • Small code refactor which resulted in slightly smaller size
  • Support SaltyNX 1.0.3+ display refresh rate update logic in FPS Graph to fix issue with graph randomly not adjusting height to refresh rate (if there is older SaltyNX used, overlay will use old logic)

v1.1.5 2024/11/03

  • add new config key to status-monitor category - average_gpu_load, by default disabled
    • Because GPU load by design shows only load for last 1/60s, this option allows for more accurate gpu load readings at the cost of visible slight bump in CPU Core #3 usage

v1.1.4 2024/10/13

  • Fix issue with overlay potentially crashing system on overlay's boot related to nv services
  • Fix potential issue with sleep mode at 19.0.0+ that was first discovered in sys-clk retronx-team/sys-clk#85
    • For some reason using tsSessionGetTemperature is enough to crash system while is in sleep mode
    • It was fixed by moving from ts service to i2c. Readings are not filtered, so reading output and behavior can be slightly different than what we were used to.

v1.1.3 2024/09/02

  • Switch reading fan rotation level from "fan" service to "pwm" service.
    • This allows avoiding potential conflict with other homebrew/sysmodules (f.e. Nx-FanControl) because only one process can have fan controller session in "fan" service.

v1.1.2 2024/08/08

  • Fix Resolutions sometimes going out of bounds in Full Mode.

v1.1.1 2024/08/05

  • Added options to show 2 the best candidates for game's internal resolution in Mini and Full modes.
  • Added keys to config that can disable showing FPS and Resolutions in Full mode
  • Added value RES to show key in Mini mode that shows Resolutions.

v1.1.0 2024/08/04

  • Added "Game Resolutions" menu to "Other" category. More HERE.

v1.0.4 2024/06/25

  • Moved from c++20 to c++23
  • With SaltyNX 0.8.0+ FPS Graph mode will adjust height according to received back display refresh rate.

v1.0.3a 2024/01/05

  • Fix compability issues with combos from Ultrahand and Tesla configs after implementing #72.

v1.0.3 2024/01/04

  • Improved key combo and navigation handling (thanks to @IrneRacoonovich ).
  • Fixed an issue with battery readings not working after exiting Micro mode multiple times without rebooting Switch (this bug affected also other homebrew reading battery stats with PSM service).
  • Futureproofed for sys-clk IPC updates.

v1.0.2 2023/21/09

  • Add new keys to config: battery_avg_iir_filter and battery_time_left_refreshrate, more in CONFIG.
  • Changing battery_avg_iir_filter to true results in period time of average voltage being changed to 45s, and 11.25s for amperage.
  • Removed whole logic behind PR #56 instead relying now on max17050 TTE register.
  • Changed i2c communication code to avoid issues with wrong readings (thanks to ~lineon).
  • Move FPS Graph and FPS Counter to one subcategory "FPS".

v1.0.1 2023/11/11

  • Allow hiding real frequencies, deltas and target frequencies in Full mode (deltas are not showed if both real + target frequencies are hidden).
  • This release also includes 2 shadow updates for 1.0.0, which includes fixes for overflowing of real frequencies + deltas, and also fixed RAM positioning calculations in Micro and Mini modes.

v1.0.0 2023/11/11

  • Fixed bugs:
    • Temperatures for PCB and SoC were swapped in 0.9.2 release.
    • Sometimes exiting mode resulted in exiting overlay.
  • Changes:
    • Introduction of experimental configuration file, which allows changing exit button combo, Mini + Micro + FPS Counter + FPS Graph UIs, refresh rates. More explained here.
      • Button combos are read from 3 different configurations files, the most important is status-monitor config, next config used by Ultrahand overlay, and last config for Tesla Menu.
      • Now default combo button is L + D-PAD Down + R Stick. If someone wants to bring back old combo, use status-monitor config file.
    • Allow reading real frequencies from sys-clk 2.0.0_rc4+ sysmodule, if not installed showed frequencies in Mini and Micro modes are falling back to target frequencies
    • Allow reading RAM load from sys-clk 2.0.0_rc4+
    • Remove option to change refresh rate with button combo
    • Remove option to change position of Mini and FPS Counter modes with button combo
    • Show proper button icons in Full mode (only exceptions are general UP, DOWN, LEFT and RIGHT because they include both Sticks and D-Pad)
    • If sys-clk 2.0.0_rc4+ is active, Micro mode shows next to frequencies instead of @ also △ if real frequency is higher by 20 MHz than expected, ▽ if it's lower by 20 MHz, ≠ if it's lower by 50 MHz (seeing ≠ for longer than few seconds without any change suggests that your overclocking solution is bugged).
    • PFPS is now not showing in Mini mode
    • Edit: November 10th, 2023 18:04 GMT: Fixed positioning calculations for RAM in Micro and Mini modes when sys-clk is not working.
    • Edit: Novermber 11th, 2023 06:13 GMT: Fixed real frequencies and deltas overflowing above INT32_MAX

v0.9.2 2023/10/14

  • 17.0.0 FW issues fixed:
    • SoC and PCB temperatures showing 0
    • Charger Type, Charger Max Voltage and Charger Max Current showing wrong values
  • General changes:
    • SoC and PCB temperatures across all FWs are now showing decimals
    • Next to Battery Power Draw in Full, Mini and Micro modes you can see now also estimated time left before Switch will shutdown (thanks to rkuchkarov for PR #56)
    • In Micro instead of MB for RAM now you will see GB up to one decimal
    • In Micro now power draw shows only one decimal
    • Fan level will now render only one decimal across all modes
    • Miscellaneous now also shows NVENC and NVJPG clocks
  • Since 17.0.0 audsnoop is not available, DSP Usage is not shown in Other -> Miscellaneous tab

v0.9.1 2023/05/27

  • Now filepath for Micro mode is not hardcoded, it is retrieved via Tesla Menu.
  • To use it with changed filename it is required to update Tesla Menu to version at least 1.2.3.
  • On older versions of Tesla Menu it behaves the same as 0.9.0 version.

v0.9.0 2023/04/23

  • Corrected Battery Power Flow calculation.
  • Changed Battery Stats reading to 2 readings per second. Current, Voltage and Power Flow are calculated now via 10 last readings.
  • Changed FPS average calculation to 10 last readings instead of constant averaging.
  • Added Graphs tab with currently only FPS available (Graphs tab won't show for now if you don't have SaltyNX installed).
  • Moved Battery/Charger + Miscellaneous tabs under "Other" tab.
  • You can move now FPS Counter + FPS Graph to the bottom and top of screen by pressing ZR + R + D-Pad Down/Up.
  • For FPS readings it is required to update NX-FPS to version 1.4.0+.

v0.8.3 2023/04/16

  • Add Battery Power Flow stat into Full, Mini, Micro modes and Battery/Charger tab.
  • Add Battery Current Flow into Battery/Charger tab.
  • Change Battery Voltage from 45s average to average of 5 to match better with Battery Current Flow and get faster responses to changes in voltage at the cost of slightly less accurate readings.
  • Fix a random issue with allocing memory for reading Wi-Fi password and battery stats.

v0.8.2 2023/04/01

  • Fix conditional handle leak.
  • Fix memory leak.
  • Workaround race condition causing random crashes in docked mode.

v0.8.1 2023/03/03

  • Move reading FPS from dmnt:cht to SharedMemory. This fixes any stutterings, thread desyncing and cracking sounds you may have encountered when using NX-FPS in games.
  • Requires NX-FPS 0.4+ and SaltyNX 0.5.0+ to read FPS.

v0.8.0 2023/02/27

  • Add new mode - Micro.
  • To access it YOU MUST NOT rename file, otherwise it will not show. More.
  • Edit: Fixed GPU Load in Micro mode.

v0.7.1 2023/02/23

  • It adds support for 16.0.0.

v0.7 2022/11/06

  • New 2 tabs were added:
    • Battery/Charger.
    • Miscellaneous.
  • You can now check Battery temperature, max supported charger voltage and current, connected Wi-Fi password and few others.

v0.6.4 2022/03/25

  • Added support for 14.0.0 FW.
    • HOS removed function for reading SoC and PCB temperatures in milli Celsius. Status Monitor 0.6.3 was outputting 0.0C because of that. Now it reads temperature in Celsius without decimals on FW 14.0.0+.
  • Fixed slow boot time by reimplementing fix from Breeze repository.

v0.6.3 2020/08/25

  • Fixed button combo.

v0.6.2 2020/08/24

  • Adapted c7cefce commit from main libtesla to my fork. Thanks to that Status Monitor is now showed on screenshots by default and also in videos.

v0.6.1 2020/06/05

  • Fix issue related to always forcing opening cheat process with dmnt:cht that sometimes resulted in conflicts with other tools.
  • Now it's checking first if cheat process is opened already.

v0.6.0 2020/05/19

  • If dmnt:cht is not detected, it's using svc calls to read FPS values for NX-FPS (now only if SaltyNX check failed, FPS Counter won't show).
  • Be aware that not using Atmosphere's dmnt:cht may introduce conflicts with other cheat engines, resulting in crashes or hangs.

v0.5.5 2020/05/19

  • Now if dmnt:cht initializing didn't success or SaltyNX check failed, FPS Counter option won't show.
  • Fixed issue with SaltyNX check returning false positive.

v0.5.4 2020/05/16

  • Fix issue with CPU Core usage stuck at last value when core usage is at peak.

v0.5.3 2020/05/12

  • Updated to libnx 3.2.0, which helps with very rare case of crashing overlay if pl sessions are depleted.
  • Fixed wrong version inside overlay.

v0.5.2 2020/04/24

  • Added version info for Tesla menu.
  • Added support for SX OS (FPS Counter is not available).

v0.5.1 2020/03/14

  • Fixed wrong parsing temperatures for PCB and SoC.

v0.5 2020/03/08

  • Main menu from which you can now choose 3 modes, all explained here.
  • Auto-switching input detection, so home button trick is now obsolete.

v0.4.2 2020/03/04

  • Repaired bug that was requiring in 0.4.1 only Right Stick to be pressed to exit.

v0.4.1 2020/03/03

  • Ported to new libtesla. Now requires Tesla menu >=1.0.2 to work correctly.

v0.4 2020/02/29

  • Added support for SaltyNX plugin - NX-FPS.

v0.3 2020/02/27

  • Added:
    • Switching refresh rate between 1 and 5 FPS (More FPS results in higher Core #3 usage).
  • GPU:
    • Load.
  • Changes/fixes:
    • Fixed critical bug that was shutting down Switch if FW was lower than 7.0.0 (thx to Behemoth for providing correct magic to IController).
    • Renamed 'Temperatures' to 'Thermal'.
    • Renamed 'Fan Rotation' to 'Fan'.
    • Repositioned Thermal category.
    • Added checks that prevents from using functions if services are not initialized. This helps with FWs <5.0.0 which doesn't support showing Memory used and Skin temperature.
    • Buttons are now checked outside of FPS limitations, so detecting input and exiting is now smoother.

v0.2 2020/02/22

  • Added:
    • CPU:
      • Actual frequency.
    • GPU:
      • Actual frequency.
    • RAM:
      • Actual frequency.
      • Used memory categorized to: Total, Application, Applet, System, System Unsafe.
    • Temperatures.
    • SoC temperature.
    • PCB temperature.
    • Skin temperature.
    • Fan rotation level.
  • Changes/fixes:
    • Changed interval for everything to 1s.
    • Changed refresh rate to 1 FPS, which reduced homebrew usage of Core #3 from 26 percent points to 1 percent point.
    • Core Usage now always starts at 0%.

v0.11 2020/02/20

  • Code was changed to make each CPU core independent, so they will not block each other in case of heavy load.
  • Changed exit button from holding Left Stick to pressing Left Stick + Right Stick.

v0.1 2020/02/20

  • First Release.

Credits

Thanks To:

  • RetroNX channel for helping with coding stuff.
  • SunTheCourier for sys-clk-Overlay from which I learned how to make my own Tesla homebrew.
  • Herbaciarz for providing screenshots from HDMI Grabber.
  • KazushiMe for writing code to read registers from max17050 chip.
  • CTCaer for Hekate from which I took max17050.h and calculation formulas for reading battery stats from max17050 chip.
  • ChanseyIsTheBest for testing Game Resolutions menu.

External links

Advertising: