http://bugzilla.opensuse.org/show_bug.cgi?id=1189826
Bug ID: 1189826 Summary: Severe screen flickering with kernel 5.13.12-1-default and i915 Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: javier@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: ---
My laptop's screen flickers so much with 5.13.12 that it renders my laptop unusable.
One workaround is to close and open the lid. After resuming, it works fine - there is no flickering.
Booting up from the KDE Live image works fine. I have used the same Tumbleweed version (20210820) as the one I have installed on my laptop. The only difference is that I have an encrypted /home partition on my laptop's SSD.
Tested kernels: 5.10.16-1.3: OK 5.11.4-1.3: NON-OK 5.12.12-1: NON-OK 5.13.12-1: NON-OK
KDE Plasma 5.22.4 KDE Frameworks 5.85.0 Qt 5.15.2
See the attachments for more details.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c1
--- Comment #1 from Javier Llorente javier@opensuse.org --- Created attachment 852062 --> http://bugzilla.opensuse.org/attachment.cgi?id=852062&action=edit inxi -SGa
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c2
--- Comment #2 from Javier Llorente javier@opensuse.org --- Created attachment 852063 --> http://bugzilla.opensuse.org/attachment.cgi?id=852063&action=edit dmesg
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c3
Patrik Jakobsson patrik.jakobsson@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |IN_PROGRESS CC| |patrik.jakobsson@suse.com
--- Comment #3 from Patrik Jakobsson patrik.jakobsson@suse.com --- It sounds to me like the FIFO underruns are causing the flickering. Can you provide the output of:
/sys/kernel/debug/dri/0/i915_gpu_info /sys/kernel/debug/dri/0/i915_display_info /sys/kernel/debug/dri/0/i915_cur_wm_latency /sys/kernel/debug/dri/0/i915_ddb_info
Provide the info from both before and after you "fix" the problem by closing the lid. That way we can see if there is a change in the configuration.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c4
--- Comment #4 from Javier Llorente javier@opensuse.org --- Created attachment 852092 --> http://bugzilla.opensuse.org/attachment.cgi?id=852092&action=edit i915_gpu_info (flickering)
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c5
--- Comment #5 from Javier Llorente javier@opensuse.org --- Created attachment 852093 --> http://bugzilla.opensuse.org/attachment.cgi?id=852093&action=edit i915_display_info (flickering)
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c6
--- Comment #6 from Javier Llorente javier@opensuse.org --- Created attachment 852094 --> http://bugzilla.opensuse.org/attachment.cgi?id=852094&action=edit i915_cur_wm_latency (flickering)
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c7
--- Comment #7 from Javier Llorente javier@opensuse.org --- Created attachment 852095 --> http://bugzilla.opensuse.org/attachment.cgi?id=852095&action=edit i915_ddb_info (flickering)
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c8
--- Comment #8 from Javier Llorente javier@opensuse.org --- Created attachment 852096 --> http://bugzilla.opensuse.org/attachment.cgi?id=852096&action=edit i915_gpu_info
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c9
--- Comment #9 from Javier Llorente javier@opensuse.org --- Created attachment 852097 --> http://bugzilla.opensuse.org/attachment.cgi?id=852097&action=edit i915_display_info
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c10
--- Comment #10 from Javier Llorente javier@opensuse.org --- Created attachment 852098 --> http://bugzilla.opensuse.org/attachment.cgi?id=852098&action=edit i915_cur_wm_latency
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c11
--- Comment #11 from Javier Llorente javier@opensuse.org --- Created attachment 852099 --> http://bugzilla.opensuse.org/attachment.cgi?id=852099&action=edit i915_ddb_info
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c12
--- Comment #12 from Javier Llorente javier@opensuse.org --- diff -ur flickering non-flickering diff -ur flickering/i915_display_info.txt non-flickering/i915_display_info.txt --- flickering/i915_display_info.txt 2021-08-27 10:13:32.287997379 +0200 +++ non-flickering/i915_display_info.txt 2021-08-27 10:15:19.547997042 +0200 @@ -18,7 +18,7 @@ uapi: [FB:0] n/a,0x0,0x0,, visible=hidden, src=0.000000x0.000000+0.000000+0.000000, dst=0x0+0+0, rotation=0 (0x00000001) [PLANE:63:cursor A]: type=CUR uapi: [FB:0] n/a,0x0,0x0,, visible=hidden, src=0.000000x0.000000+0.000000+0.000000, dst=0x0+0+0, rotation=0 (0x00000001) - underrun reporting: cpu=no pch=yes + underrun reporting: cpu=yes pch=yes [CRTC:104:pipe B]: uapi: enable=no, active=no, mode="": 0 0 0 0 0 0 0 0 0 0 0x0 0x0 [PLANE:68:plane 1B]: type=PRI diff -ur flickering/i915_gpu_info.txt non-flickering/i915_gpu_info.txt --- flickering/i915_gpu_info.txt 2021-08-27 10:13:32.283997379 +0200 +++ non-flickering/i915_gpu_info.txt 2021-08-27 10:15:19.543997042 +0200 @@ -1,11 +1,11 @@ Kernel: 5.13.12-1-default x86_64 Driver: 20201103 -Time: 1630052012 s 286150 us -Boottime: 85 s 358062 us -Uptime: 80 s 606314 us -Capture: 4294913599 jiffies; 0 ms ago +Time: 1630052119 s 550568 us +Boottime: 192 s 622481 us +Uptime: 94 s 79911 us +Capture: 4294938714 jiffies; 0 ms ago Reset count: 0 -Suspend count: 0 +Suspend count: 1 Platform: GEMINILAKE Subplatform: 0x0 PCI ID: 0x3185 @@ -60,7 +60,7 @@ fence[31] = 00000000 ERROR: 0x00000000 DONE_REG: 0x07ffffff -FAULT_TLB_DATA: 0x00000019 0xc4453d63 +FAULT_TLB_DATA: 0x00000011 0xc4613de3 GTT_CACHE_EN: 0xf0007fff GuC firmware: status: DISABLED @@ -154,7 +154,7 @@ VSYNC: 00000000 CPU transcoder: EDP Power: on - CONF: c0000024 + CONF: c0000000 HTOTAL: 081f077f HBLANK: 081f077f HSYNC: 07cf07af
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c13
--- Comment #13 from Patrik Jakobsson patrik.jakobsson@suse.com --- Watermark and DDB levels look fine. The EDP config register might hold a clue. Other things you can try is to boot with: i915.enable_psr=0 and/or i915.enable_dc=0
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c14
--- Comment #14 from Javier Llorente javier@opensuse.org --- (In reply to Patrik Jakobsson from comment #13)
Watermark and DDB levels look fine. The EDP config register might hold a clue. Other things you can try is to boot with: i915.enable_psr=0 and/or i915.enable_dc=0
Unfortunately, I still get heavy flickering if I boot with any of those or both.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c15
--- Comment #15 from Patrik Jakobsson patrik.jakobsson@suse.com --- Thanks for testing. One more thing you can try is: i915.enable_fbc=0
If this doesn't work, I'm not sure what to try next. If you are comfortable with building your own kernels [1] and have the time to spend, you can try to bisect [2] the issue.
If you cannot bisect I recommend you report this upstream at: https://gitlab.freedesktop.org/drm/intel/-/issues
[1] https://kernelnewbies.org/KernelBuild [2] https://www.kernel.org/doc/html/latest/admin-guide/bug-bisect.html
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c16
--- Comment #16 from Javier Llorente javier@opensuse.org --- (In reply to Patrik Jakobsson from comment #15)
Thanks for testing. One more thing you can try is: i915.enable_fbc=0
If this doesn't work, I'm not sure what to try next. If you are comfortable with building your own kernels [1] and have the time to spend, you can try to bisect [2] the issue.
If you cannot bisect I recommend you report this upstream at: https://gitlab.freedesktop.org/drm/intel/-/issues
[1] https://kernelnewbies.org/KernelBuild [2] https://www.kernel.org/doc/html/latest/admin-guide/bug-bisect.html
Unfortunately, it does not work. Perhaps there is a similar upstream bug. I am going to investigate it. Thanks to you for your help!(In reply to Patrik Jakobsson from comment #15)
Thanks for testing. One more thing you can try is: i915.enable_fbc=0
If this doesn't work, I'm not sure what to try next. If you are comfortable with building your own kernels [1] and have the time to spend, you can try to bisect [2] the issue.
If you cannot bisect I recommend you report this upstream at: https://gitlab.freedesktop.org/drm/intel/-/issues
[1] https://kernelnewbies.org/KernelBuild [2] https://www.kernel.org/doc/html/latest/admin-guide/bug-bisect.html
Unfortunately, it does not work. Perhaps there is a similar upstream bug. I am going to investigate that first. Thanks to you for your help!
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c17
--- Comment #17 from Javier Llorente javier@opensuse.org --- Another workaround: changing the refresh rate to 48 Hz (it was 60 before). There is some flickering on the screen when prompted for the home partition encryption password but after that there is no flickering.
http://bugzilla.opensuse.org/show_bug.cgi?id=1189826 http://bugzilla.opensuse.org/show_bug.cgi?id=1189826#c21
Anton Smorodskyi anton.smorodskyi@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anton.smorodskyi@suse.com
--- Comment #21 from Anton Smorodskyi anton.smorodskyi@suse.com --- confirming same error on kernel 6.2.1-1-default on TW20230306 on DELL Latitude 7490. Ready to provide additional info on request
kernel-bugs@lists.opensuse.org