Thermal Shutdown using PRIME

Hello, I am currently having an issue with my dell laptop where anytime I run a load with prime-run my system doesn’t seem to thermal throttle properly. The nvidia xserver settings reports slowdown temp (which I am assuming is thermal throttle?) of 96 degrees however my system shuts down at 93-94. I also had this problem on the unstable debian branch (debian 11 IIRC) but have been using manjaro for a while and figured I’d actually ask for help this time.

It’s not an issue with cooling in general as in windows it can throttle and manage it’s self just fine, Running sensors in linux I can see and feel the fans doing work. I’m also assuming it’s not driver related as I’m gone through several driver updates/reinstalls and no one else is having this issue (as far as I can find).

  Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.1 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.9-x86_64 
  root=UUID=21ab1e97-d077-44df-938b-cb68958bfea2 rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 snd-intel-dspcfg.dsp_driver=1 
  Desktop: KDE Plasma 5.20.5 tk: Qt 5.15.2 wm: kwin_x11 dm: SDDM 
  Distro: Manjaro Linux 
  Type: Convertible System: Dell product: Inspiron 5491 2n1 v: N/A 
  serial: <filter> Chassis: type: 31 serial: <filter> 
  Mobo: Dell model: 0T4D59 v: A00 serial: <filter> UEFI: Dell v: 1.5.0 
  date: 02/04/2020 
  ID-1: BAT0 charge: 36.4 Wh condition: 37.8/42.0 Wh (90%) volts: 12.5/11.4 
  model: Samsung SDI DELL 0FJMK99 type: Li-ion serial: <filter> 
  status: Discharging 
  Device-1: hid-0018:04F3:273D.0002-battery model: CUST0000:00 04F3:273D 
  serial: N/A charge: N/A status: N/A 
  Info: Quad Core model: Intel Core i7-10510U bits: 64 type: MT MCP 
  arch: Kaby Lake note: check family: 6 model-id: 8E (142) stepping: C (12) 
  microcode: DE L2 cache: 8 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 36812 
  Speed: 1462 MHz min/max: 400/4900 MHz Core speeds (MHz): 1: 1462 2: 1731 
  3: 1516 4: 1383 5: 2013 6: 2243 7: 1228 8: 1027 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds mitigation: TSX disabled 
  Type: tsx_async_abort status: Not affected 
  Device-1: Intel UHD Graphics vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 chip ID: 8086:9b41 class ID: 0300 
  Device-2: NVIDIA GP108M [GeForce MX230] vendor: Dell driver: nvidia 
  v: 460.39 alternate: nouveau,nvidia_drm bus ID: 01:00.0 chip ID: 10de:1d11 
  class ID: 0302 
  Device-3: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo 
  bus ID: 1-6:3 chip ID: 0bda:5678 class ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: 
  loaded: modesetting,nvidia unloaded: fbdev alternate: intel,nouveau,nv,vesa 
  display ID: :0 screens: 1 
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") 
  s-diag: 582mm (22.9") 
  Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 158 size: 309x174mm (12.2x6.9") 
  diag: 355mm (14") 
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 20.3.4 
  direct render: Yes 
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Dell driver: snd_hda_intel 
  v: kernel alternate: snd_soc_skl,snd_sof_pci bus ID: 00:1f.3 
  chip ID: 8086:02c8 class ID: 0401 
  Sound Server: ALSA v: k5.9.16-1-MANJARO 
  Device-1: Intel Wireless-AC 9462 driver: iwlwifi v: kernel port: 4000 
  bus ID: 00:14.3 chip ID: 8086:02f0 class ID: 0280 
  IF: wlp0s20f3 state: up mac: <filter> 
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB 
  driver: btusb v: 0.8 bus ID: 1-10:4 chip ID: 8087:0aaa class ID: e001 
  Message: Required tool hciconfig not installed. Check --recommends 
  Local Storage: total: 476.94 GiB used: 253.63 GiB (53.2%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: SK Hynix model: BC511 NVMe 512GB 
  size: 476.94 GiB block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s 
  lanes: 4 rotation: SSD serial: <filter> rev: 11001101 temp: 27.9 C 
  scheme: GPT 
  ID-1: / raw size: 342.77 GiB size: 336.39 GiB (98.14%) 
  used: 253.55 GiB (75.4%) fs: ext4 dev: /dev/nvme0n1p7 maj-min: 259:7 
  ID-2: /boot/efi raw size: 150 MiB size: 146 MiB (97.33%) 
  used: 85.2 MiB (58.3%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1 
  Alert: No Swap data was found. 
  System Temperatures: cpu: 38.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 0 
  Processes: 255 Uptime: 5h 58m wakeups: 999 Memory: 7.44 GiB 
  used: 3.64 GiB (48.9%) Init: systemd v: 247 Compilers: gcc: 10.2.0 Packages: 
  pacman: 1511 lib: 449 flatpak: 0 Shell: Bash v: 5.1.0 running in: yakuake 
  inxi: 3.3.01

The system shuts down when the CPU or ISA bus gets to that T°, not the GPU.

I disagree: Windows throttles differently.

So it’s time to vacuum that baby or better: buy a can of compressed air and blow compressed air in all vents and openings (SD card reader, USB ports, …)

If it still happens, we’ll need some T* monitoring going on,

That’s EOL, so upgrade to 5.4 LTS or 5.10 (LTS candidate)