Bug 108604 - seemingly random screen flicker with kernel 4.19
Summary: seemingly random screen flicker with kernel 4.19
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: Triaged
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-30 16:34 UTC by Chris Murphy
Modified: 2018-12-18 17:37 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features:


Attachments
journal snippet (244.38 KB, text/x-log)
2018-10-30 16:36 UTC, Chris Murphy
no flags Details
journal full, kmesg only (99.70 KB, text/plain)
2018-10-30 16:45 UTC, Chris Murphy
no flags Details

Description Chris Murphy 2018-10-30 16:34:34 UTC
Summary: I'm seeing a very brief screen flicker, uncertain of the interval (perhaps once per half hour), whether using built-in only display or external (appears on both displays). This is a regression, it doesn't happen with 4.18.x.


model name	: Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz

00:02.0 VGA compatible controller: Intel Corporation Skylake GT2 [HD Graphics 520] (rev 07)

I've enabled drm.debug=0x1e but can only isolate to about 1 minute (I see the flicker, look at the time, and then use journalctl --since= to capture from the start of that minute.
Comment 1 Chris Murphy 2018-10-30 16:36:13 UTC
Created attachment 142279 [details]
journal snippet

A less than 1 minute snippet from kernel messages with drm.debug=0x1e enabled, at the time the flicker happens.
Comment 2 Chris Murphy 2018-10-30 16:45:00 UTC
Created attachment 142280 [details]
journal full, kmesg only
Comment 3 Chris Murphy 2018-10-30 16:46:59 UTC
Please note the 2nd attachment, full journal, is for a subsequent boot from the journal snippet attachment. The /run/ buffer ran out of space (days of uptime) and had started deleting journal entries, so I did a clean boot to get a dmesg that includes all the early boot stuff.
Comment 4 Lakshmi 2018-11-01 16:10:30 UTC
Chris, Can you say what is the usecase here? Any particular pattern that causes this issue?
Comment 5 Chris Murphy 2018-11-02 01:02:27 UTC
Fedora 29 Workstation, laptop. Sometimes it happens in web browser (Firefox) sometimes in Terminal. I haven't found a pattern.
Comment 6 Lakshmi 2018-11-02 08:28:14 UTC
(In reply to Chris Murphy from comment #5)
> Fedora 29 Workstation, laptop. Sometimes it happens in web browser (Firefox)
> sometimes in Terminal. I haven't found a pattern.

Can you attach cat /sys/kernel/debug/dri/0/i915_edp_psr.
Comment 7 Chris Murphy 2018-11-02 16:55:27 UTC
There are only two edp_psr items:

[root@flap ~]# cat /sys/kernel/debug/dri/0/i915_edp_psr_debug
cat: /sys/kernel/debug/dri/0/i915_edp_psr_debug: Operation not permitted
[root@flap ~]# cat /sys/kernel/debug/dri/0/i915_edp_psr_status
Sink_Support: yes
Enabled: no
Busy frontbuffer bits: 0x000
Main link in standby mode: no
HW Enabled & Active bit: no
Source PSR status: 0x4000000 [IDLE]
Comment 8 Lakshmi 2018-11-05 07:21:43 UTC
Can you attach dmesg from boot with kernel parameters drm.debug=0x1e log_buf_len=4M. 
Have you verified this issue with latest drm-tip?(https://cgit.freedesktop.org/drm-tip)
Comment 9 Chris Murphy 2018-11-05 16:57:27 UTC
>Can you attach dmesg from boot with kernel parameters drm.debug=0x1e 

Both attachments have drm.debug=0x1e enabled.

>Have you verified this issue with latest drm-tip?

No, I can't build kernels while I'm mobile, but I can install a newer Fedora Rawhide kernel if that's useful.
Comment 10 Lakshmi 2018-11-06 08:35:56 UTC
> No, I can't build kernels while I'm mobile, but I can install a newer Fedora
> Rawhide kernel if that's useful.
Yes, dmesg from boot with latest stable kernel will help in this case. Ensure, kernel parameters are set (drm.debug=0x1e log_buf_len=4M)
Comment 11 Chris Murphy 2018-11-06 20:06:56 UTC
The two attachments are based on 4.19.0; Fedora is in the middle of rebasing to 4.19 so for whatever reason there won't be any 4.19 builds until that happens. But they have 4.20rc1 built which I can give a shot if that's helpful.
Comment 12 Lakshmi 2018-11-14 10:10:01 UTC
Chris, any updates with 4.20 kernel?
Comment 13 Lakshmi 2018-12-18 06:11:05 UTC
(In reply to Chris Murphy from comment #11)
> The two attachments are based on 4.19.0; Fedora is in the middle of rebasing
> to 4.19 so for whatever reason there won't be any 4.19 builds until that
> happens. But they have 4.20rc1 built which I can give a shot if that's
> helpful.

Have you tried to verify with kernel 4.20?
Comment 14 Chris Murphy 2018-12-18 17:32:35 UTC
I haven't seen it with 4.19.2 or higher, including 4.20rc5.
Comment 15 Lakshmi 2018-12-18 17:37:46 UTC
Thanks for the feedback Chris. I can close this bug as WORKSFORME.


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.