Screen dying already?
#10
It's rather simple.  First, you can check the default thresholds (i.e. default trip points) and associated trip point types for CPU thermal throttling on a PinePhone using the following commands (see the end of this post for more information on different trip point types):

Code:
grep . /sys/class/thermal/thermal_zone0/trip_point_*_temp
grep . /sys/class/thermal/thermal_zone0/trip_point_*_type

The default thresholds are also available in the A64 device tree.  Needless to say, the default thresholds allow the CPU and the upper third of the screen to become very hot even under light CPU load.  You can use the following commands to configure more restrictive CPU thermal throttling:

Code:
echo 45000  > /sys/class/thermal/thermal_zone0/trip_point_0_temp   # passive
echo 65000  > /sys/class/thermal/thermal_zone0/trip_point_1_temp   # hot
echo 100000 > /sys/class/thermal/thermal_zone0/trip_point_2_temp   # critical

The unit for all numeric values is millidegree Celsius.  You can execute those commands either manually, from a shell script, or you can configure some sysctl rules to perform the settings upon each boot.

Of course, you can tweak those thresholds and see how do you like the results.  However, make sure not to set values higher than 110000 (i.e. 110 degrees Celsius, which is the default value) for the third threshold, as it may cause damage to the phone.

Current CPU temperature can be checked using the following command:

Code:
cat /sys/class/thermal/thermal_zone0/temp

Further information can be found in these documents from the Linux kenel source:

All this is important information for all PinePhone owners, so I went ahead and added this information to the wiki page.

Edit: The possible names and associated meanings for the trip point types are the following:
  • "active" - a trip point to enable active cooling
  • "passive" - a trip point to enable passive cooling
  • "hot" - a trip point to notify emergency
  • "critical" - hardware not reliable
  Reply


