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

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
88
Trophies
0
XP
377
Country
United States
Because for me that means it shows no valuable information. I want to create second mode - minimal. Current mode will be called advanced or Standard and then maybe I will add total to it.

Ok that sounds good. By the way I've already observed Core #0 can exceed Core #3 in a few games, I have Link's Awakening running right now for example with 47% on Core #0 and 43% on Core #3 (20% Core #1, 17% Core #2)
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,231
Trophies
3
XP
11,938
Country
Poland
Ok that sounds good. By the way I've already observed Core #0 can exceed Core #3 in a few games, I have Link's Awakening running right now for example with 47% on Core #0 and 43% on Core #3 (20% Core #1, 17% Core #2)
I know, Core #3 usage is predictible. Cores #0-#2 depends solely on games.
 

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
88
Trophies
0
XP
377
Country
United States
I've also just noticed that you can 'unlock' controls in the game you're running by opening your Tesla overlay, then hit the home button to unlock controls, then you can return to and play the game with the overlay running.

It's particularly useful for this overlay because you can actively observe the stats while you play a game rather than just standing still.

By the way I tried a build with your GPU load commit, looks like it's working great.

edit- ignore half of the above, I need to read OP's more carefully xD
 
Last edited by UnT7oh,

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,231
Trophies
3
XP
11,938
Country
Poland
I've also just noticed that you can 'unlock' controls in the game you're running by opening your Tesla overlay, then hit the home button to unlock controls, then you can return to and play the game with the overlay running.

It's particularly useful for this overlay because you can actively observe the stats while you play a game rather than just standing still.

By the way I tried a build with your GPU load commit, looks like it's working great.
You didn't even read whole post, did you? :)

If you want to use it simultaneously with game, you need to first start game, then run Tesla, next this homebrew, next press Home button. Now input is detected by all apps.
If you want to use it in dock, you need to first start Status Monitor, then put Nintendo Switch to dock.
This applies to all overlays based on old libtesla. New one will not allow that, but I will modify it to not block this "bug" for this Overlay.
 
  • Like
Reactions: UnT7oh

UnT7oh

Well-Known Member
Newcomer
Joined
Mar 18, 2017
Messages
88
Trophies
0
XP
377
Country
United States
You didn't even read whole post, did you? :)


This applies to all overlays based on old libtesla. New one will not allow that, but I will modify it to not block this "bug" for this Overlay.

xD I just edited my post before you replied. Good news that you'll preserve the 'bug'!

Do you know what to modify in Tesla to increase overlay transparency by the way?
 

Skyraw

New Member
Newbie
Joined
Feb 24, 2020
Messages
2
Trophies
0
Age
28
XP
47
Country
France
Hey,
thank you for that amazing work, it's so useful !
But guys, is it normal that a full overclocked switch with almost 100%CPU charge (and pretty good GPU charge too, i guess)
Only cap at 55-56°C and get 100% fan speed that early in the temp curve ?
Do you know what max temperature can be considered safe ?
I know the Nvidia Shield allow those kind of frequencies out of the box, so i'm not too afraid about the Vcore, but do you think it could be possible to get it in your overlay one day ? (=
MVIMG_20200224_011826.jpg
 
Last edited by Skyraw,

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,231
Trophies
3
XP
11,938
Country
Poland
Yes, this is normal for Switch.
And if you want critical temperatures, this is quote from CTCaer that you can find in RetroNX channel in #oc- discussion

Temperature (tskin) calculation.

Console and Handheld:
tsoc >= 84°C - Immediate sleep. No questions asked.
tpcb >= 84°C - Immediate sleep. No questions asked.

Console only:
tskin < 63°C - Clears both timers.
tskin >= 63°C - Immediate sleep. No questions asked.

Handheld only:
tskin < 58°C - Clears both timers.
58°C <= tskin < 61°C - Starts 60s timer and clears 10s timer.
61°C <= tskin < 63°C - Starts 10s timer.
tskin >= 63°C - Immediate sleep. No questions asked.

The two timers are separate. If 61°C is reached, the 10s timer is immediatly started.
If a timer ends and the temperature is not dropped, goes into sleep.

tskin is the specific calculation below:

Code:
soc_adj = (temps.iir_filter_gain_soc * (temps.soc - temps.soc_adj_prev)) + temps.soc_adj_prev;
pcb_adj = (temps.iir_filter_gain_pcb * (temps.pcb - temps.pcb_adj_prev)) + temps.pcb_adj_prev;
temps.soc_adj_prev = soc_adj;
temps.pcb_adj_prev = pcb_adj;

