[Bug 1156928] New: [i915] Screen rapidly blinks on and off

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 Bug ID: 1156928 Summary: [i915] Screen rapidly blinks on and off Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.1 Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-maintainers@forge.provo.novell.com Reporter: psychonaut@nothingisreal.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- I have a new Acer TravelMate B118 which has an Intel Pentium Silver N5000 and an integrated UHD Graphics 605 video controller. I am running openSUSE Leap 15.1 (x86_64) with its official 4.12.14-lp151.28.25-default kernel. With this kernel, the screen frequently blinks on and off in rapid succession, usually two to eight times in a row. (The screen isn't merely turning black; it looks like it is actually powering off and back on again.) The problem is consistently reproducible in that it always happens during bootup (shortly before the XDM login prompt displays) and when certain activities are performed (such as triggering the OSD volume display by turning the volume up or down, or when a KDE Plasma notification appears). Running dmesg reports a bunch of "intel_display_power_put+0xd3/0x100" warnings. These seem to correspond to the instances of blinking. The problem does not occur when using kernel-vanilla-5.4.rc7.next.20191114-1.1.g0bd97c3 from the linux-next repository at <http://download.opensuse.org/repositories/Kernel:/linux-next/standard/x86_64/>. (But running this kernel is not an option for me as it seems to break other things that I need, like WLAN.) So I guess the issue got fixed some time between 4.12.14 and 5.4.rc7. Is there any chance that the openSUSE Leap kernel package maintainers could identify and backport this fix to the current Leap 15.1 kernel/libdrm_intel1, or that Leap 15.1 could move to a newer version of the kernel/libdrm_intel1 where this fix has already been applied? The original problem was reported upstream at <https://bugs.freedesktop.org/show_bug.cgi?id=112250> where you can also see the full dmesg logs and other diagnostics. (Though I'm happy to reupload them here if desired.) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 Tristan Miller <psychonaut@nothingisreal.com> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.freedesktop.or | |g/show_bug.cgi?id=112250 -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c2 Tristan Miller <psychonaut@nothingisreal.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(psychonaut@nothin | |gisreal.com) | --- Comment #2 from Tristan Miller <psychonaut@nothingisreal.com> --- Thanks, Takashi. I've tried your new kernel and unfortunately it doesn't fix the problem. Let me know if you need dmesg logs or any other information. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c3 --- Comment #3 from Takashi Iwai <tiwai@suse.com> --- Yes, please upload dmesg output to Bugzilla. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c4 --- Comment #4 from Tristan Miller <psychonaut@nothingisreal.com> --- Created attachment 824304 --> http://bugzilla.opensuse.org/attachment.cgi?id=824304&action=edit dmesg output using kernel 4.12.14-lp151.1.g5ba2109-default drm.debug=0x1e log_buf_len=4M -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c6 Caleb McKay <caleb@candj.us> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |caleb@candj.us --- Comment #6 from Caleb McKay <caleb@candj.us> --- I created Bug 1156945 that appears to be a duplicate of this one. I am running very similar hardware with and Acer Swift 1 (same processor, same gpu), and I am experiencing this same problem. Does not happen on clean install, only after updating. Thought maybe it was a KDE bug so reinstalled with XFCE and got the same issue. I have installed kernel 4.19.84 from this repo... https://download.opensuse.org/repositories/home:/Ledest:/kernel:/lts:/4.19/o... This kernel does fix the problem. I'd be happy to provide any other additional info you need. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c7 --- Comment #7 from Takashi Iwai <tiwai@suse.com> --- Thanks, hat's a good information. If 4.19.y works, it indicates that we might have introduced a regression in Leap 15.1 backports at some point. Could you try to *downgrade* openSUSE Leap 15.1 kernel to the GM-release, i.e. the kernel in http://download.opensuse.org/distribution/leap/15.1/repo/oss/ ? If this works, we can narrow down which upgrade kernel showed the regression. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c8 --- Comment #8 from Tristan Miller <psychonaut@nothingisreal.com> --- (In reply to Caleb McKay from comment #6)
I created Bug 1156945 that appears to be a duplicate of this one. I am running very similar hardware with and Acer Swift 1 (same processor, same gpu), and I am experiencing this same problem.
That bug report mentions another symptom, namely that the computer runs very slowly, at least when logging into KDE. I didn't mention it in this report because I wasn't sure if it was related, but this is also something I'm experiencing. With the 4.x kernels that also have the screen blinking bug, it takes about five minutes after logging into KDE before the panel appears. With the 5.x kernel, there is no delay. Takashi, I will test with the 4.19.y kernels and with the GM-release kernel and let you know if the problem is still reproducible with them. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c9 Tristan Miller <psychonaut@nothingisreal.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(psychonaut@nothin | |gisreal.com) | --- Comment #9 from Tristan Miller <psychonaut@nothingisreal.com> --- Created attachment 824306 --> http://bugzilla.opensuse.org/attachment.cgi?id=824306&action=edit dmesg output using kernel 4.19.58-1.gcd9b893-default drm.debug=0x1e log_buf_len=4M The blinking problem does not occur when running kernel 4.19.58-1.gcd9b893-default. dmesg output attached. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c10 --- Comment #10 from Tristan Miller <psychonaut@nothingisreal.com> --- Created attachment 824307 --> http://bugzilla.opensuse.org/attachment.cgi?id=824307&action=edit dmesg output using kernel 4.12.14-lp151.27-default drm.debug=0x1e log_buf_len=4M (In reply to Takashi Iwai from comment #7)
Could you try to *downgrade* openSUSE Leap 15.1 kernel to the GM-release, i.e. the kernel in http://download.opensuse.org/distribution/leap/15.1/repo/oss/ ? If this works, we can narrow down which upgrade kernel showed the regression.
There are two versions of kernel-default in that repository, kernel-default-4.12.14-lp151.26.4.x86_64.rpm and kernel-default-4.12.14-lp151.27.3.x86_64.rpm. I installed the latter, which uname -a reports as 4.12.14-lp151.27-default. With this kernel, the blinking problem is not reproducible. (In case it matters, I downgraded only the kernel-default package, not libdrm_intel1 as well.) dmesg output attached. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c11 --- Comment #11 from Takashi Iwai <tiwai@suse.com> --- Thanks, that's a good news! It means that some backport after the release caused a problem, indeed. (BTW, the version you tested was correct and it shouldn't matter much in this case; the new one was an update just for the Intel CPU security issue at that time :) I guess you'll see multiple kernel-default versions if you run "zypper se -s kernel-default". Could you try to upgrade to each one and see which kernel version started showing the bug? Or the packages are found in OBS update repo, too: http://download.opensuse.org/update/leap/15.1/oss/ -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c12 --- Comment #12 from Caleb McKay <caleb@candj.us> --- Kernel 4.12.14-lp151.28.4-default seems to be the point where this starts happening. Kernel 4.12.14-lp151.27-default works as expected, but 4.12.14-lp151.28.4-default has the same issue. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c13 --- Comment #13 from Tristan Miller <psychonaut@nothingisreal.com> --- Thanks for the report, Caleb. I'll hold off testing myself for now as I don't have regular access to the machine. (It's used by my partner.) -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c14 --- Comment #14 from Tristan Miller <psychonaut@nothingisreal.com> --- *** Bug 1156945 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c15 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |patrik.jakobsson@suse.com, | |tzimmermann@suse.com --- Comment #15 from Takashi Iwai <tiwai@suse.com> --- It corresponds to the very first maintenance update after the release of Leap 15.1. 4.12.14-lp151.27.3 = 862c8382602709a60940f0bb672667675e1bd307 4.12.14-lp151.28.4.1 = af35fd11466ddb32ce5df4bc094d71af8b3b86aa Adding our gfx experts to Cc for checking together. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c16 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(caleb@candj.us) --- Comment #16 from Takashi Iwai <tiwai@suse.com> --- Just to make sure whether we're on the same page: Caleb, could you test the kernel in OBS home:tiwai:bsc1156928 repo and confirm that the problem still persists? It has a backport of the upstream fix 4bdc42094d9c4af75f90ee49b9009ea8dfe41444, and this should fix the spurious kernel WARNINGs, but it doesn't fix the actual problem, as it seems. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c17 --- Comment #17 from Caleb McKay <caleb@candj.us> --- Running kernel... 4.12.14-lp151.1.g5ba2109-default I can confirm the issue is still there. Another issue I noticed is wifi starts as disabled with the 4.12 kernel, but not with 4.19 or 5.3. Probably not relevant to this issue. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c18 --- Comment #18 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- Hi, sound a little bit like a power related issue. Can you please try with i915.enable_dc=0 and/or i915.disable_power_well=0 Thanks Patrik -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c19 --- Comment #19 from Tristan Miller <psychonaut@nothingisreal.com> --- (In reply to Patrik Jakobsson from comment #18)
Hi, sound a little bit like a power related issue. Can you please try with i915.enable_dc=0 and/or i915.disable_power_well=0
Please try what? Do you want us to try these parameters with one of the kernels that triggers the bug, or with one of the kernels that doesn't trigger the bug? -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c20 --- Comment #20 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- Yes, try those options on a "broken" kernel. I can't find anything obviously wrong so this can give further hints on where to look. Power management is tricky and can span over several drivers/subsystems. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c21 --- Comment #21 from Caleb McKay <caleb@candj.us> --- (In reply to Patrik Jakobsson from comment #18)
Hi, sound a little bit like a power related issue. Can you please try with i915.enable_dc=0 and/or i915.disable_power_well=0
Thanks Patrik
Tried both options individually and together. Issue persisted. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c22 --- Comment #22 from Caleb McKay <caleb@candj.us> --- Anything else you'd like me to try or provide? I am happy to help in whatever way I can. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c27 --- Comment #27 from Patrik Jakobsson <patrik.jakobsson@suse.com> --- I think I've found the problem. Changing cdclk will trigger a full modeset (which causes flicker) and our backport of: 905801fe7237 (drm/i915: Force 2*96 MHz cdclk on glk/cnl when audio power is enabled) causes this to appear much more frequently. The fix is found in: 59f9e9cab3a1 (drm/i915: Skip modeset for cdclk changes if possible) but depends on the series: drm/i915: Introduce intel_cdclk_state (https://patchwork.freedesktop.org/series/16994/). I tried a quick backport of 59f9e9cab3a1 but failed. Takashi, perhaps you have better luck with this. Otherwise I think we need the full series. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c28 --- Comment #28 from Takashi Iwai <tiwai@suse.com> --- OK, I'm building a test kernel with the backport of 59f9e9cab3a1e6762 in OBS home:tiwai:bsc1156928-3 repo. Please test this one at first. If it still doesn't work, try the one in comment 23. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c29 --- Comment #29 from Caleb McKay <caleb@candj.us> --- (In reply to Takashi Iwai from comment #28)
OK, I'm building a test kernel with the backport of 59f9e9cab3a1e6762 in OBS home:tiwai:bsc1156928-3 repo.
Please test this one at first. If it still doesn't work, try the one in comment 23.
So the wifi still starts as disabled, but works as expected with the vanilla kernel. However this kernel does fix the screen flickering issue originally reported in this bug report. Kernel used: 4.12.14-lp151.1.g0e254f8-default No more flickering at boot or while using. -- You are receiving this mail because: You are on the CC list for the bug.

http://bugzilla.opensuse.org/show_bug.cgi?id=1156928 http://bugzilla.opensuse.org/show_bug.cgi?id=1156928#c30 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Flags|needinfo?(caleb@candj.us) | --- Comment #30 from Takashi Iwai <tiwai@suse.com> --- Good to hear. The patch was pushed to SLE15-SP1 branch, and will be included in the next maintenance update. Regarding the WiFi: is it only about the status at start, i.e. you can toggle it on after that? In anyway, it's a completely different issue and open another bug report if that matters. I close this bug for now, thanks. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com