It has been two days without any distortion or glitch on my screen, so I think it is reasonable to say that the problems were solved.
Time to share with the community what I did to get it fixed.
First, the solutions @vanadium suggested decreased the distortions somehow.
GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR='lsb_release -i -s 2> /dev/null || echo Debian'
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet iommu=pt i915.enable_psr=0"
GRUB_CMDLINE_LINUX=""
But this solution solved the problem, I created a /usr/share/X11/xorg.conf.d/20-intel.conf file with touch command and inserted these configs:
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Option "AccelMethod" "sna"
Option "TearFree" "true"
Option "DRI" "1"
EndSection
GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=-1 GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian GRUB_CMDLINE_LINUX_DEFAULT="quiet splash ioummu=pt" GRUB_CMDLINE_LINUX=""
Unfortunately, it didn't work. Could you review my attempt and give me another feedback?
– tiagoornelas Apr 22 '21 at 16:33
– tiagoornelas Apr 23 '21 at 20:54GRUB_DEFAULT=0 GRUB_TIMEOUT_STYLE=hidden GRUB_TIMEOUT=0 GRUB_DISTRIBUTOR='lsb_release -i -s 2> /dev/null || echo Debian' GRUB_CMDLINE_LINUX_DEFAULT="splash quiet iommu=pt i915.enable_psr=0" GRUB_CMDLINE_LINUX=""
i915.enable_psr=0
(I did not need it anymore, but now with 21.04 graphical issues are back, and this helped). Make sure to runsudo update-grub
after changing/etc/default/grub
. – vanadium Apr 25 '21 at 18:24