if (soc_adj >= 38000)
{
    if (temps.handheld)
        soc_adj = (temps.tskin_soc_coeff_handheld[0] * soc_adj) + (1000 * temps.tskin_soc_coeff_handheld[1]);
    else
        soc_adj = (temps.tskin_soc_coeff_console[0] * soc_adj) + (1000 * temps.tskin_soc_coeff_console[1]);
    soc_adj = (soc_adj / 10000) + 500;
}

if (pcb_adj >= 38000)
{
    if (temps.handheld)
        pcb_adj = (temps.tskin_pcb_coeff_handheld[0] * pcb_adj) + (1000 * temps.tskin_pcb_coeff_handheld[1]);
    else
        pcb_adj = (temps.tskin_pcb_coeff_console[0] * soc_adj) + (1000 * temps.tskin_pcb_coeff_console[1]);
    pcb_adj = (pcb_adj / 10000) + 500;
}

skin_adj = MAX(soc_adj, pcb_adj); //tskin

Temperature and fan duty arrays.

Code:
Console temp rates:
Tier 1: [-1,  40,   0,   0]
Tier 2: [36,  43,  51,  51]
Tier 3: [43,  53,  51, 153]
Tier 4: [53,  58, 153, 255]
Tier 5: [58, 100, 255, 255]

Handheld temp rates:
Tier 1: [-1,  40,   0,   0]
Tier 2: [36,  43,  51,  51]
Tier 3: [43,  48,  51, 102]
Tier 4: [48,  53, 102, 153]
Tier 5: [53, 100, 153, 153]
Tier 6: [48, 100, 153, 153]

In both modes, Tier 1 and 2 overlap.
This is for cooling the device faster on idle so the fan can stop.
Device enters Tier 1 with 38°oC, Temp goes to 41°C and enters Tier 2.
It stays there until temp goes to 36°C, where the fan stops (drop to Tier 1).

For handheld mode, we have Tier 5 and 6 also overlapping. Tier 6 is only used on the following occasion:
Temp is +48°C in console mode and we switch to handheld mode. Then it enters Tier 6 and ensures max duty (153) for handheld mode, until the temperature drops to 48°C (drop to Tier C4/H5).
This exists so it can cool down the device faster, because console mode allows for higher temps.

All other Tiers in both modes are linear.

And I'm not planning to add anything that can change how hardware works to this HB.
 
Last edited by masagrator,
D

Deleted User

Guest
thank you very much for sharing your work. Your overlay caused me to overcome my fears of installing tesla. Worked great. Video to help anyone who needs it:

 
  • Like
Reactions: JonJaded

nmkd

Well-Known Member
Member
Joined
Oct 25, 2016
Messages
554
Trophies
0
Age
26
XP
775
Country
Germany
nice! that is what I want! :grog:
I wonder which temperature affects the fan rotation? I noticed that the fan rotation is still 20.00% at 30~40°

Of course.
40°c is cold, most CPUs are designed to run perfectly fine even at 75-80°c.

Switch actually has very aggressive cooling, you rarely hit 60°c.
 
  • Like
Reactions: UltimateFight

spriteice

Well-Known Member
Newcomer
Joined
Jan 17, 2020
Messages
92
Trophies
0
XP
1,030
Country
Australia
Of course.
40°c is cold, most CPUs are designed to run perfectly fine even at 75-80°c.

Switch actually has very aggressive cooling, you rarely hit 60°c.

With max OC in Doom the other night I hit 67°c after about 15 mins of gameplay, and the fans only got to 75% or so. I closed the game by that point as I didn’t want to push it any further.

Turning max OC off the temp was sitting about 60°c
 

masagrator

The patches guy
OP
Developer
Joined
Oct 14, 2018
Messages
6,231
Trophies
3
XP
11,938
Country
Poland
With max OC in Doom the other night I hit 67°c after about 15 mins of gameplay, and the fans only got to 75% or so. I closed the game by that point as I didn’t want to push it any further.

Turning max OC off the temp was sitting about 60°c
You should mention which temp - CPU, SoC or Skin. Skin probably not, because it would be instant shutdown. For PCB and SoC critical is 84, so you have enough space to not worry about.
 
  • Like
Reactions: spriteice

spriteice

Well-Known Member
Newcomer
Joined
Jan 17, 2020
Messages
92
Trophies
0
XP
1,030
Country
Australia
You should mention which temp - CPU, SoC or Skin. Skin probably not, because it would be instant shutdown. For PCB and SoC critical is 84, so you have enough space to not worry about.

It was PCB that got that high and it was during docked mode, skin seemed to be the lowest of the 3. It wasn’t exactly a scientific test rather my observations
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    straferz @ straferz: Anybody know why this is happening to my ACWW town...