Homebrew WIP Status Monitor Overlay - Tesla Overlay to monitor your hardware

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,097
Country
Poland
Preview of my new mode: Micro

Release soon

For anybody that knows how libtesla works underhood - no, I didn't make framebuffer bigger than originally is. And it's not a separate file.

2023022613580800.jpg
 

dygeo

Well-Known Member
Newcomer
Joined
Feb 5, 2023
Messages
51
Trophies
0
Age
31
XP
126
Country
France
Aperçu de mon nouveau mode : Micro

Sortie bientôt

Pour tous ceux qui savent comment libtesla fonctionne sous le capot - non, je n'ai pas agrandi le framebuffer qu'il ne l'était à l'origine. Et ce n'est pas un fichier séparé.

View attachment 355731
did you just do it?
Post automatically merged:

did you just do it?
it will be available when 😀
 

Chrisssj2

Well-Known Member
Member
Joined
Feb 12, 2008
Messages
2,709
Trophies
1
XP
4,409
Country
Netherlands
Released 0.8.0 version adding Micro mode.
I needed something to have a fast way to move my eyes between different data and decided to color type of stats with light red color.

View attachment 355786

https://github.com/masagrator/Status-Monitor-Overlay/releases/tag/0.8.0
I had just downloaded update. only to find it updated again in last 2 hours xD thnx. great new functionality will test near future. So I assume tesla plugin with overlay environment doesnt need update for 16.0?
 

binkinator

Garfield’s Fitness Coach
Member
GBAtemp Patron
Joined
Mar 29, 2021
Messages
6,511
Trophies
2
XP
6,156
Country
United States
0.8.1

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,097
Country
Poland
Released 0.8.1 update that moves from reading FPS by using dmnt:cht to reading from SaltyNX SharedMemory.

