Upgrade to 16.10 causes desktop backlight flickering

5,004

Solution 1

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.

Solution 2

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.

Share:
5,004
wasp256
Author by

wasp256

Updated on September 18, 2022

Comments

  • wasp256
    wasp256 over 1 year

    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?

  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 7 years
    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.
  • eDeviser
    eDeviser over 7 years
    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: bugs.launchpad.net/ubuntu-mate/+bug/1558736?comments=all
  • Håkon Hægland
    Håkon Hægland over 7 years
    Same problem: Lenovo Edge 540, NVIDIA GeForce GT 740M
  • wasp256
    wasp256 over 7 years
    @WinEunuuchs2Unix: The newest kernel installed on my system now is 4.8.0.26 and the problem is still going on
  • wasp256
    wasp256 over 7 years
    @HåkonHægland: Yes I think we have the completly same Laptop model (as mentioned in my orginal post)
  • wasp256
    wasp256 over 7 years
    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
    wasp256 over 7 years
    @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
  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 7 years
    @wasp256 See my answer on the fix below.
  • wasp256
    wasp256 over 7 years
    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
    wasp256 over 7 years
    I have tried it with this additional option now, but the backlight still flickers...
  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 7 years
    I've updated the answer with two additional options - fbc (frame buffer compression) and i915.modeset disabling.
  • wasp256
    wasp256 over 7 years
    Thanks for the effort! I have tried all the above options unfortunately without success...the backlight still flickers
  • Yves
    Yves over 7 years
    I've done it directly in the grub console (adding i915.enable_psr=0 at the linux line), it works.
  • WinEunuuchs2Unix
    WinEunuuchs2Unix over 7 years
    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.
  • IvRRimUm
    IvRRimUm over 2 years
    Setting enable_psr=0 resolved issues for me on Ubuntu 21.10 with kernel: 5.13.0-20-generic