Created attachment 144383 [details] Demonstration of flickering on right corner of the screen I have notebook HP Elitebook Folio 1040 G1 which comes with processor Intel i5-4210U. I have few types of periodic flickering which happens only on Linux (I don't see it on Windows or BIOS). 1) If I leave mouse cursor for few seconds, then start to moving it, there's slight flicker (like display brightness changes a little) 2) On the top left corner sometimes appears artifacts (see attached video). They mostly reproduceable if you have black panel or window decoration on top. I tried different distros and DEs: * Ubuntu MATE 16.04 (kernel 4.4), xUbuntu 18.04 (kernel 4.15 and 5.0), Fedora 30 with GNOME Wayland, KDE Neon with Plasma 5.15 on XOrg. Each of them suffer from this issue. I tried different GRUB options: i915.enable_rc6=0 ; i915.enable_psr=0 ; i915.i915_enable_fbc=1. Also tried all available Refresh Rates (from 40HZ to 120 HZ) and resolutions. Problem completely stopped at the last measure - i915.modeset=0 For now I can't test external monitor as this notebook only have DisplayPort --- It's possible that problem is fixable by replacing display matrix but the fact that on Windows I can't see any artifacts or flickering worries me. Please tell which additional logs or system info I can provide Regards, Evgen
Dmesg from boot with kernel parameters drm.debug=0x1e log_buf_len=4M is needed to investigate this issue. In addition, can you try to reproduce the error using drm-tip (https://cgit.freedesktop.org/drm-tip) and kernel parameters drm.debug=0x1e log_buf_len=4M. If the problem persists attach the full dmesg from boot. Testing the issue with drmtip is highly recommended.
Created attachment 144413 [details] dmesg with Ubuntu's mainline kernel 5.2-rc2 dmesg with Ubuntu's mainline kernel 5.2-rc2 GRUB parameters: drm.debug=0x1e log_buf_len=4M
Sorry, for some reason I can't even clone drm-tip -- $ git clone git://anongit.freedesktop.org/drm-tip Cloning into 'drm-tip'... fatal: read error: Connection reset by peer --- But I tried latest kernel from https://kernel.ubuntu.com/~kernel-ppa/mainline/ (v5.2-rc2) and problem persists. dmesg is attached. It's probably not right that Refresh Rate often jumps between 40Hz and 60Hz [ 29.977378] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to : 40Hz [ 30.456537] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to : 60Hz [ 33.973392] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to : 40Hz [ 35.055923] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to : 60Hz
(In reply to Evgen from comment #3) > Sorry, for some reason I can't even clone drm-tip > -- > $ git clone git://anongit.freedesktop.org/drm-tip > Cloning into 'drm-tip'... > fatal: read error: Connection reset by peer > --- > But I tried latest kernel from > https://kernel.ubuntu.com/~kernel-ppa/mainline/ (v5.2-rc2) and problem > persists. > dmesg is attached. > It's probably not right that Refresh Rate often jumps between 40Hz and 60Hz > [ 29.977378] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to > : 40Hz > [ 30.456537] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to > : 60Hz > [ 33.973392] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to > : 40Hz > [ 35.055923] [drm:intel_dp_set_drrs_state [i915]] eDP Refresh Rate set to > : 60Hz Can you try again, there was server down at some point. Also, can you please attach the logs with and without i915.modeset=0?
Please test again with 5.2+ This may have been fixed by commit 475df5d0f3eb ("drm/i915: Don't clobber M/N values during fastset check")
(In reply to Ville Syrjala from comment #5) > Please test again with 5.2+ > > This may have been fixed by commit 475df5d0f3eb ("drm/i915: Don't clobber > M/N values during fastset check") I installed daily build of (x)Ubuntu 19.10 and upgraded to kernel 5.2.0-8.9 (which is based on 5.2 and patch was merged to 5.2-rc4). Unfortunately both problems (flickering and brightness change) are still there. I'm a little familiar with rebuilding distro kernels (Debian/Ubuntu, openSUSE). Please let me know if there will be something else to test (patch, config parameter etc). Attached newer logs (also with i915.modeset=0).
Created attachment 144773 [details] dmesg with Ubuntu's kernel 5.2.0-8.9
Created attachment 144774 [details] dmesg with Ubuntu's kernel 5.2.0-8.9 with i915.modeset=0
(In reply to Evgen from comment #7) > Created attachment 144773 [details] > dmesg with Ubuntu's kernel 5.2.0-8.9 Can you please build and verify wit drmtip (https://cgit.freedesktop.org/drm-tip)? Dmesg from drmtip would give more clues.
(In reply to Lakshmi from comment #9) > (In reply to Evgen from comment #7) > > Created attachment 144773 [details] > > dmesg with Ubuntu's kernel 5.2.0-8.9 > > Can you please build and verify wit drmtip > (https://cgit.freedesktop.org/drm-tip)? Dmesg from drmtip would give more > clues. Evgen, it's been a while waiting for the feedback. Any updates?
Thanks for asking. I still need to try kernel building from source (previously only re-builded packages with distro tools) and don't have that machine always with me. We'll try provide some information until the end of this week.
Thanks for asking. I still need to try kernel building from source (previously only re-builded packages with distro tools) and don't have that machine always with me. I'll try to provide some information until the end of this week.
Created attachment 145227 [details] dmesg with Ubuntu's drm-tip kernel 5.3.0-994.201908312202 Kernel from from https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2019-09-01/
Created attachment 145228 [details] dmesg with Ubuntu's drm-tip kernel 5.3.0-994.201908312202 + i915.modeset=0
(In reply to Evgen from comment #13) > Created attachment 145227 [details] > dmesg with Ubuntu's drm-tip kernel 5.3.0-994.201908312202 > > Kernel from from > https://kernel.ubuntu.com/~kernel-ppa/mainline/drm-tip/2019-09-01/ Do you still see flickering? I couldn't find any issues from the attached log though.
Yes. It still flickers in both cases (right corner & brightness change when you start moving mouse after few seconds idle).
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/306.
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.