RK3399S running warm
#8
Running "grep . /sys/class/thermal/thermal_zone0/trip_point_*_type" on the PPP shows only passive, passive and critical.
So adjusting those thermals do nothing, except for shutting down the phone when reaching critical...

edit (I was wrong with the statement above):
The first passive point states the temperature for when the A72 cores start throttling. (trip_point_0)
The second passive point states the temperature for when all the cores start throttling. (trip_point_1)
The third point (critical) sets the temperature that initiates a shutdown. (trip_point_2)

To edit these points:
First check the existing thresholds:
grep . /sys/class/thermal/thermal_zone0/trip_point_*_temp

These following steps require sysfsutils. Use the following commands to install and enable this:
sudo apt install sysfsutils
systemctl status sysfsutils
systemctl is-enabled sysfsutils

Use the following code to adjust the trip points. The numbers are in millidegrees. Adjust them to your liking.
echo -e "class/thermal/thermal_zone0/trip_point_0_temp = 50000\nclass/thermal/thermal_zone0/trip_point_1_temp = 55000\nclass/thermal/thermal_zone0/trip_point_2_temp = 65000" | sudo tee /etc/sysfs.d/throttling.conf

Restart sysfsutils:
sudo systemctl restart sysfsutils

Check if the new trip points are registered:
grep . /sys/class/thermal/thermal_zone0/trip_point_*_temp

This will keep your phone a little bit cooler, but also a little bit slower. The lower the trip points, the faster it throttles the CPU. Be careful with trip_point_2. At this temperature your phone will shut down!
  Reply


Messages In This Thread
RK3399S running warm - by LPIZ - 03-29-2022, 10:33 AM
RE: RK3399S running warm - by bcnaz - 03-29-2022, 12:34 PM
RE: RK3399S running warm - by LPIZ - 03-29-2022, 02:16 PM
RE: RK3399S running warm - by bcnaz - 03-29-2022, 02:31 PM
RE: RK3399S running warm - by tckosvic - 03-30-2022, 02:12 PM
RE: RK3399S running warm - by nande - 04-01-2022, 12:56 AM
RE: RK3399S running warm - by nande - 04-01-2022, 03:43 PM
RE: RK3399S running warm - by Fish - 04-03-2022, 12:18 PM
RE: RK3399S running warm - by henrythemouse - 05-15-2022, 03:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  A way to view or log the splash screen on Pinephone Pro running ArchLinux (Danctnix) PHLEMON 4 1,057 07-30-2024, 11:03 PM
Last Post: PHLEMON
  R U running from eMMC -- If so how? tckosvic 19 15,386 06-14-2022, 08:47 AM
Last Post: bobjrsenior

Forum Jump:


Users browsing this thread: 2 Guest(s)