Random Freezes on Zorin OS 17.3 Pro (Intel GPU)

Hi,
I struggled with this freezing issue for several weeks without understanding what was causing it. After finally identifying the root of the problem with the help of ChatGPT, I'm sharing the solution here in case it helps someone else facing the same situation.

System

Zorin OS 17.3 Pro
Dell Latitude 7320 Detachable
Vivaldi Browser

:lady_beetle: Observed Bug

The system was freezing intermittently, especially while watching YouTube videos via the Vivaldi browser.
The screen would become unresponsive, although the system continued running in the background.


:gear: Technical Cause

The issue was caused by a bug in the Intel i915 GPU driver, related to a feature called PSR (Panel Self Refresh).

  • PSR is a power-saving feature that pauses GPU activity when the screen content doesn't change.
  • On some Intel chipsets, PSR can malfunction during screen refreshes, especially when playing videos or switching graphical content.
  • This results in flip_done timed out and commit wait timed out errors in system logs, leading to graphical freezes.

Logs showed errors like:

i915 0000:00:02.0: [drm] *ERROR* flip_done timed out
[CRTC:98:pipe A] commit wait timed out

:hammer_and_wrench: Solution

The issue was resolved by disabling PSR at the kernel level using a GRUB boot parameter:

i915.enable_psr=0

This stops the buggy power-saving feature and allows the GPU to operate normally without freezing.


:clipboard: How to Apply the Fix

  1. Open Terminal and edit GRUB configuration:
sudo nano /etc/default/grub
  1. Find this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
  1. Modify it like this:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"
  1. Save the file (Ctrl+O, then Enter) and exit (Ctrl+X)
  2. Update GRUB:
sudo update-grub
  1. Reboot your system:
sudo reboot

:white_check_mark: Result

After rebooting with i915.enable_psr=0, video playback works smoothly with no more system freezes.
This fix is stable and can be kept permanently.

4 Likes

Bonjour, j'aimerais bien savoir s'il existe une solution similaire pour une carte graphique Intel(R) HD Graphics avec un processeur Intel(R) Pentium(R) GPU N3700 @ 1.60Ghz. Le système Zorin 17.3 ne fait que se figer dès qu'on regarde une video avec Youtube. Merci d'avance pour la réponse

Vous pouvez essayer la solution proposée ou consulter vos journaux pour voir quelles erreurs y ont été signalées.
Voici d'autres possibilités que vous pourriez vérifier en premier lieu :
Secure Boot et Fast Boot sont-ils désactivés dans le BIOS (ce qui est recommandé) ?
Si vous avez un double démarrage avec Windows : Le démarrage rapide est-il désactivé dans Windows ?
Quel navigateur utilisez-vous ? Est-il installé sous la forme d'un paquet Zorin (= paquetapt) (recommandé) ou sous la forme d'un Flatpak ou d'un Snap ?
Votre système se bloque-t-il également lorsque vous passez à Xorg (déconnexion, puis clic sur l'utilisateur, puis une roue dentée apparaît à l'écran où vous pouvez sélectionner Xorg) ?

Le système se fige-t-il (l'écran reste allumé), passe-t-il en mode veille ou l'économiseur d'écran s'allume-t-il ? Si c'est le cas, vous pouvez désactiver ces fonctions d'économie d'énergie dans les paramètres énergétiques à titre de test ou augmenter le délai avant que l'écran ne s'éteigne, que l'économiseur d'écran ne se mette en marche ou que le système ne se mette en veille. Vous pouvez également essayer de régler le mode présentation lorsque vous regardez des vidéos.

Avez-vous installé des codecs multimédias (ffmpeg, ubuntu-restricted-extras) ?
Cela peut parfois aider à désactiver l'accélération matérielle.

Cela se produit-il uniquement avec les vidéos de YouTube ou également avec d'autres vidéos dans le navigateur?

La mise à l'échelle fractionnelle est-elle activée ? Celle-ci peut également provoquer des freezes.

You can try the solution given or check your logs to see which errors have been reported there.
Other possibilities that you could check first:
Are Secure Boot and Fast Boot deactivated in the BIOS (this is recommended)?
If you have a dual boot with Windows: Is fast boot disabled in Windows?
Which browser are you using? Is it installed as a Zorin package (=apt package) (recommended) or as Flatpak or Snap?
Does your system also freeze when you switch to Xorg (log off, then click on the user, then a cogwheel appears on the screen where you can select Xorg)?

Does the system freeze (screen stays on) or does it go into sleep mode or does the screen saver come on? If this is the case, you could switch off these energy-saving functions in the energy settings as a test or increase the time until the screen switches off, the screen saver switches on or the system goes into standby. You could also try to set presentation mode while watching videos for testing.

Do you have installed multimedia-codecs (ffmpeg, ubuntu-restricted-extras)?
Sometimes it can help disabling hardware acceleration.

Does this happen only with youtube videos or also with other videos in the browser?

Is fractional scaling activated? This can also cause freezes.

Bon et bé je crois que j'ai tout essayé. Ça finit toujours par se bloquer. La dernière fois, je n'avais même pas mis de video en route. Ça a planté comme ça, sans raison apparente, après seulement quelques minutes. Pourtant, la fois précédente, après être passé sur Xorg, après la procédure par le terminal et le redémarrage, ça avait fonctionné parfaitement, même en faisant tourner plein de trucs en même temps pour tester le machin. Mais depuis, retour sur terre, Zorin ne veut pas devenir stable sur cet ordi. Et pas seulement Zorin, puisque, en désespoir de cause, j'ai voulu tenter de passer à Mint. Mais ça a été encore plus rapide puisque ça s'est bloqué avant même de terminer l'installation. Il faut croire que mon destin est d'être condamné à Windows. Windows qui n'a aucun problème et ne plante jamais. Il doit forcément y avoir une explication, et une solution. Mais visiblement je ne l'ai toujours pas trouvée. Si un petit génie parvient à résoudre ce problème de manière définitive, je suis preneur