This solves issue with thread desyncing, audio cracking, etc. that you may have encountered when playing games while using NX-FPS. It may also solve issues with some random detection of game running when actually that was not correct (since we don't rely anymore on offset writing to / reading from file on sdcard).

It requires NX-FPS 0.4+ and SaltyNX 0.5.0+ to read FPS.

I was working on it since April 2022 but couldn't figure out why it didn't work when I was trying to use SaltyNX SharedMemory with more than one plugin. Now everything seems to work flawlessly. Edited ReverseNX-RT code to support SharedMemory for testing purposes, but I guess I will release it too since I put some work into it and code is already merged anyway into repo.

Thanks to @cucholix and ~Monked for tests.
 
Last edited by masagrator,

Desconocido90

Well-Known Member
Newcomer
Joined
May 10, 2016
Messages
87
Trophies
0
Age
34
XP
875
Country
I love the "micro" option from the last updates...
But why does that option disappear from the menu if I write a prefix 0_2 in the ovl file?
 

meha

Well-Known Member
Member
Joined
Feb 12, 2023
Messages
216
Trophies
0
Age
29
XP
854
Country
Korea, South
I love the "micro" option from the last updates...
But why does that option disappear from the menu if I write a prefix 0_2 in the ovl file?
if you check github readme of micro mode :

"It shows only if you didn't change filename of overlay file (So it should be "Status-Monitor-Overlay.ovl"). This is because we need to reload overlay to change framebuffer dimensions without taking more RAM, and Tesla Menu (and libtesla with it) doesn't provide info about filename of overlay that was loaded."
 

Desconocido90

Well-Known Member
Newcomer
Joined
May 10, 2016
Messages
87
Trophies
0
Age
34
XP
875
Country
if you check github readme of micro mode :

"It shows only if you didn't change filename of overlay file (So it should be "Status-Monitor-Overlay.ovl"). This is because we need to reload overlay to change framebuffer dimensions without taking more RAM, and Tesla Menu (and libtesla with it) doesn't provide info about filename of overlay that was loaded."

Thanks for the explanation.

Apparently, it does work if you have two copies of the ovl: one with the prefix and another with the original name (I assume it reloads the second file)
 
  • Like
Reactions: hippy dave
0.8.3

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,097
Country
Poland
I got some requests from people to add this into my overlay after original Switch-OC-Suite got nuked, so here it is.

Version 0.8.3:
  • 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
Reused code from Switch-OC-Suite for reading max17050 registers, so thanks to KazushiMe for writing such easy to use functions.
Also thanks to CTCaer's Hekate from which I took max17050.h and calculation formulas for reading battery stats from max17050 chip.

Battery Power Flow is calculated based on Battery Voltage and Battery Current Flow. They are read once every second and what you see is an average of 5 short period readings to smooth out fluctuations. There was an option to get 45s average that is constantly updated by chip and so value is pretty accurate, but you won't be able to see changes immediately, so decided to use slightly less accurate method to get faster responses.

And because there was too low space for Micro mode to put new data when FPS is read, I have decided to delete units from first two temperatures, and when FPS is read cut decimals of temperatures.

2023041611090200.jpg

Post automatically merged:

And preview of new mode (hide youtube's bottom bar to see it at the beginning :P).
Green line is if FPS is withing range 29.9-30.1 or 59.9-60.1 (not represented by number rendered in background because it's rounded, but from actual reading from plugin), blue if value matches Y position on graph with previous value (aka closest pixel on left). Anything else is white.

As you can see in Xenoblade Chronicles 3 with unlocked framerate FPS is jumping all around while when bringing back stock FPS settings line is green all the time.

I need to resolve few small graphical glitches before releasing. It's not about what you see on video, because they are not that visible like one pixel sometimes rendering on the right side of graph and disappearing.

Graph has exactly 61 pixels of height to represent each rounded to integer FPS as pixel. It can move from top to bottom (this option will be also added to classical FPS Counter).

 
Last edited by masagrator,
0.9.0

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,097
Country
Poland
0.9.0 version is now available.

Changelog:
  • 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+
After few years I have finally tackled graph. So we are close to 1.0.0 release.
If you have any ideas for another graphs I can implement, give me a tip with proper explanation how this should work.

Finally at least one equation I have learned in middle school was useful. :D
 

sorabora

Well-Known Member
Member
Joined
Dec 8, 2016
Messages
368
Trophies
0
XP
1,520
Country
United States
0.9.0 version is now available.

Changelog:

After few years I have finally tackled graph. So we are close to 1.0.0 release.
If you have any ideas for another graphs I can implement, give me a tip with proper explanation how this should work.

Finally at least one equation I have learned in middle school was useful. :D

The graph is especially cool, thank you.

Question: what are the tiny white dots that appear over the green line in the graph?
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,097
Country
Poland
Question: what are the tiny white dots that appear over the green line in the graph?
White line is the default color. Green line is if it's rounded 30.0 or 60.0 aka -0.05/+0.04

If it's any X.0 that is not 30.0 or 60.0 with this rounding error, it's purple. So those white dots are actually showing when FPS on this height is not matching with what this height represents.

Colors show only if previous frame was in the same range error.

So f.e.
29.90 - white
29.96 - white
30.04 - green
30.01 - green
30.09 - white

39.90 - white
39.96 - white
40.04 - purple
40.01 - purple
40.09 - white

It makes framepacing issues more visible, though rare occurrences of white dots are not necessarily a sign of issues with framepacing (it is necessary to synchronize with vsync event to figure out such very small issues and for now I have no idea how to do that). Constant white line at 30 and 60 FPS height actually is.
 
Last edited by masagrator,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    I rather enjoy a life of taking it easy. I haven't reached that life yet though.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    +1
  • BakerMan @ BakerMan:
    fellas
  • BakerMan @ BakerMan:
    would you rather have a 9-5 desk job with poor pay or work for an intergalactic space militia with no guarantee of being paid?
  • BakerMan @ BakerMan:
    basically, normal boring job or halo and/or helldivers irl
    BakerMan @ BakerMan: basically, normal boring job or halo and/or helldivers irl