Monitor unresponsive + soft freezes

  • Which OS (Operating System)?
    Ubuntu
  • Which release of your OS (Operating System / Windows 10, 11)? (if you are having a Linux related issue, please create your thread under the Linux subcategory)
    22.04.5 LTS
  • Which Framework laptop (11th, 12th or 13th generation Framework laptop, Chromebook or Framework Laptop 16) are you asking for support with?
    Not really sure how to tell what gen I have. I bought it back in 2022 while it was still being shipped DIY with an Intel i7-1165G7

For the past 2-3 months, I’ve been having random soft freezes where the screen will become unresponsive but I can still interact with things via keyboard + mouse (I can pause videos by hitting the spacebar).

They occur pretty random, even when I just turned on the laptop and I’m just browsing the web. If I connect it to a external monitor via a dock, the external monitor never freezes but sometimes the main display on the laptop will still freeze.

I’ve swapped out the display for a new one I bought to try to fix it but no luck.

Next time this happens, take out a: “journalctl -b > log.txt” and post it somewhere we can have a look.
This extracts the entire journal of what happens on your system, and may point to what’s wrong.

I threw the log files in a GitHub repo here:

Not sure if related but I did stumble on this thread:

that sounded somewhat similar to my issue.

> uname -r
6.8.0-49-generic

but turning off fractional scaling and avoiding Firefox has done nothing to resolve the issue on my end.

fwiw, the only workaround I’ve found is using the 6.6.10-76060610-generic kernel, every time I’ve tried a newer version I experience the issue

Currently testing with a few kernel versions.

  • 6.8.0-49.49~22.04.1 amd64 - has soft freezing issue
  • 6.8.0-48.48~22.04.1 amd64 - currently testing
  • 6.5.0-45.45~22.04.1 amd64 - ran for ~3-4 hours with no issues but had other hardware problems where it couldn’t find my speakers

IT seems to be due to:

* i915* [drm] *ERROR* [CRTC:98:pipe A] flip_done timed out

Check for fixes to that error. Seems it is a intel GPU driver issue.

So far:

  • 6.8.0-49.49~22.04.1 amd64 - has soft freezing issue
  • 6.8.0-48.48~22.04.1 amd64 - has soft freezing issue
  • 6.5.0-45.45~22.04.1 amd64 - ran for ~3-4 hours with no issues but had other hardware problems where it couldn’t find my speakers

Yeah, it does seem consistent with the error flip_done timed out, looking for solutions to that right now.

2 Likes

So… nothing super definitive. I did eventually find some forums talking about the issue here:

If anyone else is looking for solutions, what worked for me is just upgrading to a newer version of Ubuntu.

  • new version = Ubuntu 24.04.1 LTS kernel 6.8.0-51-generic
  • old version = Ubuntu 22.04.5 LTS kernel 6.8.0-49-generic

I haven’t had the issue since but if that’s not an option, looks like there’s some flags that you might be able to set from the forums above to try to resolve the screen freezing issue.

What you can do, is test one of the latest mainline kernels.

sudo add-apt-repository ppa:cappelikan/ppa
sudo apt update && sudo apt upgrade -y
sudo apt install -y mainline

Then mainline list to list all available kernels, and choose one to install, or rather for the UI launch: mainline-gtk.

They currently have 6.12.3 as the most recent.
Eventually the bug has been fixed there. This is what I did in the early Framework 16 days, where the kernels still had some bugs more recent ones had fixed.
As I’m on 24.04 now, I barely have issues anymore.
Note that you will have to disable secure boot for that kernel to work.

Running

Linux jupiter 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec  5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux