TDP for default profile goes to the lowest value when starting HC or sometimes when switching to default profile
Upon HC startup, the power settings reset to the lowest TDP (in this case, 3) instead of the configured value (e.g., 8 or 25 Watts). This issue results in the system running super slow. The cause of this issue is unknown, but it may involve loading as 0 and then being limited to the lowest TDP. The issue has been observed on multiple devices, including Ayaneo Air. Attempts to reproduce the issue have been partially successful, but consistency is lacking. A log excerpt is available for further investigation.
2023-06-09 11:27:12.151 +02:00 [DBG] "Windows" executable HandheldCompanion.exe now has the foreground
2023-06-09 11:27:12.151 +02:00 [INF] User requested EPP AC: 33, DC: 50
2023-06-09 11:27:12.249 +02:00 [DBG] User requested "Slow" TDP limit: 25000, error code: 0
2023-06-09 11:27:12.250 +02:00 [DBG] User requested "Stapm" TDP limit: 25000, error code: 0
2023-06-09 11:27:12.250 +02:00 [DBG] User requested "Fast" TDP limit: 25000, error code: 0
2023-06-09 11:27:12.523 +02:00 [INF] Client 1 is now connected!
2023-06-09 11:27:12.730 +02:00 [INF] User requested EPP AC: 33, DC: 50
2023-06-09 11:27:13.521 +02:00 [DBG] Settings HIDmode set to "Xbox360Controller"
2023-06-09 11:27:13.522 +02:00 [DBG] Settings HIDstatus set to "Connected"
2023-06-09 11:27:13.783 +02:00 [DBG] XUsbDevice arrived: Controller (XBOX 360 For Windows) (VID:0x045E, PID:0x028E) HID\VID_045E&PID_028E&IG_01\3&166929ef&0&0000
2023-06-09 11:27:13.785 +02:00 [DBG] Controller plugged: Controller (XBOX 360 For Windows)
2023-06-09 11:27:13.818 +02:00 [INF] ControllerCommon.Managers.ServiceManager has started
2023-06-09 11:27:13.819 +02:00 [INF] Controller Service status has changed to: Running
2023-06-09 11:27:15.168 +02:00 [DBG] "Windows" executable notepad++.exe now has the foreground
2023-06-09 11:27:15.221 +02:00 [INF] User requested EPP AC: 33, DC: 50
2023-06-09 11:27:15.291 +02:00 [INF] Profile Notepad++ applied
2023-06-09 11:27:17.250 +02:00 [DBG] User requested "Slow" TDP limit: 15000, error code: 0
2023-06-09 11:27:17.251 +02:00 [DBG] User requested "Stapm" TDP limit: 15000, error code: 0
2023-06-09 11:27:17.251 +02:00 [DBG] User requested "Fast" TDP limit: 20000, error code: 0
2023-06-09 11:27:21.776 +02:00 [DBG] "Windows" executable HandheldCompanion.exe now has the foreground
2023-06-09 11:27:21.776 +02:00 [INF] User requested EPP AC: 33, DC: 50
2023-06-09 11:27:21.839 +02:00 [INF] Profile Default applied
2023-06-09 11:27:22.252 +02:00 [DBG] User requested "Slow" TDP limit: 3000, error code: 0
2023-06-09 11:27:22.253 +02:00 [DBG] User requested "Stapm" TDP limit: 3000, error code: 0
2023-06-09 11:27:22.253 +02:00 [DBG] User requested "Fast" TDP limit: 3000, error code: 0
2023-06-09 11:27:22.424 +02:00 [INF] Client 1 disconnected
Should be fixed, needs more testing.
Can confirm, 100% repro on Build 0.16.0.5 Aya Neo 2
Can lead to system instability. Updating the default profile tdp does not seem to do anything.
I also want to add that this is a SEVERE issue, it's causing repeated crashes and hangs because TDP drops too low for an unknown reason.
It's worth downgrading to avoid this issue right now.
@TAGE7 it's been fixed in: https://github.com/Valkirie/HandheldCompanion/commit/4128e495853d6b3cdf49497199c901df4f522967 will be included in the upcoming release.
Someone on Discord mentioned still seeing this with 0.16.1.1. Needs more testing.
Quick update from further testing with AN2: Device is consistently failing to wake up from sleep when intentionally put into sleep mode manually. Timeout to sleep still seems to work
Repro 5/5 with 0.16.0.5
Without HC installed, no issues.
Not able to repro with Build 0.15.1.0
Can reproduce the lowest TDP being set still with current main branch. Not consistently though.
Fixed.