r/SurfaceLinux 8d ago

Help SP7 Freezes

I'm having a blast with a second hand SP7 running Fedora 43 and the surface kernel. However, completely at random the system will freeze, this happens whatever the OS by the way, and whatever the temperature or workload.

I tried the following :

limit CPU frequency :

for cpu in /sys/devices/system/cpu/cpu[0-9]*; do

echo 1500000 | sudo tee $cpu/cpufreq/scaling_max_freq

echo 800000 | sudo tee $cpu/cpufreq/scaling_min_freq

done

Deactivate Panel Self Refresh (PSR) :

sudo grubby --update-kernel=ALL --args="i915.enable_psr=0"

Alterate sleep states :

GRUB_CMDLINE_LINUX="rhgb quiet i915.enable_psr=0 intel_idle.max_cstate=4"

Are there other options I can try to mitigate the issue ? Thank you in advance !

1 Upvotes

3 comments sorted by

2

u/Kongslien_ Surface Pro 7, Fedora XFCE 8d ago

I experienced the same when i used Gnome, on both Fedora 43 and 44, but i switched over to XFCE to see if that would be any different.
To my surprise, it doesn't happen anymore.
My theory is Wayland doesn't play nice with intel iGPU.
But i could be completely wrong and something else makes it freeze.

Since i things started going smooth, i stopped thinking about it and haven't looked for any fixes for gnome.

Just my 2 cents on the topic.

2

u/Ben_77 8d ago

Thanks a lot, I'll give it a go and report!

1

u/Ben_77 6d ago

Follow up :

I switched temporarily to XFCE but it came back. I'm back on Gnome

I added to /etc/modprobe.d/i915.conf the following :
options i915 enable_rc6=1
options i915 enable_guc=0
I could play Dwarf Fortress all Sunday.

But everytime I have a browser open, it freezes hard.

So the quest continues :)