Messages In This Thread
Screen dying already? - by marcih - 04-15-2021, 07:30 AM
RE: Screen dying already? - by rocket2nfinity - 04-16-2021, 12:06 AM
RE: Screen dying already? - by marcih - 04-16-2021, 03:07 AM
RE: Screen dying already? - by MtnSk8 - 04-16-2021, 08:54 PM
RE: Screen dying already? - by marcih - 04-17-2021, 03:45 AM
RE: Screen dying already? - by rocket2nfinity - 04-17-2021, 09:27 AM
RE: Screen dying already? - by Fish - 04-18-2021, 12:08 AM
RE: Screen dying already? - by dsimic - 04-20-2021, 10:44 PM
RE: Screen dying already? - by MtnSk8 - 04-21-2021, 08:35 AM
RE: Screen dying already? - by dsimic - 04-21-2021, 10:35 AM
RE: Screen dying already? - by kern707 - 08-29-2021, 05:19 AM
RE: Screen dying already? - by Fish - 04-22-2021, 05:20 AM
RE: Screen dying already? - by marcih - 05-01-2021, 07:21 AM
RE: Screen dying already? - by dsimic - 04-25-2021, 10:06 AM
RE: Screen dying already? - by Gribouille - 04-25-2021, 01:31 PM
RE: Screen dying already? - by marcih - 04-25-2021, 03:56 PM
RE: Screen dying already? - by dsimic - 04-25-2021, 05:11 PM
RE: Screen dying already? - by evilbunny - 04-25-2021, 07:44 PM
RE: Screen dying already? - by fxc - 04-26-2021, 08:06 AM
RE: Screen dying already? - by MtnSk8 - 04-27-2021, 08:33 AM
RE: Screen dying already? - by marcih - 05-01-2021, 12:46 AM
RE: Screen dying already? - by dsimic - 05-02-2021, 10:47 PM
RE: Screen dying already? - by marcih - 05-03-2021, 04:28 AM
RE: Screen dying already? - by dsimic - 05-03-2021, 05:34 AM
RE: Screen dying already? - by fxc - 05-01-2021, 08:23 AM
RE: Screen dying already? - by dsimic - 05-03-2021, 12:14 PM
RE: Screen dying already? - by marcih - 05-08-2021, 12:34 AM
RE: Screen dying already? - by dsimic - 05-09-2021, 02:07 AM
RE: Screen dying already? - by RudderDuck - 05-09-2021, 01:04 PM
RE: Screen dying already? - by dsimic - 05-09-2021, 01:24 PM
RE: Screen dying already? - by RudderDuck - 05-10-2021, 12:45 PM
RE: Screen dying already? - by dsimic - 05-10-2021, 03:18 PM
RE: Screen dying already? - by raph - 05-19-2021, 11:20 AM
RE: Screen dying already? - by dsimic - 05-23-2021, 10:02 AM
RE: Screen dying already? - by raph - 05-23-2021, 12:51 PM
RE: Screen dying already? - by dsimic - 05-23-2021, 02:02 PM
RE: Screen dying already? - by raph - 05-23-2021, 02:40 PM
RE: Screen dying already? - by dsimic - 05-23-2021, 05:07 PM
RE: Screen dying already? - by dsimic - 05-23-2021, 08:01 PM
RE: Screen dying already? - by MirceaKitsune - 05-27-2021, 05:36 PM
RE: Screen dying already? - by dsimic - 06-04-2021, 03:44 AM
RE: Screen dying already? - by kron - 05-28-2021, 09:47 PM
RE: Screen dying already? - by LogosCoder - 05-29-2021, 01:22 PM
RE: Screen dying already? - by kqlnut - 05-31-2021, 01:57 AM
RE: Screen dying already? - by marcih - 05-31-2021, 07:21 AM
RE: Screen dying already? - by kqlnut - 05-31-2021, 10:06 AM
RE: Screen dying already? - by marcih - 05-31-2021, 11:07 AM
RE: Screen dying already? - by MirceaKitsune - 05-31-2021, 08:10 AM
RE: Screen dying already? - by Uturn - 06-01-2021, 09:48 AM
RE: Screen dying already? - by silverwing - 06-02-2021, 01:31 AM
RE: Screen dying already? - by Gribouille - 06-02-2021, 03:33 AM
RE: Screen dying already? - by LaughWithMeOrAtMe - 06-02-2021, 04:14 PM
RE: Screen dying already? - by Uturn - 06-03-2021, 07:23 AM
RE: Screen dying already? - by Gribouille - 06-07-2021, 03:50 AM
RE: Screen dying already? - by Jonichka - 06-07-2021, 04:23 AM
RE: Screen dying already? - by marcih - 06-10-2021, 07:26 AM
RE: Screen dying already? - by dsimic - 06-11-2021, 02:26 AM
RE: Screen dying already? - by abustx78700 - 06-11-2021, 02:33 PM
RE: Screen dying already? - by 503d - 06-11-2021, 10:33 AM
RE: Screen dying already? - by Uturn - 06-11-2021, 11:50 AM
RE: Screen dying already? - by dsimic - 06-11-2021, 12:01 PM
RE: Screen dying already? - by marcih - 06-13-2021, 12:22 AM
RE: Screen dying already? - by Uturn - 06-13-2021, 02:37 AM
RE: Screen dying already? - by marcih - 06-13-2021, 08:18 AM
RE: Screen dying already? - by Jukebox - 06-17-2021, 03:02 AM
RE: Screen dying already? - by naruciakk - 06-18-2021, 05:07 AM
RE: Screen dying already? - by Jukebox - 06-18-2021, 01:12 PM
RE: Screen dying already? - by Gribouille - 07-05-2021, 12:39 AM
RE: Screen dying already? - by Gribouille - 07-10-2021, 05:06 AM
RE: Screen dying already? - by marcih - 07-07-2021, 03:00 AM
RE: Screen dying already? - by dsimic - 07-07-2021, 07:41 PM
RE: Screen dying already? - by Uturn - 07-11-2021, 05:09 AM
RE: Screen dying already? - by marcih - 07-12-2021, 01:18 AM
RE: Screen dying already? - by wizmart - 07-12-2021, 01:56 AM
RE: Screen dying already? - by Gribouille - 07-23-2021, 09:06 AM
RE: Screen dying already? - by mouffa - 07-23-2021, 09:18 AM
RE: Screen dying already? - by marcih - 07-23-2021, 12:21 PM
RE: Screen dying already? - by Gribouille - 07-23-2021, 02:11 PM
RE: Screen dying already? - by dsimic - 07-28-2021, 05:56 AM
RE: Screen dying already? - by mouffa - 07-23-2021, 03:34 PM
RE: Screen dying already? - by Gribouille - 07-26-2021, 12:58 PM
RE: Screen dying already? - by kqlnut - 08-08-2021, 05:16 AM
RE: Screen dying already? - by vinnie - 08-08-2021, 08:57 PM
RE: Screen dying already? - by Gribouille - 08-10-2021, 03:10 AM
RE: Screen dying already? - by vinnie - 08-10-2021, 09:49 PM
RE: Screen dying already? - by ridecar2 - 08-11-2021, 10:39 AM
RE: Screen dying already? - by marcih - 08-16-2021, 06:07 AM
RE: Screen dying already? - by calinb - 08-17-2021, 04:03 PM
RE: Screen dying already? - by Gribouille - 08-20-2021, 01:34 AM
RE: Screen dying already? - by calinb - 08-25-2021, 12:39 AM
RE: Screen dying already? - by Gribouille - 08-25-2021, 01:23 AM
RE: Screen dying already? - by calinb - 08-26-2021, 12:19 AM
RE: Screen dying already? - by Gribouille - 08-26-2021, 01:06 AM
RE: Screen dying already? - by calinb - 08-26-2021, 01:46 PM
RE: Screen dying already? - by Gribouille - 08-27-2021, 02:15 AM
RE: Screen dying already? - by 503d - 08-27-2021, 03:09 PM
RE: Screen dying already? - by marcih - 08-28-2021, 02:16 AM
RE: Screen dying already? - by lot378 - 08-28-2021, 09:42 AM
RE: Screen dying already? - by Gribouille - 08-28-2021, 01:16 PM
RE: Screen dying already? - by marcih - 08-29-2021, 01:36 PM
RE: Screen dying already? - by Gribouille - 08-29-2021, 07:28 AM
RE: Screen dying already? - by lot378 - 08-29-2021, 06:16 PM
RE: Screen dying already? - by kqlnut - 08-30-2021, 02:03 AM
RE: Screen dying already? - by Gribouille - 08-30-2021, 02:43 AM
RE: Screen dying already? - by Ellesar Dragon - 08-30-2021, 07:56 AM
RE: Screen dying already? - by as400 - 08-30-2021, 02:05 PM
RE: Screen dying already? - by lot378 - 08-30-2021, 05:58 PM
RE: Screen dying already? - by kern707 - 08-31-2021, 02:30 AM
RE: Screen dying already? - by lot378 - 08-31-2021, 06:49 AM
RE: Screen dying already? - by marcih - 08-31-2021, 07:13 AM
RE: Screen dying already? - by lot378 - 08-31-2021, 08:41 AM
RE: Screen dying already? - by Gribouille - 08-31-2021, 09:05 AM
RE: Screen dying already? - by as400 - 08-31-2021, 09:06 AM
RE: Screen dying already? - by marcih - 08-31-2021, 10:40 AM
RE: Screen dying already? - by lot378 - 08-31-2021, 11:42 AM
RE: Screen dying already? - by Gribouille - 09-01-2021, 01:53 AM
RE: Screen dying already? - by kqlnut - 09-01-2021, 02:34 AM
RE: Screen dying already? - by Gribouille - 09-01-2021, 02:54 AM
RE: Screen dying already? - by calinb - 08-31-2021, 12:57 PM
RE: Screen dying already? - by calinb - 10-27-2021, 05:28 PM
RE: Screen dying already? - by marcih - 08-31-2021, 01:01 PM
RE: Screen dying already? - by lot378 - 08-31-2021, 10:20 PM
RE: Screen dying already? - by as400 - 09-01-2021, 03:04 AM
RE: Screen dying already? - by Gribouille - 09-01-2021, 04:11 AM
RE: Screen dying already? - by kqlnut - 09-03-2021, 09:39 AM
RE: Screen dying already? - by marcih - 09-03-2021, 01:38 PM
RE: Screen dying already? - by kqlnut - 09-03-2021, 08:11 PM
RE: Screen dying already? - by Gribouille - 09-10-2021, 02:23 AM
RE: Screen dying already? - by kqlnut - 09-10-2021, 02:31 AM
RE: Screen dying already? - by Gribouille - 09-19-2021, 06:45 AM
RE: Screen dying already? - by kqlnut - 09-19-2021, 07:17 AM
RE: Screen dying already? - by Gribouille - 09-19-2021, 07:43 AM
RE: Screen dying already? - by fxc - 10-08-2021, 12:19 PM
RE: Screen dying already? - by Winford - 10-08-2021, 01:58 PM
RE: Screen dying already? - by mfor - 10-09-2021, 01:06 AM
RE: Screen dying already? - by MirceaKitsune - 10-31-2021, 12:16 PM
RE: Screen dying already? - by Gribouille - 10-31-2021, 12:51 PM
RE: Screen dying already? - by calinb - 10-31-2021, 01:13 PM
RE: Screen dying already? - by Gribouille - 11-13-2021, 02:28 PM
RE: Screen dying already? - by jjdekroon - 11-17-2021, 11:06 AM
RE: Screen dying already? - by Gribouille - 11-18-2021, 02:31 AM
RE: Screen dying already? - by zetabeta - 11-18-2021, 11:37 AM
RE: Screen dying already? - by tvall - 11-28-2021, 03:05 PM
RE: Screen dying already? - by zetabeta - 11-28-2021, 04:44 PM
RE: Screen dying already? - by Milk Toast - 02-02-2022, 04:02 AM
RE: Screen dying already? - by Anna - 05-20-2022, 09:11 AM
RE: Screen dying already? - by marcih - 05-20-2022, 02:16 PM
RE: Screen dying already? - by Anna - 05-20-2022, 03:16 PM
RE: Screen dying already? - by fxc - 05-23-2022, 01:22 AM
RE: Screen dying already? - by kqlnut - 05-23-2022, 02:05 AM
RE: Screen dying already? - by Anna - 05-23-2022, 02:52 AM
RE: Screen dying already? - by alienklown - 07-10-2022, 04:21 PM
RE: Screen dying already? - by Shatur - 02-23-2023, 04:14 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Tongue Screen ghosting and omitting rows of pixels... bedtime 0 628 12-28-2023, 01:26 PM
Last Post: bedtime
  Replacement screen disconnects after back frame is screwed on robthebold 4 2,241 10-12-2023, 01:03 PM
Last Post: robthebold
  Screen Replacement Instructions erikkugel 4 4,301 09-07-2022, 11:04 PM
Last Post: RTP
  Severe screen flicker + occasional ghosting | Pinephone Beta edition legowave440 5 4,406 07-25-2022, 07:35 AM
Last Post: bedtime
  Double Image on screen Arvis 2 2,233 07-03-2022, 06:27 AM
Last Post: Avisando
  Screen has pixel-thin horizontal stripes that are black or get stuck in the past yasmi 5 4,893 03-08-2022, 12:25 PM
Last Post: jopple
  How hard to replace screen? Zebulon Walton 28 33,551 01-18-2022, 12:21 AM
Last Post: henrythemouse
  pinephone screen Uturn 2 2,792 01-14-2022, 01:15 AM
Last Post: Uturn
  Screen replacement Csanderson0313 4 3,936 01-10-2022, 09:26 PM
Last Post: Csanderson0313
  Top of screen and USB port malfunctioning Severinus 0 1,301 12-14-2021, 07:28 PM
Last Post: Severinus

Forum Jump:


Users browsing this thread: 5 Guest(s)