Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Unknown
|
Unknown
|
|||
linux (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
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_
[ 30.456537] [drm:intel_
[ 33.973392] [drm:intel_
[ 35.055923] [drm:intel_
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.
description: | updated |
tags: | added: patch |
tags: | removed: patch |
summary: |
Flickering on built-in display (Intel Haswell graphics) since kernel - v4.1 [bissected and workaround attached] + v4.1 [bisected and workaround attached] |
tags: | added: patch |
Is the patch in upstream Linux?