8

I just upgraded to Ubuntu 16.10 and after the restart the display light flickers constantly, regardless of the application running. The flickering starts when the login screen is shown. I am using a Lenovo Thinkpad E540.

I have NVIDIA GeForce GT740M with the driver

  X.Org X server -- Nouveau display driver from xserver-xorg-video-nouveau

Other driver options, which I'm not eager to try (since last time the entire graphics display stopped working):

  NVIDIA binary driver 367.57 (proprietary, tested)
  NVIDIA binary driver 340.98 (proprietary)

Output of lspic:

    lspci | grep VGA
    00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)

My current kernel version is

   uname -r
   4.8.0-26-generic

I have tried this solution here but it didn't work.

Has anyone a workaround for this very annoying issue?

wasp256
  • 817
  • 1
  • 11
  • 27
  • I think this is the relevant bug report: "Screen flickers when booting ubuntu 16.10 on USB stick" : https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1634451 – Håkon Hægland Oct 28 '16 at 13:15

3 Answers3

6

This bug first appeared in bug reports in Kernel version 4.6.2 and users found downgrading to 4.5.4 fixed it. Upgrading to 4.7 did not fix it.

Panel Self Refresh (psr) bug

Links to links to other bug reports say it can be fixed by modifying grub's kernel boot command line with:

i915.enable_psr=0

To do this you need to gksu gedit /etc/default/grub.

Search for quiet splash and insert i915.enable_psr=0 in front of the last double quote. There may be other options but minimally it should look like this:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0"

Save the file and type sudo update-grub. Then reboot and the flickering should be gone.

You can read more at: (LCD flickering on Thinkpad T440p (Haswell) with kernel 4.6-rc4 (PSR enabled))

Frame Buffer Compression

At the same time psr was introduced in the 4.6 kernel major revision, fbc (Frame Buffer Compression) support was also introduced. It prevents repainting the screen when it doesn't change. An imperceptible power savings feature (.06 watts). To turn update the grub kernel command line (as described above) by adding:

i915.enable_fbc=0

The final solution is to turn off i915 mode setting altogether with the grub kernel command line option:

i915.modset=0

Please note these can't be tested on my system and I can only go by bug reports from users with similar systems to yours.

  • 1
    I don't have any line with "quiet nosplash" only this line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" is it that one? if so you mean change it somthing like GRUB_CMDLINE_LINUX_DEFAULT="quiet splash 1915.enable_psr=0"? – wasp256 Oct 29 '16 at 09:11
  • I have tried it with this additional option now, but the backlight still flickers... – wasp256 Oct 29 '16 at 10:37
  • I've updated the answer with two additional options - fbc (frame buffer compression) and i915.modeset disabling. – WinEunuuchs2Unix Oct 29 '16 at 12:33
  • Thanks for the effort! I have tried all the above options unfortunately without success...the backlight still flickers – wasp256 Oct 30 '16 at 09:25
  • I've done it directly in the grub console (adding i915.enable_psr=0 at the linux line), it works. – Yves Nov 04 '16 at 08:27
  • That sounds promising. But judging from hundreds of bug reports what appears to work today isn't a lasting fix... Only makes things last a day or two instead of a few minutes. As such wait awhile before selecting check mark next to answer signifying it doves the question Thanks. – WinEunuuchs2Unix Nov 04 '16 at 12:17
  • Setting enable_psr=0 resolved issues for me on Ubuntu 21.10 with kernel: 5.13.0-20-generic – IvRRimUm Nov 05 '21 at 21:29
  • Successfully solved the same issue on Ubuntu 22 and ASUS Vivobook 16 (11th Gen Intel)! – Roman Romanov Aug 06 '22 at 14:24
3

I have the same problem. I have tried all listed drivers without any success. Eventually I booted with the previous kernel (v.4.4.0-45) and this solved the problem.

Leonid
  • 56
  • 1
  • As of October 22, 2016 (when you posted your answer) Kernel 4.4.0-45 was the most recent (not previous) kernel version I think. – WinEunuuchs2Unix Oct 23 '16 at 15:27
  • 1
    Its is the same for me with my lenovo notebook. I upgraded to 16.10, which uses a 4.6 Kernel and the screen flickers. When booting with the old 4.4 kernel, the screen is okay. Maybe it is the same as this bug: https://bugs.launchpad.net/ubuntu-mate/+bug/1558736?comments=all – eDeviser Oct 25 '16 at 19:33
  • Same problem: Lenovo Edge 540, NVIDIA GeForce GT 740M – Håkon Hægland Oct 28 '16 at 12:55
  • @WinEunuuchs2Unix: The newest kernel installed on my system now is 4.8.0.26 and the problem is still going on – wasp256 Oct 28 '16 at 17:33
  • @HåkonHægland: Yes I think we have the completly same Laptop model (as mentioned in my orginal post) – wasp256 Oct 28 '16 at 17:33
  • I have downgraded to kernel 4.4.x so far as suggested in the answer which works fine but this is really not a permanent solution... – wasp256 Oct 28 '16 at 17:34
  • @eDeviser: no it's not the same as in the link, since the link presents a flickering of a black screen, but my screen never disappears, it's simply the backlight that is flickering – wasp256 Oct 28 '16 at 21:16
0

The problem does indeed seem to be widely reported.

I have what appears to be exactly the same problem on a Lenovo e540 equipped with dual boot ubuntu gnome 16.10/16.04. The problem does NOT seem to exist on 16.04 but it does on 16.10. My Lenovo has integrated Intel graphics Haswell Mobile on a Core i3-4100M and therefore has the i915 graphics driver.

Interestingly I also have a Clevo with Intel integrated graphics: Core i3-3110M with Ivybridge Mobile graphics, which also uses the same i915 graphics driver, running Ubuntu Gnome 16.10 and on this computer the problem DOES NOT EXIST.