Bug 90665 - output probing flickers display [GM45]
Summary: output probing flickers display [GM45]
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-26 15:56 UTC by Martin Bednar
Modified: 2016-10-10 11:43 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg before suspending laptop (501.78 KB, text/plain)
2015-06-01 18:28 UTC, Martin Bednar
no flags Details
dmesg after one suspend/resume cycle (suspended around second 243) (502.09 KB, text/plain)
2015-06-01 18:30 UTC, Martin Bednar
no flags Details
dmesg complete from boot. (1.97 MB, text/plain)
2015-06-02 08:20 UTC, Martin Bednar
no flags Details

Description Martin Bednar 2015-05-26 15:56:19 UTC
I might be reportung two bugs simultaneously, not sure.

After resume, sometimes I get a Pipe A underrun error. IMO this is connected to qt5 apps probing for connected displays at every startup and resume. 
As a bonus this makes the display hang and flicker at every qt5 application start.

[41331.035174] WARNING: CPU: 1 PID: 7083 at drivers/gpu/drm/drm_irq.c:1121 drm_wait_one_vblank+0x190/0x1a0 [drm]()
[41331.035177] vblank not available on crtc 1, ret=-22
[41331.035180] Modules linked in: ctr ccm bnep bluetooth crc16 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media arc4 joydev mousedev iwldvm mac80211 iTCO_wdt acer_wmi iTCO_vendor_support sparse_keymap led_class snd_hda_codec_hdmi snd_hda_codec_realtek psmouse snd_hda_codec_generic wl(PO) ip6t_REJECT nf_reject_ipv6 evdev nf_log_ipv6 snd_hda_intel i915 snd_hda_controller mac_hid snd_hda_codec serio_raw iwlwifi drm_kms_helper snd_hwdep cfg80211 drm snd_pcm i2c_i801 rfkill i2c_algo_bit snd_timer i2c_core snd atl1c lpc_ich soundcore shpchp wmi intel_agp battery button intel_gtt dell_smo8800 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack
[41331.035262]  ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack_irc nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon cpufreq_powersave acpi_cpufreq vhba(O) thermal ac video processor sbs sbshc fan crc32c_generic btrfs xor raid6_pq sd_mod hid_multitouch usbhid hid atkbd libps2 ahci libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common i8042 serio
[41331.035318] CPU: 1 PID: 7083 Comm: Xorg.bin Tainted: P        W IO   3.19.4-1-CHAKRA #1
[41331.035321] Hardware name: Packard Bell ENBFT/SJM12-MS, BIOS v1.3108 11/02/2009
[41331.035324]  0000000000000000 00000000e314bdff ffff88008716f718 ffffffff8158300d
[41331.035330]  0000000000000000 ffff88008716f770 ffff88008716f758 ffffffff81074dba
[41331.035335]  ffff88008716f778 ffff8800b2320000 ffff8800b1a21000 0000000000000001
[41331.035341] Call Trace:
[41331.035351]  [<ffffffff8158300d>] dump_stack+0x4c/0x6e
[41331.035359]  [<ffffffff81074dba>] warn_slowpath_common+0x8a/0xc0
[41331.035365]  [<ffffffff81074e45>] warn_slowpath_fmt+0x55/0x70
[41331.035385]  [<ffffffffa04540e0>] drm_wait_one_vblank+0x190/0x1a0 [drm]
[41331.035425]  [<ffffffffa060cfff>] ? gen4_read32+0x4f/0xd0 [i915]
[41331.035466]  [<ffffffffa0661635>] intel_enable_tv+0x25/0x60 [i915]
[41331.035501]  [<ffffffffa062aebb>] i9xx_crtc_enable+0x3fb/0x4b0 [i915]
[41331.035537]  [<ffffffffa0629432>] __intel_set_mode+0x8a2/0xca0 [i915]
[41331.035573]  [<ffffffffa062f08c>] intel_set_mode+0x7c/0xc0 [i915]
[41331.035608]  [<ffffffffa061ab0c>] ? intel_framebuffer_init+0x31c/0x440 [i915]
[41331.035643]  [<ffffffffa062f356>] intel_get_load_detect_pipe+0x286/0x620 [i915]
[41331.035684]  [<ffffffffa0662234>] intel_tv_detect+0x134/0x5c0 [i915]
[41331.035691]  [<ffffffff810df310>] ? migrate_timer_list+0xd0/0xd0
[41331.035708]  [<ffffffffa04a1bf3>] drm_helper_probe_single_connector_modes_merge_bits+0x303/0x460 [drm_kms_helper]
[41331.035719]  [<ffffffffa04a1d63>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[41331.035744]  [<ffffffffa04603bf>] drm_mode_getconnector+0x43f/0x4b0 [drm]
[41331.035762]  [<ffffffffa0451cef>] drm_ioctl+0x1df/0x680 [drm]
[41331.035769]  [<ffffffff810804c7>] ? recalc_sigpending+0x17/0x60
[41331.035777]  [<ffffffff811ede38>] do_vfs_ioctl+0x2f8/0x500
[41331.035783]  [<ffffffff810850a8>] ? restore_altstack+0x18/0x30
[41331.035788]  [<ffffffff811ee0c1>] SyS_ioctl+0x81/0xa0
[41331.035794]  [<ffffffff8158898d>] system_call_fastpath+0x16/0x1b
[41331.035798] ---[ end trace 3e070c7deaca9f8e ]---
[41331.035845] [drm:i9xx_check_fifo_underruns [i915]] *ERROR* pipe A underrun
[41331.052774] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[41331.249791] ------------[ cut here ]------------
[41331.249829] WARNING: CPU: 0 PID: 7083 at drivers/gpu/drm/drm_irq.c:1121 drm_wait_one_vblank+0x190/0x1a0 [drm]()
[41331.249833] vblank not available on crtc 1, ret=-22
[41331.249836] Modules linked in: ctr ccm bnep bluetooth crc16 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media arc4 joydev mousedev iwldvm mac80211 iTCO_wdt acer_wmi iTCO_vendor_support sparse_keymap led_class snd_hda_codec_hdmi snd_hda_codec_realtek psmouse snd_hda_codec_generic wl(PO) ip6t_REJECT nf_reject_ipv6 evdev nf_log_ipv6 snd_hda_intel i915 snd_hda_controller mac_hid snd_hda_codec serio_raw iwlwifi drm_kms_helper snd_hwdep cfg80211 drm snd_pcm i2c_i801 rfkill i2c_algo_bit snd_timer i2c_core snd atl1c lpc_ich soundcore shpchp wmi intel_agp battery button intel_gtt dell_smo8800 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack
[41331.249918]  ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack_irc nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon cpufreq_powersave acpi_cpufreq vhba(O) thermal ac video processor sbs sbshc fan crc32c_generic btrfs xor raid6_pq sd_mod hid_multitouch usbhid hid atkbd libps2 ahci libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common i8042 serio
[41331.249976] CPU: 0 PID: 7083 Comm: Xorg.bin Tainted: P        W IO   3.19.4-1-CHAKRA #1
[41331.249979] Hardware name: Packard Bell ENBFT/SJM12-MS, BIOS v1.3108 11/02/2009
[41331.249982]  0000000000000000 00000000e314bdff ffff88008716f718 ffffffff8158300d
[41331.249988]  0000000000000000 ffff88008716f770 ffff88008716f758 ffffffff81074dba
[41331.249993]  ffff88008716f778 ffff8800b2320000 ffff8800b1a21000 0000000000000001
[41331.249999] Call Trace:
[41331.250009]  [<ffffffff8158300d>] dump_stack+0x4c/0x6e
[41331.250017]  [<ffffffff81074dba>] warn_slowpath_common+0x8a/0xc0
[41331.250023]  [<ffffffff81074e45>] warn_slowpath_fmt+0x55/0x70
[41331.250042]  [<ffffffffa04540e0>] drm_wait_one_vblank+0x190/0x1a0 [drm]
[41331.250083]  [<ffffffffa060cfff>] ? gen4_read32+0x4f/0xd0 [i915]
[41331.250124]  [<ffffffffa0661635>] intel_enable_tv+0x25/0x60 [i915]
[41331.250159]  [<ffffffffa062aebb>] i9xx_crtc_enable+0x3fb/0x4b0 [i915]
[41331.250195]  [<ffffffffa0629432>] __intel_set_mode+0x8a2/0xca0 [i915]
[41331.250231]  [<ffffffffa062f08c>] intel_set_mode+0x7c/0xc0 [i915]
[41331.250266]  [<ffffffffa061ab0c>] ? intel_framebuffer_init+0x31c/0x440 [i915]
[41331.250301]  [<ffffffffa062f356>] intel_get_load_detecton resume, every time. Make Qt5 apps flicker unnicely.
[41331.035174] WARNING: CPU: 1 PID: 7083 at drivers/gpu/drm/drm_irq.c:1121 drm_wait_one_vblank+0x190/0x1a0 [drm]()
[41331.035177] vblank not available on crtc 1, ret=-22
[41331.035180] Modules linked in: ctr ccm bnep bluetooth crc16 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media arc4 joydev mousedev iwldvm mac80211 iTCO_wdt acer_wmi iTCO_vendor_support sparse_keymap led_class snd_hda_codec_hdmi snd_hda_codec_realtek psmouse snd_hda_codec_generic wl(PO) ip6t_REJECT nf_reject_ipv6 evdev nf_log_ipv6 snd_hda_intel i915 snd_hda_controller mac_hid snd_hda_codec serio_raw iwlwifi drm_kms_helper snd_hwdep cfg80211 drm snd_pcm i2c_i801 rfkill i2c_algo_bit snd_timer i2c_core snd atl1c lpc_ich soundcore shpchp wmi intel_agp battery button intel_gtt dell_smo8800 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack
[41331.035262]  ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack_irc nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon cpufreq_powersave acpi_cpufreq vhba(O) thermal ac video processor sbs sbshc fan crc32c_generic btrfs xor raid6_pq sd_mod hid_multitouch usbhid hid atkbd libps2 ahci libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common i8042 serio
[41331.035318] CPU: 1 PID: 7083 Comm: Xorg.bin Tainted: P        W IO   3.19.4-1-CHAKRA #1
[41331.035321] Hardware name: Packard Bell ENBFT/SJM12-MS, BIOS v1.3108 11/02/2009
[41331.035324]  0000000000000000 00000000e314bdff ffff88008716f718 ffffffff8158300d
[41331.035330]  0000000000000000 ffff88008716f770 ffff88008716f758 ffffffff81074dba
[41331.035335]  ffff88008716f778 ffff8800b2320000 ffff8800b1a21000 0000000000000001
[41331.035341] Call Trace:
[41331.035351]  [<ffffffff8158300d>] dump_stack+0x4c/0x6e
[41331.035359]  [<ffffffff81074dba>] warn_slowpath_common+0x8a/0xc0
[41331.035365]  [<ffffffff81074e45>] warn_slowpath_fmt+0x55/0x70
[41331.035385]  [<ffffffffa04540e0>] drm_wait_one_vblank+0x190/0x1a0 [drm]
[41331.035425]  [<ffffffffa060cfff>] ? gen4_read32+0x4f/0xd0 [i915]
[41331.035466]  [<ffffffffa0661635>] intel_enable_tv+0x25/0x60 [i915]
[41331.035501]  [<ffffffffa062aebb>] i9xx_crtc_enable+0x3fb/0x4b0 [i915]
[41331.035537]  [<ffffffffa0629432>] __intel_set_mode+0x8a2/0xca0 [i915]
[41331.035573]  [<ffffffffa062f08c>] intel_set_mode+0x7c/0xc0 [i915]
[41331.035608]  [<ffffffffa061ab0c>] ? intel_framebuffer_init+0x31c/0x440 [i915]
[41331.035643]  [<ffffffffa062f356>] intel_get_load_detect_pipe+0x286/0x620 [i915]
[41331.035684]  [<ffffffffa0662234>] intel_tv_detect+0x134/0x5c0 [i915]
[41331.035691]  [<ffffffff810df310>] ? migrate_timer_list+0xd0/0xd0
[41331.035708]  [<ffffffffa04a1bf3>] drm_helper_probe_single_connector_modes_merge_bits+0x303/0x460 [drm_kms_helper]
[41331.035719]  [<ffffffffa04a1d63>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[41331.035744]  [<ffffffffa04603bf>] drm_mode_getconnector+0x43f/0x4b0 [drm]
[41331.035762]  [<ffffffffa0451cef>] drm_ioctl+0x1df/0x680 [drm]
[41331.035769]  [<ffffffff810804c7>] ? recalc_sigpending+0x17/0x60
[41331.035777]  [<ffffffff811ede38>] do_vfs_ioctl+0x2f8/0x500
[41331.035783]  [<ffffffff810850a8>] ? restore_altstack+0x18/0x30
[41331.035788]  [<ffffffff811ee0c1>] SyS_ioctl+0x81/0xa0
[41331.035794]  [<ffffffff8158898d>] system_call_fastpath+0x16/0x1b
[41331.035798] ---[ end trace 3e070c7deaca9f8e ]---
[41331.035845] [drm:i9xx_check_fifo_underruns [i915]] *ERROR* pipe A underrun
[41331.052774] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[41331.249791] ------------[ cut here ]------------


[41331.249829] WARNING: CPU: 0 PID: 7083 at drivers/gpu/drm/drm_irq.c:1121 drm_wait_one_vblank+0x190/0x1a0 [drm]()
[41331.249833] vblank not available on crtc 1, ret=-22
[41331.249836] Modules linked in: ctr ccm bnep bluetooth crc16 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core v4l2_common videodev media arc4 joydev mousedev iwldvm mac80211 iTCO_wdt acer_wmi iTCO_vendor_support sparse_keymap led_class snd_hda_codec_hdmi snd_hda_codec_realtek psmouse snd_hda_codec_generic wl(PO) ip6t_REJECT nf_reject_ipv6 evdev nf_log_ipv6 snd_hda_intel i915 snd_hda_controller mac_hid snd_hda_codec serio_raw iwlwifi drm_kms_helper snd_hwdep cfg80211 drm snd_pcm i2c_i801 rfkill i2c_algo_bit snd_timer i2c_core snd atl1c lpc_ich soundcore shpchp wmi intel_agp battery button intel_gtt dell_smo8800 xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT nf_reject_ipv4 nf_log_ipv4 nf_log_common xt_LOG xt_limit xt_tcpudp xt_addrtype nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack
[41331.249918]  ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack_irc nf_conntrack iptable_filter ip_tables x_tables sch_fq_codel coretemp hwmon cpufreq_powersave acpi_cpufreq vhba(O) thermal ac video processor sbs sbshc fan crc32c_generic btrfs xor raid6_pq sd_mod hid_multitouch usbhid hid atkbd libps2 ahci libahci libata scsi_mod ehci_pci uhci_hcd ehci_hcd usbcore usb_common i8042 serio
[41331.249976] CPU: 0 PID: 7083 Comm: Xorg.bin Tainted: P        W IO   3.19.4-1-CHAKRA #1
[41331.249979] Hardware name: Packard Bell ENBFT/SJM12-MS, BIOS v1.3108 11/02/2009
[41331.249982]  0000000000000000 00000000e314bdff ffff88008716f718 ffffffff8158300d
[41331.249988]  0000000000000000 ffff88008716f770 ffff88008716f758 ffffffff81074dba
[41331.249993]  ffff88008716f778 ffff8800b2320000 ffff8800b1a21000 0000000000000001
[41331.249999] Call Trace:
[41331.250009]  [<ffffffff8158300d>] dump_stack+0x4c/0x6e
[41331.250017]  [<ffffffff81074dba>] warn_slowpath_common+0x8a/0xc0
[41331.250023]  [<ffffffff81074e45>] warn_slowpath_fmt+0x55/0x70
[41331.250042]  [<ffffffffa04540e0>] drm_wait_one_vblank+0x190/0x1a0 [drm]
[41331.250083]  [<ffffffffa060cfff>] ? gen4_read32+0x4f/0xd0 [i915]
[41331.250124]  [<ffffffffa0661635>] intel_enable_tv+0x25/0x60 [i915]
[41331.250159]  [<ffffffffa062aebb>] i9xx_crtc_enable+0x3fb/0x4b0 [i915]
[41331.250195]  [<ffffffffa0629432>] __intel_set_mode+0x8a2/0xca0 [i915]
[41331.250231]  [<ffffffffa062f08c>] intel_set_mode+0x7c/0xc0 [i915]
[41331.250266]  [<ffffffffa061ab0c>] ? intel_framebuffer_init+0x31c/0x440 [i915]
[41331.250301]  [<ffffffffa062f356>] intel_get_load_detect_pipe+0x286/0x620 [i915]
[41331.250342]  [<ffffffffa0662234>] intel_tv_detect+0x134/0x5c0 [i915]
[41331.250358]  [<ffffffffa04a1bf3>] drm_helper_probe_single_connector_modes_merge_bits+0x303/0x460 [drm_kms_helper]
[41331.250370]  [<ffffffffa04a1d63>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[41331.250394]  [<ffffffffa04603bf>] drm_mode_getconnector+0x43f/0x4b0 [drm]
[41331.250401]  [<ffffffff810e1565>] ? __hrtimer_start_range_ns+0x1f5/0x420
[41331.250419]  [<ffffffffa0451cef>] drm_ioctl+0x1df/0x680 [drm]
[41331.250425]  [<ffffffff810804c7>] ? recalc_sigpending+0x17/0x60
[41331.250434]  [<ffffffff811ede38>] do_vfs_ioctl+0x2f8/0x500
[41331.250440]  [<ffffffff810850a8>] ? restore_altstack+0x18/0x30
[41331.250444]  [<ffffffff811ee0c1>] SyS_ioctl+0x81/0xa0
[41331.250451]  [<ffffffff8158898d>] system_call_fastpath+0x16/0x1b
[41331.250455] ---[ end trace 3e070c7deaca9f8f ]---
_pipe+0x286/0x620 [i915]
[41331.250342]  [<ffffffffa0662234>] intel_tv_detect+0x134/0x5c0 [i915]
[41331.250358]  [<ffffffffa04a1bf3>] drm_helper_probe_single_connector_modes_merge_bits+0x303/0x460 [drm_kms_helper]
[41331.250370]  [<ffffffffa04a1d63>] drm_helper_probe_single_connector_modes+0x13/0x20 [drm_kms_helper]
[41331.250394]  [<ffffffffa04603bf>] drm_mode_getconnector+0x43f/0x4b0 [drm]
[41331.250401]  [<ffffffff810e1565>] ? __hrtimer_start_range_ns+0x1f5/0x420
[41331.250419]  [<ffffffffa0451cef>] drm_ioctl+0x1df/0x680 [drm]
[41331.250425]  [<ffffffff810804c7>] ? recalc_sigpending+0x17/0x60
[41331.250434]  [<ffffffff811ede38>] do_vfs_ioctl+0x2f8/0x500
[41331.250440]  [<ffffffff810850a8>] ? restore_altstack+0x18/0x30
[41331.250444]  [<ffffffff811ee0c1>] SyS_ioctl+0x81/0xa0
[41331.250451]  [<ffffffff8158898d>] system_call_fastpath+0x16/0x1b
[41331.250455] ---[ end trace 3e070c7deaca9f8f ]---
Comment 1 Jani Nikula 2015-06-01 08:12:04 UTC
Please attach full dmesg (from boot) with drm.debug=14 module parameter set.
Comment 2 Martin Bednar 2015-06-01 18:28:42 UTC
Created attachment 116212 [details]
dmesg before suspending laptop
Comment 3 Martin Bednar 2015-06-01 18:30:56 UTC
Created attachment 116213 [details]
dmesg after one suspend/resume cycle (suspended around second 243)
Comment 4 Jani Nikula 2015-06-02 07:07:47 UTC
Please ensure the dmesgs cover everything from boot. Add log_buf_len=4M or similar as needed.
Comment 5 Martin Bednar 2015-06-02 08:20:35 UTC
Created attachment 116232 [details]
dmesg complete from boot.

Of interest might be time    92.729763 where a PIPE A underrun occurs.
Comment 6 Jani Nikula 2015-06-02 10:08:10 UTC
Presumed fixed by 

commit d5d51dd4db1cc56b72266651c5c37b31088fe862
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Wed Jan 7 13:54:39 2015 +0100

    drm/i915: Push vblank enable/disable past encoder->enable/disable

    commit f9b61ff6bce9a44555324b29e593fdffc9a115bc upstream.

in v3.19.5.

Please upgrade to v3.19.5 or later. Please reopen if the problem persists with the new kernels. Thanks for the report.
Comment 7 Jani Nikula 2015-06-02 10:08:42 UTC
Also, dupe of bug 89108.
Comment 8 Martin Bednar 2015-06-04 13:23:42 UTC
Asked my distro to upgrade kernel (don't have time to do it myself). Will report back.
Comment 9 Jari Tahvanainen 2016-10-10 11:43:40 UTC
Closing as duplicate of closed+fixed.


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.