I've been using 20.04 and I updated to 22.04. After a few days a black flickering appears randomly, it's very annoying and it didn't happen before. Any idea what might be the cause?
Asked
Active
Viewed 8,458 times
1 Answers
4
A fix would be to add the following parameters to GRUB_CMDLINE_LINUX_DEFAULT
in /etc/default/grub
:
i915.enable_dc=0
intel_idle.max_cstate=2
then update GRUB using:
sudo update-grub
You should be flicker-free now!
Source: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1970426/comments/24

BeastOfCaerbannog
- 14,585

dimisjim
- 293
-
Thank you, tried this! And thank you for the source, I'll also be checking there whether they have any information on this bug – pcc May 07 '22 at 01:40
-
-
@Scientist bug is still unresolved on the launchpad link provided above – dimisjim Jun 23 '22 at 08:11
-
Because I was struggling in which format I should add this parameter: It comes in one line separated by a space and in "" so : "i915.enable_dc=0 intel_idle.max_cstate=2" – Leon D Oct 22 '22 at 16:38
-
I'm on 22.04 and the proposed solution didn't work for me. Following the ticket, I tried another solution -- appeanding
i915.enable_psr=0
instead. I've been restarted for about 30 mins and it seems like it has worked. I found that solution here: https://github.com/ljvmiranda921/comments.ljvmiranda921.github.io/issues/41#issuecomment-1304393287 – fearphage Jan 25 '23 at 00:53
/etc/gdm3/custom.conf
but that made no difference. – Dan Apr 28 '22 at 16:05