Bug 101707 - [BAT] pipe C vblank wait timed out when running igt@kms_frontbuffer_tracking@basic
Summary: [BAT] pipe C vblank wait timed out when running igt@kms_frontbuffer_tracking@...
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: Other All
: high critical
Assignee: Mika Kahola
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: ReadyForDev
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-06 11:28 UTC by Martin Peres
Modified: 2017-09-28 18:44 UTC (History)
1 user (show)

See Also:
i915 platform: BSW/CHT
i915 features: display/Other


Attachments

Description Martin Peres 2017-07-06 11:28:33 UTC
On CI_DRM_2805, the machine fi-bsw-n3050 hung when executing igt@kms_frontbuffer_tracking@basic. This is likely due to the following WARNING in the kernel logs.

[  471.074746] pipe C vblank wait timed out
[  471.074919] ------------[ cut here ]------------
[  471.075239] WARNING: CPU: 1 PID: 3725 at drivers/gpu/drm/i915/intel_display.c:12866 intel_atomic_commit_tail+0xf4e/0xf70 [i915]
[  471.078448] Modules linked in: vgem snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic intel_powerclamp coretemp crct10dif_pclmul crc32_pclmul i915 ghash_clmulni_intel snd_hda_intel snd_hda_codec snd_hwdep snd_hda_core snd_pcm r8169 mii lpc_ich i2c_hid prime_numbers i2c_designware_platform i2c_designware_core pinctrl_cherryview
[  471.079068] CPU: 1 PID: 3725 Comm: kms_frontbuffer Tainted: G     U          4.12.0-CI-CI_DRM_2805+ #1
[  471.079097] Hardware name:                  /NUC5CPYB, BIOS PYBSWCEL.86A.0058.2016.1102.1842 11/02/2016
[  471.079127] task: ffff88013f94a600 task.stack: ffffc9000083c000
[  471.079454] RIP: 0010:intel_atomic_commit_tail+0xf4e/0xf70 [i915]
[  471.085478] RSP: 0018:ffffc9000083fac8 EFLAGS: 00010292
[  471.085491] RAX: 000000000000001c RBX: 0000000000000002 RCX: 0000000000000001
[  471.085498] RDX: 0000000080000001 RSI: ffffffff81cbd240 RDI: 00000000ffffffff
[  471.085504] RBP: ffffc9000083fb70 R08: ffff88013f94ae60 R09: 0000000000000000
[  471.085510] R10: 0000000000000000 R11: 0000000000000000 R12: ffff88016cc68000
[  471.085516] R13: 0000000000000430 R14: 0000000000000008 R15: 0000000000000004
[  471.085522] FS:  00007f3269822a40(0000) GS:ffff88017fd00000(0000) knlGS:0000000000000000
[  471.085529] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  471.085535] CR2: 00007f6958f71000 CR3: 000000014a3b2000 CR4: 00000000001006e0
[  471.085541] Call Trace:
[  471.085561]  ? wake_atomic_t_function+0x30/0x30
[  471.085650]  intel_atomic_commit+0x3fb/0x500 [i915]
[  471.085663]  ? drm_atomic_check_only+0x370/0x560
[  471.085671]  ? drm_connector_list_iter_end+0x2f/0x40
[  471.085681]  ? handle_conflicting_encoders+0x270/0x290
[  471.085691]  drm_atomic_commit+0x46/0x50
[  471.085700]  drm_atomic_helper_set_config+0x68/0x90
[  471.085710]  __drm_mode_set_config_internal+0x60/0x110
[  471.085719]  drm_mode_setcrtc+0x3e9/0x5f0
[  471.085746]  drm_ioctl+0x202/0x490
[  471.085753]  ? drm_mode_getcrtc+0x180/0x180
[  471.085774]  ? __do_page_fault+0x29e/0x560
[  471.085785]  do_vfs_ioctl+0x90/0x6d0
[  471.085795]  ? entry_SYSCALL_64_fastpath+0x5/0xb1
[  471.085805]  ? __this_cpu_preempt_check+0x13/0x20
[  471.085814]  ? trace_hardirqs_on_caller+0xe7/0x1c0
[  471.085824]  SyS_ioctl+0x3c/0x70
[  471.085835]  entry_SYSCALL_64_fastpath+0x1c/0xb1
[  471.085842] RIP: 0033:0x7f3267d2bf07
[  471.085848] RSP: 002b:00007ffd87a3b7d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[  471.085860] RAX: ffffffffffffffda RBX: ffffffff81470303 RCX: 00007f3267d2bf07
[  471.085866] RDX: 00007ffd87a3b810 RSI: 00000000c06864a2 RDI: 0000000000000003
[  471.085872] RBP: ffffc9000083ff88 R08: 0000000000000000 R09: 000000000065c984
[  471.085878] R10: 00000000024b7d20 R11: 0000000000000246 R12: 0000000000000000
[  471.085884] R13: 0000000000000003 R14: 00000000c06864a2 R15: 0000000000000003
[  471.085894]  ? __this_cpu_preempt_check+0x13/0x20
[  471.085908] Code: ff ff ff 48 83 c7 08 e8 d1 b6 f7 e0 4c 8b 85 78 ff ff ff 4d 85 c0 0f 85 d4 fd ff ff 8d 73 41 48 c7 c7 a0 13 22 a0 e8 0b 8a 02 e1 <0f> ff e9 be fd ff ff 8d 70 41 48 c7 c7 70 13 22 a0 e8 f5 89 02 
[  471.089248] ---[ end trace ac67ed0bfd283b5b ]---

Full logs: https://intel-gfx-ci.01.org/CI/CI_DRM_2805/fi-bsw-n3050/igt@kms_frontbuffer_tracking@basic.html
Comment 1 Hector Velazquez 2017-07-31 19:24:30 UTC
The following tests PASS on BSW with this configuration

Tests List:

igt@kms_frontbuffer_tracking@basic



This is my configuration:

**************************************************************
* * * * * * * * HARDWARE SPECIFICATIONS * * * * * * * * * * * 
**************************************************************

==============================================================
Essentials
==============================================================
Processor Number			N3700
Status					Launched
Launch Date				Q1'15
Lithography				14 nm


==============================================================
Performance
==============================================================
# of Cores				4
# of Threads				4
Processor Base Frequency		1.60 GHz
Burst Frequency				2.40 GHz
Cache					2 MB L2
TDP					6 W
Scenario Design Power (SDP)		4 W

==============================================================
Memory Specifications
==============================================================
Max Memory Size 			8 GB
Memory Types				DDR3L-1600
Max # of Memory Channels		2
ECC Memory Supported  			No

==============================================================
Graphics Specifications
==============================================================
Processor Graphics 			Intel® HD Graphics
Graphics Base Frequency			400.00 MHz
Graphics Burst Frequency		700.00 MHz
Graphics Video Max Memory		8 GB
Graphics Output				eDP/DP/HDMI
Execution Units				16
DirectX* Support			Yes
OpenGL* Support				Yes
Intel® Quick Sync Video 		Yes
Intel® InTru™ 3D Technology		No
Intel® Clear Video HD Technology	Yes
Intel® Clear Video Technology		Yes
Intel® Wireless Display 		Yes
# of Displays Supported 		3


====================================================
Graphic Stack
====================================================

Component: drm
    tag: libdrm-2.4.81-33-g3876bc2
    commit: 3876bc246a07070a6043159cd7623d4def9bbd4c

Component: cairo
    tag: 1.15.6-2-g57b4050
    commit: 57b40507dda3f58dfc8635548d606b86dc7bcf51

Component: intel-gpu-tools
    tag: intel-gpu-tools-1.19-112-g493151b
    commit: 493151b0768aa4ca535cef49cb7efa174a9c3a77

Component: piglit
    tag: piglit-v1
    commit: 973892687cf5c2f8e2dbe1d22998b82736643787
Comment 2 Martin Peres 2017-07-31 22:05:24 UTC
How many times did you run the test? With which tests before?

So far, it seems like we could only reproduce this bug once in 83 runs[1]. I would need to check on the pre-merge results to see if this bug has been caught there, but it gives you an idea that you will need to execute IGT way more often than once to actually catch this bug. 

But seriously, no need to try to reproduce [BAT] bug reports, we have all the data possible for developers to act on this.

[1] https://intel-gfx-ci.01.org/cibuglog/index.html%3Faction_failures_history=-1&failures_test=igt@kms_frontbuffer_tracking@basic&failures_machine=fi-bsw-n3050.html
Comment 3 Elizabeth 2017-08-01 15:04:58 UTC
(In reply to Martin Peres from comment #2)
>...But seriously, no need to try to reproduce [BAT] bug reports, we have all
> the data possible for developers to act on this.
Thank you for the information Martin.
Comment 5 Jani Saarinen 2017-09-15 05:47:06 UTC
Here is history data:
https://intel-gfx-ci.01.org/cibuglog/index.html%3Faction_failures_history=181.html
Comment 6 Jari Tahvanainen 2017-09-25 07:09:27 UTC
Moving high since being sporadic: CI_DRM_3011: 2017-08-28 / 114 runs ago, with result 'incomplete', failure rate of 2 / 300 runs (1 %)
Comment 7 Jani Saarinen 2017-09-28 18:44:28 UTC
AH. One month gone. Lets resolve.


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.