<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">On Friday, 12 March 2021 12:17:26 IST Shachar Shemesh wrote:</p>
<p> </p>
<p style="margin-top:12;margin-bottom:0;margin-left:40;margin-right:40;">Allow me, if I may, to set up the stage for you. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">I don't know the precise scenario that causes this to happen, but one thing that triggers it reliably is starting up X-Plane 11 and taking off. A few second and up to a minute into the flight, my KDE "shutting down" screen comes up. If I cancel the shutdown, the screen comes up one more time on its own, and then the computer just shuts down. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Now, I know what you're all thinking. So I ran X-Plane while monitoring the CPU's and GPU's temperatures. Sure enough, they get hot. I opened up the laptop (Dell XPS 15, a gamer's laptop), cleaned the fans, and ran the game again. Temperatures were much more reasonable. But the shutdown screen popped up again. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">I ran it with dmesg running. While there are some temperature throttling messages, not a lot, and none that claim I *have* to shut down. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">I am looking for a way to debug this. Obviously, something in the hardware gives the command to shut down the computer. I have, however, not been able to find out what and why. </p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Does anyone have any idea which system might be issuing this command, and where it might be writing its logs? </p>
<p style="margin-top:0;margin-bottom:0;margin-left:40;margin-right:40;">Shachar</p>
<p> </p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br /><br />Would it be possible to monitor both dbus messages (system and user) AND Xsession errors while you do so ? </p>
<br /><p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;">It could be that you have some tool (something like TLP that might trigger a shutdown script when you hit a threashold ) .</p>
<p style="margin-top:0;margin-bottom:0;margin-left:0;margin-right:0;"><br />If I were you I would also check for messages such as "<span style="font-family:Hack;">temperature reached" in syslog, the temp values may be set both in the UEFI and on kernel level. </span></p>
</body>
</html>