Bug 98583

Summary: [HSW] eDP laptop display flicker with PSR, Intel 915
Product: DRI Reporter: Alex Dănilă <nuorama>
Component: DRM/IntelAssignee: Jim Bride <jim.bride>
Status: CLOSED DUPLICATE QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs, przanoni
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: HSW i915 features: display/PSR
Attachments:
Description Flags
/sys/kernel/debug/dri/0/i915_vbt
none
/sys/kernel/debug/dri/0/i915_opregion none

Description Alex Dănilă 2016-11-03 23:08:44 UTC
Created attachment 127742 [details]
/sys/kernel/debug/dri/0/i915_vbt

Following upgrade from Debian kernel 4.3 to 4.8 the laptop's display started to flicker every couple of minutes. It starts right after the native resolution is set during boot, continues for 2-3 minutes, then stops for other 3-5 minutes. This the repeats continuously. This flicker is especially obvious on darker portions of the displayed image, while on red/orange/white I can't seem to notice it.

Changing resolution in System Settings has no effect, but changing the refresh rate (options are: auto, 59.93, 59.95, 60.01) does stop it sometimes. The external display doesn't flicker.

Details:
Computer: 20C60073RI (LENOVO_MT_20C6_BU_Think_FM_ThinkPad Edge E540)

uname -a
Linux debian 4.8.0-1-amd64 #1 SMP Debian 4.8.5-1 (2016-10-28) x86_64 GNU/Linux

xrandr:
Screen 0: minimum 320 x 200, current 3968 x 1152, maximum 8192 x 8192
eDP-1 connected 1920x1080+2048+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1920x1080     60.01 +  59.93* 
   1680x1050     59.95    59.88  
   1600x1024     60.17  
   1400x1050     59.98  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1360x768      59.80    59.96  
   1152x864      60.00  
   1024x768      60.04    60.00  
   960x720       60.00  
   928x696       60.05  
   896x672       60.01  
   960x600       60.00  
   960x540       59.99  
   800x600       60.00    60.32    56.25  
   840x525       60.01    59.88  
   800x512       60.17  
   700x525       59.98  
   640x512       60.02  
   720x450       59.89  
   640x480       60.00    59.94  
   680x384       59.80    59.96  
   576x432       60.06  
   512x384       60.00  
   400x300       60.32    56.34  
   320x240       60.05  
VGA-1 connected primary 2048x1152+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
   2048x1152     59.91*+
   1680x1050     59.95  
   1280x1024     60.02  
   1440x900      59.89  
   1280x960      60.00  
   1280x800      59.81  
   1024x768      60.00  
   800x600       60.32    56.25  
   640x480       59.94  
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)


lsmod | grep -i 'video\|i915'
uvcvideo               90112  0
videobuf2_vmalloc      16384  1 uvcvideo
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         24576  1 uvcvideo
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
videodev              176128  3 uvcvideo,videobuf2_core,videobuf2_v4l2
media                  40960  2 uvcvideo,videodev
i915                 1282048  58
drm_kms_helper        155648  1 i915
drm                   360448  18 i915,drm_kms_helper
i2c_algo_bit           16384  1 i915
video                  40960  2 thinkpad_acpi,i915
button                 16384  1 i915
usbcore               249856  7 uvcvideo,usbhid,ehci_hcd,xhci_pci,btusb,xhci_hcd,ehci_pci


Also attached i915_opregion and i915_vbt, as I see was requested in similar bug #91393
Comment 1 Alex Dănilă 2016-11-03 23:10:12 UTC
Created attachment 127743 [details]
/sys/kernel/debug/dri/0/i915_opregion
Comment 2 Jani Nikula 2016-11-04 09:55:55 UTC
Please try i915.enable_fbc=0 and i915.enable_psr=0 module parameters. Try one at a time and see if either helps.
Comment 3 Alex Dănilă 2016-11-04 21:11:17 UTC
Hi,

enable_fbc was already set to 0
enable_psr=0 seems to have fixed it

Thank you,
Alex
Comment 4 Elizabeth 2017-07-26 19:13:11 UTC

*** This bug has been marked as a duplicate of bug 96916 ***

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.