Activity log for bug #1928138

Date Who What changed Old value New value Message
2021-05-11 20:16:12 xalt7x bug added bug
2021-05-11 20:16:12 xalt7x attachment added Patch to disable DRRS by default with parameter to enable it https://bugs.launchpad.net/bugs/1928138/+attachment/5496449/+files/disable_drrs_by_default_5-12.patch
2021-05-11 20:16:54 xalt7x bug watch added https://gitlab.freedesktop.org/drm/intel/-/issues/3441
2021-05-11 20:16:54 xalt7x bug task added linux
2021-05-11 20:18:46 xalt7x description Since kernel 4.1 laptop HP Elitebook Folio 1040 G1 (with Intel i5-4210U) has a pretty issue with flickering Symptoms: 1) If I leave mouse cursor for a few seconds, then start moving it, there's slight flicker (like display brightness changes a bit) 2) On the top left corner sometimes appears artifacts. It's relatively easy to see with black window decorations on top of the screen. This one is showed at the attached video bellow 3) With kernel boot options drm.debug=0x1e log_buf_len=4M dmesg shows constant refresh rate changes (even if it's set to 40HZ) [ 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 nomodeset boot option eliminates flickering Turns out Display Refresh Rate Switching (DRRS) feature doesn't work correctly here. It was implemented on kernels 4.0...4.1 but on a particular machine flickering started with 4.1. As a workaround I'm attaching a patch which disables DRRS by default and adds module parameter "enable_drrs" to activate it. It's made for kernel 5.12 and should work for older versions as well (tested with 5.11). Until this issue is resolved, please consider adding parameter to disable DRRS. Windows has such option on Intel® Graphics Command Center. Since kernel 4.1 laptop HP Elitebook Folio 1040 G1 (with Intel i5-4210U) has a pretty issue with flickering Symptoms: 1) If I leave mouse cursor for a few seconds, then start moving it, there's slight flicker (like display brightness changes a bit) 2) On the top left corner sometimes appears artifacts. It's relatively easy to see with black window decorations on top of the screen. This one is showed at the attached video bellow 3) With kernel boot options drm.debug=0x1e log_buf_len=4M dmesg shows constant refresh rate changes (even if it's set to 40HZ) [ 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 nomodeset boot option eliminates flickering Turns out Display Refresh Rate Switching (DRRS) feature doesn't work correctly here. It was implemented on kernels 4.0...4.1 but on a particular machine flickering started with 4.1. As a workaround I'm attaching a patch which disables DRRS by default and adds module parameter "enable_drrs" to activate it. It's made for kernel 5.12 and should work for older versions as well (tested with 5.11). Until this issue is resolved, please consider adding parameter to disable DRRS. Windows has such option on Intel® Graphics Command Center.
2021-05-11 20:19:39 xalt7x attachment added Demonstration of the issue https://bugs.launchpad.net/linux/+bug/1928138/+attachment/5496450/+files/VID_20190526_162622.mp4
2021-05-11 20:27:52 xalt7x description Since kernel 4.1 laptop HP Elitebook Folio 1040 G1 (with Intel i5-4210U) has a pretty issue with flickering Symptoms: 1) If I leave mouse cursor for a few seconds, then start moving it, there's slight flicker (like display brightness changes a bit) 2) On the top left corner sometimes appears artifacts. It's relatively easy to see with black window decorations on top of the screen. This one is showed at the attached video bellow 3) With kernel boot options drm.debug=0x1e log_buf_len=4M dmesg shows constant refresh rate changes (even if it's set to 40HZ) [ 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 nomodeset boot option eliminates flickering Turns out Display Refresh Rate Switching (DRRS) feature doesn't work correctly here. It was implemented on kernels 4.0...4.1 but on a particular machine flickering started with 4.1. As a workaround I'm attaching a patch which disables DRRS by default and adds module parameter "enable_drrs" to activate it. It's made for kernel 5.12 and should work for older versions as well (tested with 5.11). Until this issue is resolved, please consider adding parameter to disable DRRS. Windows has such option on Intel® Graphics Command Center. Since kernel 4.1 laptop HP Elitebook Folio 1040 G1 (with Intel i5-4210U) has a pretty serious issue with flickering Symptoms: 1) If I leave mouse cursor for a few seconds, then start moving it, there's a slight flicker (like display brightness changes a bit). There's also some flickering even without user interactions. 2) On the top left corner sometimes appears artifacts. It's relatively easy to see with black window decorations on top of the screen. This one is showed at the attached video bellow 3) With kernel boot options drm.debug=0x1e log_buf_len=4M dmesg shows constant refresh rate changes (even if it's set to 40HZ) [ 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 nomodeset boot option eliminates flickering Turns out Display Refresh Rate Switching (DRRS) feature doesn't work correctly here. It was implemented on kernels 4.0...4.1 but on a particular machine flickering started with 4.1. As a workaround I'm attaching a patch which disables DRRS by default and adds module parameter "enable_drrs" to activate it. It's made for kernel 5.12 and should work for older versions as well (tested with 5.11). Until this issue is resolved, please consider adding parameter to disable DRRS. Windows has such option on Intel® Graphics Command Center.
2021-05-11 20:28:40 Ubuntu Foundations Team Bug Bot tags 1040 flickering folio g1 hp i915 1040 flickering folio g1 hp i915 patch
2021-05-11 20:28:41 Ubuntu Foundations Team Bug Bot bug added subscriber Terry Rudd
2021-05-11 20:28:56 xalt7x tags 1040 flickering folio g1 hp i915 patch 1040 flickering folio g1 hp i915
2021-05-11 20:29:33 xalt7x summary Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bissected and workaround attached] Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
2021-05-12 00:29:48 Ubuntu Foundations Team Bug Bot tags 1040 flickering folio g1 hp i915 1040 flickering folio g1 hp i915 patch
2021-05-12 03:31:24 xalt7x bug watch added https://bugs.freedesktop.org/show_bug.cgi?id=91393
2021-09-16 13:32:40 xalt7x attachment added Patch for 5.13 and 5.14 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1928138/+attachment/5525692/+files/i915---disable_drrs_by_default_5-13.patch
2021-09-16 16:17:49 Alejandro bug added subscriber Alejandro