Bug 97056 - [HSW] Screen flickering problems on Acer laptops from 4.6 kernel
Summary: [HSW] Screen flickering problems on Acer laptops from 4.6 kernel
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-23 08:00 UTC by Aivaras Laimikis
Modified: 2018-02-13 16:30 UTC (History)
5 users (show)

See Also:
i915 platform: HSW
i915 features: display/PSR


Attachments
dmesg log (748.62 KB, text/x-log)
2016-07-23 08:00 UTC, Aivaras Laimikis
no flags Details
Video of laptop screen (13.57 MB, video/mp4)
2016-07-23 08:03 UTC, Aivaras Laimikis
no flags Details
dmesg (66.64 KB, text/plain)
2016-09-13 21:24 UTC, Peter Erdelyi
no flags Details
dmesg (66.64 KB, text/plain)
2016-09-13 21:26 UTC, Peter Erdelyi
no flags Details

Description Aivaras Laimikis 2016-07-23 08:00:55 UTC
Created attachment 125269 [details]
dmesg log

Hello,

 After upgrading Fedora 24 to 4.6.3 kernel, screen started to flicker. Same problem persists with 4.6.4 and 4.7-rc7 kernels.
 i915.enable_fbc=0, i915.enable_fbc=1 and i915.i915_enable_rc6=0 doesn't helps.
 dmesg collected from: 4.6.4-301.fc24.x86_64. Machine: Acer v3-722G, i7-4702MQ, Intel HD Graphics 4600.
 Downstream bug: https://bugzilla.redhat.com/show_bug.cgi?id=1353008
 Thanks!
Comment 1 Aivaras Laimikis 2016-07-23 08:03:11 UTC
Created attachment 125270 [details]
Video of laptop screen
Comment 2 Borislav Anchev 2016-08-01 10:45:23 UTC
Hello,

As workaround adding parameter "i915.enable_psr=0" to kernel line, seems to work.

Tested on Fedora 24 (kernel 4.6) and Rawhide (kernel 4.8), and OpenSuse (Kernel 4.6).
The regression seems to present from kernel version > 4.5
Comment 3 Lorem Ipsum 2016-08-02 04:26:31 UTC
Hello,

I had same issue after update. Flickering gone after I removed this line from config-4.6.4-301.fc24.x86_64 file:

 CONFIG_DRM_I915_USERPTR=y

I'm new to Linux, so have no idea what it means, but since there is no such line in same file for 4.5.5-300, I thought it can't be so wrong, and it does work. :)

If adding parameter "i915.enable_psr=0" is better solution, could someone tell me how to do that, pretty please? :)

Toshiba Qosmio X70-B-10T
Intel® Core™ i7-4720HQ CPU @ 2.60GHz × 8
Comment 4 Olivier Cortès 2016-08-04 10:48:43 UTC
I've got same symtoms on Lenovo Yoga2 pro (hidpi), under Arch linux, stock kernel 4.6.4-1-ARCH. xf86-video-intel version 1:2.99.917+688+g49daf5d-1 (stock arch package, updated daily).

Sorry for the delay ; the problem has been happening for at least 2 months, but it took me ages to qualify it, and find it here on this bugtracker.

Flickering happens every now and then (between one minute and 1-2 hour after having opened my graphical session).

I can barely stop it by moving a lot my mouse cursor (screen stops flickering until i stop moving the cursor, where flickering happens again immediately).

Flickering is resolved more durably by suspending the machine: on resume, I can work again until next flickering sequence (idem, between 1 minute and some hours).

I'm currently testing the "i915.enable_psr=0" workaround to see if the bug occurs again. I will report here.

Feel free to ask me about any missing information.
Comment 5 Olivier Cortès 2016-08-04 14:09:59 UTC
Seems like i915.enable_psr=0 solves the problem for me. 

It's been 6 hours without any flickering.

For reference, I found this: 

