Bug 105680

Summary: [CI] igt@kms_frontbuffer_tracking@* - fail - FBC disabled: mode too large for compression
Product: DRI Reporter: Marta Löfstedt <marta.lofstedt>
Component: IGTAssignee: Jose Roberto de Souza <jose.souza>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: medium CC: intel-gfx-bugs, jose.souza
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard: ReadyForDev
i915 platform: SKL i915 features: display/FBC

Description Marta Löfstedt 2018-03-22 07:17:04 UTC
(kms_frontbuffer_tracking:1604) WARNING: fbc_is_enabled()?
FBC disabled: mode too large for compression
(kms_frontbuffer_tracking:1604) CRITICAL: Test assertion failure function do_status_assertions, file ../tests/kms_frontbuffer_tracking.c:1748:
(kms_frontbuffer_tracking:1604) CRITICAL: Failed assertion: fbc_is_enabled(IGT_LOG_WARN)
(kms_frontbuffer_tracking:1604) CRITICAL: FBC disabled
Subtest fbc-2p-scndscrn-pri-shrfb-draw-mmap-wc failed.

https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-mmap-wc.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-pgflip-blt.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-mmap-cpu.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-shrfb-msflip-blt.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-pri-shrfb-draw-pwrite.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-pri-shrfb-draw-pwrite.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-1p-offscren-pri-shrfb-draw-mmap-wc.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-1p-shrfb-fliptrack.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-2p-shrfb-fliptrack.html
https://intel-gfx-ci.01.org/tree/drm-tip/drmtip_5/fi-skl-6770hq/igt@kms_frontbuffer_tracking@fbc-1p-primscrn-shrfb-plflip-blt.html

check cibuglog impact and or https://intel-gfx-ci.01.org/tree/drm-tip/drmtip.html for the full links.
Comment 1 Marta Löfstedt 2018-03-29 08:51:42 UTC
from comment 59 in bug 101623:

"Please go to the BIOS of the machine and increase the amount of stolen memory.

Thanks,
Paulo "
Comment 2 Marta Löfstedt 2018-03-29 08:52:38 UTC
changing component to IGT, although this need update in intel CI system HW.
Comment 3 Jani Saarinen 2018-03-29 13:59:10 UTC
From Tomi:
"SKL-6770hq BIOS settings 
Graphics minimum memory 64MB -> 256MB, 
Graphics mem aperture 256MB -> 1024MB

Hopefully helps.
Comment 4 Jose Roberto de Souza 2018-03-29 19:40:05 UTC
This one is not related to memory, it is because the resolution is bigger than the resolution that hardware track can handle, so there is not fix for those.
You can run this tests with "--use-small-modes" to avoid those errors.
Comment 5 Marta Löfstedt 2018-04-04 08:24:13 UTC
(In reply to Jose Roberto de Souza from comment #4)
> This one is not related to memory, it is because the resolution is bigger
> than the resolution that hardware track can handle, so there is not fix for
> those.
> You can run this tests with "--use-small-modes" to avoid those errors.

We can not have arguments on cmd line when running on CI. The test need to be fixed.
Comment 6 Jose Roberto de Souza 2018-04-04 20:34:00 UTC
Done: https://patchwork.freedesktop.org/series/41156/
Comment 7 Marta Löfstedt 2018-04-05 05:38:31 UTC
(In reply to Jose Roberto de Souza from comment #6)
> Done: https://patchwork.freedesktop.org/series/41156/

Thanks for the patch, we'll need a drmtip run to see if it works, since the affected machine doesn't run those test on regular basis in BAT.
Comment 8 Jose Roberto de Souza 2018-04-11 17:31:11 UTC
Hi Marta did it ran? Should I ask someone else to review and merge?
Comment 9 Marta Löfstedt 2018-04-12 07:58:29 UTC
(In reply to Jose Roberto de Souza from comment #8)
> Hi Marta did it ran? Should I ask someone else to review and merge?

yes, the results from drmtip17 is in, and the issue isn't reproduced thanks for the fix I will close this bug.
Comment 11 Jose Roberto de Souza 2018-04-12 16:12:22 UTC
But this tests ran with my patch merged into IGT? I don`t think that it happened.
Comment 12 Marta Löfstedt 2018-04-13 05:37:30 UTC
(In reply to Jose Roberto de Souza from comment #11)
> But this tests ran with my patch merged into IGT? I don`t think that it
> happened.

I'll set the bug to resolved fix again so it can be checked on next drmtip run
Comment 13 Marta Löfstedt 2018-04-16 11:01:48 UTC
The discussed patch is not merged yet. Please changed the bug to resolved/fixed when that patch is merged.
Comment 14 Jose Roberto de Souza 2018-04-20 21:55:10 UTC
Fix merged in IGT
Comment 15 Lakshmi 2018-08-24 07:08:39 UTC
Closed as this was not seen since few months (4). This issue can be reopened only if we see similar failure. Orelse need to check if there is a similar bug filed already, if not create a new bug.
Comment 16 Lakshmi 2018-08-27 07:53:16 UTC
Used to be reproduced on drmtip every round. Now it was not seen since ~70 rounds rounds. CLosing the bug.

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.