PPC services: Difference between revisions

Ctcaer (talk | contribs)
also fix cpu boost values in PPC
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
APM is utilized for setting system performance profiles including clocks for CPU, GPU, and memory.
APM is utilized for setting system performance profiles including clocks for CPU, GPU, and memory.
[9.0.0+] The PPC system module is now stubbed and all its services were moved into [[PTM_services|PTM]].


= apm =
= apm =
This is "nn::apm::IManager". This was moved to [[Applet_Manager_services|AM]] with [8.0.0+].  
This is "nn::apm::IManager".
 
This was moved to [[Applet_Manager_services|AM]] with [8.0.0+] and is now a shim for [[#apm:am|apm:am]].


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 12: Line 16:
| 1 || GetPerformanceMode
| 1 || GetPerformanceMode
|-
|-
| 6 || [7.0.0+] IsCpuOverclockEnabled
| 6 || [7.0.0+] [[#IsCpuOverclockEnabled]]
|}
|}


== OpenSession ==
== OpenSession ==
Returns an [[#ISession]].
Returns an [[#ISession]].
== IsCpuOverclockEnabled ==
No input, returns an output u8 bool.


= apm:p =
= apm:p =
This is "nn::apm::IManagerPrivileged".
This is "nn::apm::IManagerPrivileged".
This service no longer exists in [8.0.0+].


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 30: Line 39:
== OpenSession ==
== OpenSession ==
Returns an [[#ISession]].
Returns an [[#ISession]].
= apm:am =
This is "nn::apm::IManager".
This was added with [8.0.0+] and is the same as the old [[#apm|apm]] service.


= apm:sys =
= apm:sys =
Line 68: Line 82:
| 0 || Disabled.
| 0 || Disabled.
|-
|-
| 1 || Use [[#PerformanceConfiguration|performance configurations]] 0x92220009 and 0x9222000A, or 0x9222000B and 0x9222000C.
| 1 || Boost CPU. Additionally, throttle GPU to minimum.
Use [[#PerformanceConfiguration|performance configurations]] 0x92220009 and 0x9222000A, or 0x9222000B and 0x9222000C.
|-
|-
| 2 || Use [[#PerformanceConfiguration|performance configurations]] 0x9222000B and 0x9222000C.
| 2 || Conserve power. Only throttle GPU to minimum.
Use [[#PerformanceConfiguration|performance configurations]] 0x9222000B and 0x9222000C.
|}
|}


Line 87: Line 103:
| 1 || GetPerformanceConfiguration
| 1 || GetPerformanceConfiguration
|-
|-
| 2 || [8.0.0+]
| 2 || [8.0.0+] [[#SetCpuOverclockEnabled]]
|}
|}


Line 95: Line 111:
== GetPerformanceConfiguration ==
== GetPerformanceConfiguration ==
Takes an u32 [[#PerformanceMode]] and returns an output u32 [[#PerformanceConfiguration]].
Takes an u32 [[#PerformanceMode]] and returns an output u32 [[#PerformanceConfiguration]].
== SetCpuOverclockEnabled ==
Takes an input u8 bool, no output.


== PerformanceMode ==
== PerformanceMode ==
Line 111: Line 130:
! Value || CPU clock || GPU clock || Memory clock
! Value || CPU clock || GPU clock || Memory clock
|-
|-
| 0x00010000 || 1020 || 384 || 1600
| 0x00010000 || 1020.0 || 384.0 || 1600.0
|-
|-
| 0x00010001 || 1020 || 768 || 1600
| 0x00010001 || 1020.0 || 768.0 || 1600.0
|-
|-
| 0x00010002 || 1224 || 691.2 || 1600
| 0x00010002 || 1224.0 || 691.2 || 1600.0
|-
|-
| 0x00020000 || 1020 || 230.4 || 1600
| 0x00020000 || 1020.0 || 230.4 || 1600.0
|-
|-
| 0x00020001 || 1020 || 307.2 || 1600
| 0x00020001 || 1020.0 || 307.2 || 1600.0
|-
|-
| 0x00020002 || 1224 || 230.4 || 1600
| 0x00020002 || 1224.0 || 230.4 || 1600.0
|-
|-
| 0x00020003 || 1020 || 307 || 1331.2
| 0x00020003 || 1020.0 || 307.2 || 1331.2
|-
|-
| 0x00020004 || 1020 || 384 || 1331.2
| 0x00020004 || 1020.0 || 384.0 || 1331.2
|-
|-
| 0x00020005 || 1020 || 307.2 || 1065.6
| 0x00020005 || 1020.0 || 307.2 || 1065.6
|-
|-
| 0x00020006 || 1020 || 384 || 1065.6
| 0x00020006 || 1020.0 || 384.0 || 1065.6
|-
|-
| 0x92220007 || 1020  || 460.8 || 1600
| 0x92220007 || 1020.0 || 460.8 || 1600.0
|-
|-
| 0x92220008 || 1020 || 460.8 || 1331.2
| 0x92220008 || 1020.0 || 460.8 || 1331.2
|-
|-
| [7.0.0+] 0x92220009 || 1785 || 768 || 1600
| [7.0.0+] 0x92220009 || 1785.0 || 76.8 || 1600.0
|-
|-
| [7.0.0+] 0x9222000A || 1785 || 768 || 1331.2
| [7.0.0+] 0x9222000A || 1785.0 || 76.8 || 1331.2
|-
|-
| [7.0.0+] 0x9222000B || 1020 || 768 || 1600
| [7.0.0+] 0x9222000B || 1020.0 || 76.8 || 1600.0
|-
|-
| [7.0.0+] 0x9222000C || 1020 || 768 || 1331.2
| [7.0.0+] 0x9222000C || 1020.0 || 76.8 || 1331.2
|}
|}


Line 194: Line 213:
|-
|-
! Key || Size || Notes
! Key || Size || Notes
|-
| background_download_stress_testing_storage || strlen || "sdcard", "builtin", "system".
|-
|-
| battery_draining_enabled || 1 || ?
| battery_draining_enabled || 1 || ?
|-
| fs_access_log_mode || strlen || "log", "sdcard", "log+sdcard", "off".
|-
| fs_speed_emulation_mode || strlen || "faster", "slower", "random", "off".
|-
| host_romfs_redirection_target || strlen || "builtin", "off".
|-
| idle_time_detect_mode || strlen || "on", "off".
|-
| initial_tick_value || strlen || "7days", "14days", "30days", "90days", "hex": ?.
|-
| memory_mode || strlen || "auto", "4GB", "6GB".
|-
| needs_update_vulnerability_policy || strlen || "default": ?, "force_true": ?, "force_false": ?.
|-
| operation_mode_policy || strlen || "auto": ?, "handheld", "console".
|-
|-
| performance_mode_policy || strlen || "auto": use boost mode when docked. "normal": never use boost mode. "boost": always use boost mode (SDEV only).
| performance_mode_policy || strlen || "auto": use boost mode when docked. "normal": never use boost mode. "boost": always use boost mode (SDEV only).
|-
| screenshot_target || strlen || "screenshot": ?, "physical": ?.
|-
|-
| sdev_cpu_overclock_enabled || 1 || SDEV only. Used to allow access to 1224MHz CPU mode.
| sdev_cpu_overclock_enabled || 1 || SDEV only. Used to allow access to 1224MHz CPU mode.
Line 204: Line 243:
|-
|-
| sdev_throttling_additional_delay_enabled || 1 || SDEV only.
| sdev_throttling_additional_delay_enabled || 1 || SDEV only.
|-
| sleep_mode || strlen || "default": ?, "pseudo": ?.
|-
|-
| throttling_for_smpd_enabled || 1 || Not used as of 3.0.
| throttling_for_smpd_enabled || 1 || Not used as of 3.0.