https://lkml.org/lkml/2016/8/1/652
Comment 6 Hans de Goede 2016-08-09 06:42:52 UTC
(In reply to Olivier Cortès from comment #5)
> Seems like i915.enable_psr=0 solves the problem for me. 
> 
> It's been 6 hours without any flickering.
> 
> For reference, I found this: 
> 
> https://lkml.org/lkml/2016/8/1/652

The patch discussed there has been merged in 4.8-rc1, so if people can test 4.8-rc1 that would be great.

For Fedora users, there is a 4.8-rc1 build available here:

http://koji.fedoraproject.org/koji/buildinfo?buildID=789477
Comment 7 Aivaras Laimikis 2016-08-09 18:14:03 UTC
Tried 4.8.0-0.rc1.git0.1.fc26 kernel from Fedora Rawhide: https://alt.fedoraproject.org/pub/alt/rawhide-kernel-nodebug/ . Flickering still persists and plus flickering appeared on virtual consoles.
Comment 8 Peter F. Patel-Schneider 2016-08-18 20:50:43 UTC
I've been running my Lenovo 2 Pro (also Haswell graphics) on the current rawhide kernel (4.8.0-0.rc1.git3.1.fc26.x86_64) for a couple of hours and haven't seen any problems.  

idefix ~> uname -r
4.8.0-0.rc1.git3.1.fc26.x86_64
idefix ~> lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 09)
idefix ~> sudo grep -H '' /sys/module/i915/parameters/* | grep psr
/sys/module/i915/parameters/enable_psr:1

Is there any way to tell whether panel self-refresh is actually being used?

I'll update if I see any problems.
Comment 9 Peter Erdelyi 2016-09-13 21:24:43 UTC
Created attachment 126498 [details]
dmesg
Comment 10 Peter Erdelyi 2016-09-13 21:26:45 UTC
Created attachment 126499 [details]
dmesg
Comment 11 Peter Erdelyi 2016-09-13 21:31:45 UTC
I have upgraded a Lenovo S540 from Fedora F23 (kernel-4.5.7-200.fc23.x86_64) to F24 (kernel-4.6.3-300.fc24.x86_24) and the display started flickering at the edges. The next kernel-4.8.0.0.rc1.git0.1.fc25.x86_64 flickered and produced a loop,while the display changed the brightness. Touching the mouse stopped the failure. Then it started again. Kernel-4.8.0.0.rc3.git0.1.fc25.x86_64 doesn't flicker any more, but the ugly loop with the changing brightness is still there during the boot process. When I turn off the computer the display turns into a very bright white. 

chipset:    4 x Intel®core i5-4210U CPU @ 1.70GHz
system architecture: 64-bit
xserver: 11.0 Fedora Project
mesa: Mesa DRI Intel(R)Haswell Mobile
kernel: 4.8.0-0.rc3.git0.1.fc25.x86_64
Linux distribution: Fedora 24
display connector: FHD, Laptop screen 1920*1080 px (full hd), mat.
Comment 12 Elio 2017-03-06 17:26:20 UTC
(In reply to Peter Erdelyi from comment #11)
> I have upgraded a Lenovo S540 from Fedora F23 (kernel-4.5.7-200.fc23.x86_64)
> to F24 (kernel-4.6.3-300.fc24.x86_24) and the display started flickering at
> the edges. The next kernel-4.8.0.0.rc1.git0.1.fc25.x86_64 flickered and
> produced a loop,while the display changed the brightness. Touching the mouse
> stopped the failure. Then it started again.
> Kernel-4.8.0.0.rc3.git0.1.fc25.x86_64 doesn't flicker any more, but the ugly
> loop with the changing brightness is still there during the boot process.
> When I turn off the computer the display turns into a very bright white. 
> 
> chipset:    4 x Intel®core i5-4210U CPU @ 1.70GHz
> system architecture: 64-bit
> xserver: 11.0 Fedora Project
> mesa: Mesa DRI Intel(R)Haswell Mobile
> kernel: 4.8.0-0.rc3.git0.1.fc25.x86_64
> Linux distribution: Fedora 24
> display connector: FHD, Laptop screen 1920*1080 px (full hd), mat.

Hello Peter, could you try updating your system to 4.10? a lot of new patches were merged recently.
Comment 13 Tomasz Bazan 2017-04-04 11:27:44 UTC
(In reply to Elio from comment #12)
> (In reply to Peter Erdelyi from comment #11)
> > I have upgraded a Lenovo S540 from Fedora F23 (kernel-4.5.7-200.fc23.x86_64)
> > to F24 (kernel-4.6.3-300.fc24.x86_24) and the display started flickering at
> > the edges. The next kernel-4.8.0.0.rc1.git0.1.fc25.x86_64 flickered and
> > produced a loop,while the display changed the brightness. Touching the mouse
> > stopped the failure. Then it started again.
> > Kernel-4.8.0.0.rc3.git0.1.fc25.x86_64 doesn't flicker any more, but the ugly
> > loop with the changing brightness is still there during the boot process.
> > When I turn off the computer the display turns into a very bright white. 
> > 
> > chipset:    4 x Intel®core i5-4210U CPU @ 1.70GHz
> > system architecture: 64-bit
> > xserver: 11.0 Fedora Project
> > mesa: Mesa DRI Intel(R)Haswell Mobile
> > kernel: 4.8.0-0.rc3.git0.1.fc25.x86_64
> > Linux distribution: Fedora 24
> > display connector: FHD, Laptop screen 1920*1080 px (full hd), mat.
> 
> Hello Peter, could you try updating your system to 4.10? a lot of new
> patches were merged recently.

Hello Elio, thanks for your reply. I confirm that on Acer v3-722G with debian testing upgrading kernel to version 4.10.8 helps on flickering screen.
Comment 14 Jani Saarinen 2017-05-24 07:02:17 UTC
Reporters, can you resolve this now based on feedback?
Comment 15 Jani Saarinen 2017-05-24 07:03:19 UTC
I will resolve. Please re-open if issue still there.
Comment 16 Elizabeth 2018-02-13 16:30:00 UTC
Closing old verified.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.