[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
I guess you have some different issue. In my case HP Folio 1040 G1 had this that problem since kernel 4.1 and it was never fixed. But still you can analyze dmesg for anything suspicious (maybe try it with different kernels) Here's a command to output information into dmesg.log in your home folder. sudo dmesg > ~/dmesg.log -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
I changed that line so that it says: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash drm.debug=0x1e log_buf_len=4M" and follower the rest of the steps. when typing: sudo dmesg | grep "Refresh Rate" on the terminal, nothing really happens. I am not sure I am doing that last step well, since I checked the previous ones. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
@alepasgar 1)Edit your GRUB configuration sudo nano /etc/default/grub At the line with "GRUB_CMDLINE_LINUX_DEFAULT" add parameters drm.debug=0x1e log_buf_len=4M Ctrl+X , confirm changes with "Y" 2) sudo update-grub 3) Restart 4) sudo dmesg | grep "Refresh Rate" -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
Hello there, I am having a problem that sounds quite similar to yours. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1940285 Could you tell me what exactly I must type on terminal to check how my laptop's refresh rate changes (if any), just to check if it behaves like yours. Thank you. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
I still believe that this bug is present since initial implementation of DRRS (kernels 4.0 and 4.1). For now I have to disable DRRS by default with a patch. Updated version in attachment. ** Patch 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 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
It'll be useful if the offending commit can be found... -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
Trying to find the reason for this issue I tested kernels from https://kernel.ubuntu.com/~kernel-ppa/mainline/ on Ubuntu 14.04 v4.0.9-wily - flickering didn't happen (but that's because DRRS wasn't activated in the 4.0.y series) v4.1-rc3-unstable - problem started here. So it's quite possible that on a particular machine this issue is present since v4.1-rc1 I found that this is DRRS by looking at i915 commits in the 4.1.y tree. https://github.com/gregkh/linux/commits/linux-4.1.y/drivers/gpu/drm/i915/ intel_pc.c and intel_display.c have some DRRS-related changes I can try to revert some commits from there. Some interesting commits: * drm/i915: Add support for DRRS in intel_dp_set_m_n (https://github.com/gregkh/linux/commit/fe3cd48d6b616efc76b6a4003e82e933618c788a#diff-83261d1489be7f0a6d1b8306ff0fddbeb13ceb74768ea99274b009dce13ffd2e) * drm/i915/bdw: Add support for DRRS to switch RR (https://github.com/gregkh/linux/commit/a4c30b1d108c1ef60667ed357af4aeabc3d05eca#diff-83261d1489be7f0a6d1b8306ff0fddbeb13ceb74768ea99274b009dce13ffd2e) -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
Do you know what's the offending commit? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
No, I made it for myself (using another patch (https://bugs.freedesktop.org/show_bug.cgi?id=91393#c31) as a reference for adding i915 module parameter). Not sure if upstream would accept it. This patch doesn't fix root issue but provides ability to disable DRRS power-saving feature which causes it (I didn't find any other way to do that). By the way, Intel® Graphics Command Center on Windows also has an option to enable/disable "Dynamic Refresh Rate Switching" (https://www.intel.com/content/www/us/en/support/articles/57188/graphics.html). ** Bug watch added: freedesktop.org Bugzilla #91393 https://bugs.freedesktop.org/show_bug.cgi?id=91393 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
Is the patch in upstream Linux? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp
[Kernel-packages] [Bug 1928138] Re: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached]
** Tags added: patch -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1928138 Title: Flickering on built-in display (Intel Haswell graphics) since kernel v4.1 [bisected and workaround attached] Status in Linux: Unknown Status in linux package in Ubuntu: New 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_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. To manage notifications about this bug go to: https://bugs.launchpad.net/linux/+bug/1928138/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp