Screen freeze

I have been running Arch Linux happily for a while now. A few days ago, however, I started to suffer from what I considered to be random crashes. The UI would freeze, mouse not moving, not responding to keyboard either and the only solution would be to reboot. This was ok when it happened once every few days, however today it started to happen every 5 minutes. I would reboot the laptop and the screen would freeze as soon as I had all my browsers open again.

I noticed a strange message on dmesg:

    [drm:intel_pipe_update_start [i915]] *ERROR* Potential atomic update failure on pipe A

It would appear once, then twice, then three or four time and the machine would freeze.

After a bit of research and a full update of my Arch Linux that didn’t fix the issue, I tried the following:

    % cat /etc/modprobe.d/i915.conf
    options i915 enable_psr=0

Then rebooted the laptop and I have had half an hour of undisturbed typing now.