Skip to content

Instantly share code, notes, and snippets.

@hiway
Created July 2, 2023 06:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hiway/e3c453c72599efb1b28d6c96044d3080 to your computer and use it in GitHub Desktop.
Save hiway/e3c453c72599efb1b28d6c96044d3080 to your computer and use it in GitHub Desktop.
Intermittent freezes/hangs - Fedora Linux 38 on Thinkpad X280

It appears that the random intermittent freezes every few minutes where the desktop/apps/pointer is unresponsive for a second or more is not limited to Fedora or Thinkpad.

The reason is likely Intel i915 GPU.

I found a discussion on Reddit that documents a solution in parts spread out over several comments for the complete answer:

https://www.reddit.com/r/thinkpad/comments/rhbf8m/solution_thinkpad_short_freezes_on_gnulinux/

Documenting the steps/files below for next time I'm in the same situation.

Edit /etc/default/grub:

5a6
> GRUB_CMDLINE_LINUX_DEFAULT="i915.enable_psr=0 psmouse.synaptics_intertouch=1"
8c9
< GRUB_ENABLE_BLSCFG=true
---
> GRUB_ENABLE_BLSCFG=false
  • i915.enable_psr=0 to resolve the hangs
  • psmouse.synaptics_intertouch=1 to improve touchpad functionality
  • GRUB_ENABLE_BLSCFG=false to ensure Fedora boots up

Run the following commands to update grub config and reboot

sudo mv /boot/grub2/grub.cfg /root/boot-grub2-grub.cfg.bak
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment