Bug 105493

Summary: [IGT] some kms_cursor_* tests has a dmesg warn *ERROR* CPU pipe A|B FIFO underrun
Product: DRI Reporter: Hector Velazquez <hector.franciscox.velazquez.suriano>
Component: DRM/IntelAssignee: Intel GFX Bugs mailing list <intel-gfx-bugs>
Status: RESOLVED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: DRI git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: CFL, CNL, GLK i915 features: display/Other
Bug Depends on:    
Bug Blocks: 105980    
Attachments:
Description Flags
dmesg -w -H
none
kernel log
none
dmesg -w -H (GLK)
none
dmesg_fifo none

Description Hector Velazquez 2018-03-13 22:09:19 UTC
Created attachment 138079 [details]
dmesg -w -H

This test has dmesg-warn on CNL QA

Test List

igt@kms_cursor_crc@cursor-256x256-rapid-movement

======================================
        output
======================================
- - -
======================================
        dmesg-warn sample
======================================
. . .
[  +0.000069] [drm:audio_config_hdmi_pixel_clock [i915]] Configuring HDMI audio for pixel clock 25200 (0x00010000)
[  +0.000066] [drm:hsw_audio_config_update [i915]] using automatic N
[  +0.014382] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[  +0.002288] [drm:verify_connector_state.isra.115 [i915]] [CONNECTOR:101:eDP-1]
[  +0.000072] [drm:intel_atomic_commit_tail [i915]] [CRTC:51:pipe A]
[  +0.000076] [drm:verify_single_dpll_state.isra.116 [i915]] DPLL 0
[  +0.000084] [drm:verify_connector_state.isra.115 [i915]] [CONNECTOR:115:HDMI-A-1]
[  +0.000065] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
[  +0.000050] [drm:intel_atomic_commit_tail [i915]] [CRTC:75:pipe B]
[  +0.000068] [drm:verify_single_dpll_state.isra.116 [i915]] DPLL 1
[  +0.000037] [drm:drm_atomic_state_default_clear] Clearing atomic state 000000007be4b269
. . .
======================================
        Graphic stack
======================================

======================================
             Software
======================================
kernel version              : 4.16.0-rc5-drm-tip-ww11-commit-874b86a+
os version                  : Ubuntu 17.10 artful x86_64
kernel driver               : i915
hardware acceleration       : disabled
swap partition              : enabled on (/dev/nvme0n1p2)
======================================
        Graphic drivers
======================================
modesetting                 : enabled
modesetting compiled for    : 1.19.5 X.Org Video Driver
libdrm                      : 2.4.91
intel-gpu-tools (tag)       : intel-gpu-tools-1.21-208-g89b915f5
intel-gpu-tools (commit)    : 89b915f5
======================================
             Hardware
======================================
motherboard id             : CannonLakeYLPDDR4RVP
cpu information            : Genuine Intel(R) CPU 0000 @ 1.10GHz
gpu card                   : Intel Corporation Device 5a41 (rev 04) (prog-if 00 [VGA controller])
memory ram                 : 7.63 GB
current cd clock frequency : 336000 kHz
maximum cd clock frequency : 528000 kHz
displays connected         : eDP-1 HDMI-A-1
======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.7
guc fw loaded             : fetch NONE, load NONE
guc version wanted        : wanted 0.0, found 0.0
guc version found         : wanted 0.0, found 0.0
======================================
             kernel parameters
======================================
quiet drm.debug=0x1e intel_iommu=igfx_off auto panic=1 nmi_watchdog=panic fsck.repair=yes i915.error_capture=yes i915.alpha_support=1 resume=/dev/nvme0n1p2 fastboot
Comment 1 Hector Velazquez 2018-03-13 22:09:48 UTC
Created attachment 138080 [details]
kernel log
Comment 2 Hector Velazquez 2018-03-14 17:23:31 UTC
This tests has failing on GLK QA 
Tests List:
igt@kms_cursor_legacy@cursorA-vs-flipA-toggle
igt@kms_cursor_legacy@cursorB-vs-flipB-toggle

output:
. . .
- - 
. . .

dmesg sample
. . .
[  596.899198] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe B FIFO underrun
[  596.933106] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe C FIFO underrun
[  597.700004] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
. . .

software:
IGT-Version: 1.22-g89b915f (x86_64) (Linux: 4.16.0-rc5-drm-tip-ww11-commit-62a7da6+ x86_64)
Comment 3 Hector Velazquez 2018-03-14 17:24:58 UTC
Created attachment 138111 [details]
dmesg -w -H (GLK)
Comment 4 Hector Velazquez 2018-03-14 17:31:16 UTC
In comment 2 I wrote: This tests has failing on GLK QA 
and should be wrote: This tests has a dmesg-warn on GLK QA 
sorry about that...
Comment 5 Jani Saarinen 2018-03-29 07:11:27 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 6 Elizabeth 2018-04-13 22:50:42 UTC
Created attachment 138828 [details]
dmesg_fifo

Still valid:

$ : sudo -E ./intel-graphics/intel-gpu-tools/tests/kms_cursor_crc --r cursor-256x256-rapid-movement
IGT-Version: 1.22-g80e4910 (x86_64) (Linux: 4.16.0-rc7-drm-intel-qa-ww15-commit-6b9e85a+ x86_64)
Subtest cursor-256x256-rapid-movement: SUCCESS (4.806s)

$ : cat dmesg_fifo | grep -i fifo
[  +0.000131] [drm:i915_fifo_underrun_reset_write [i915]] Re-arming FIFO underruns on pipe A
[  +0.000268] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
[  +0.000031] [drm:intel_fbc_underrun_work_fn [i915]] Disabling FBC due to FIFO underrun.
[  +0.015276] [drm:intel_cpu_fifo_underrun_irq_handler [i915]] *ERROR* CPU pipe A FIFO underrun
Comment 7 Matt Roper 2019-08-29 18:20:38 UTC
Most of the data here relates to CNL, which is no longer a platform we test (and may have been due to quirks of CNL early hardware rather than software).  There is a report of underruns on GLK reported here, but the recent CI results for those tests are all clean and we don't have a CIbuglog issue entry for this, so I think we can mark this as resolved.

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.