linux-surface / linux-surface

Linux Kernel for Surface Devices
4.62k stars 201 forks source link

SP8 freezes randomly #1336

Open FedericoCacciari opened 5 months ago

FedericoCacciari commented 5 months ago

Randomly after some time I use my Surface Pro 8, with just some light firefox tabs open, with Manjaro Gnome installed, it starts hard lagging for a few seconds and then totally freezes, it is unresponsive and then the fan starts spinning at maximum. I have to forcefully restart it in order to use it again.

Environment

dmesg Here is the dmesg of the last boot

efc64 commented 4 months ago

Just wanted to add that I started having this since I swapped out my SSD. I initially thought that the new drive (despite being gen3) required too much power, causing the freezes but I've been getting them even after returning to the original SSD.

Can I use Vitals or something similar to record thermals? I have no idea what could be the cause and am afraid I've broken my SP8.

I'm on the latest version of PopOS and also SP8, which suggests it could be hardware related? :(

Edit: @FedericoCacciari and anyone else with this issue, I found out the solution for me was to disable Intel Panel Self Refresh (PSR) by adding in i915.enable_psr=0 in kernel options. No more screen freezes :) https://forums.linuxmint.com/viewtopic.php?t=346173

rovitotv commented 2 months ago

I have a Microsoft Surface Pro 8 running the latest Debian and I also have experienced random freezes. It usually happens when playing youtube videos and is not that frequent. I just added "i915.enable_psr=0" to the file /etc/default/grub on the line with "GRUB_CMDLINE_LINUX_DEFAULT". After the edit I updated grub with "sudo update-grub". So far so good but it has only been a few minutes.